mount: wrong fs type, bad option, bad superblock on xxxxxxxxxxx
Hoy vamos a ver un error que me encontrado al intentar montar un share de Azure: mount: wrong fs type, bad option, bad superblock on xxxxxxxxxxx Cuando crear un file Share en Azure, de forma automática te deja las instrucciones o un script para poder hacer el montaje del share.
1 2 3 4 5 6 7 8 9 10 11 12 |
sudo mkdir /mnt/backupbbdd if [ ! -d "/etc/smbcredentials" ]; then sudo mkdir /etc/smbcredentials fi if [ ! -f "/etc/smbcredentials/fileshare01.cred" ]; then sudo bash -c 'echo "username=fileshare01" >> /etc/smbcredentials/fileshare01.cred' sudo bash -c 'echo "password=lNYsKGKZtTeEeuMRykaO27tNI0jQInd9O2KwRivuanP6dl7E40/44SulaW25pw8NnyBAyA==" >> /etc/smbcredentials/fileshare01.cred' fi sudo chmod 600 /etc/smbcredentials/fileshare01.cred sudo bash -c 'echo "//fileshare01.file.core.windows.net/backupbbdd /mnt/backupbbdd cifs nofail,vers=3.0,credentials=/etc/smbcredentials/fileshare01.cred,dir_mode=0777,file_mode=0777,serverino" >> /etc/fstab' sudo mount -t cifs //fileshare01.file.core.windows.net/backupbbdd /mnt/backupbbdd -o vers=3.0,credentials=/etc/smbcredentials/fileshare01.cred,dir_mode=0777,file_mode=0777,serverino,nosharesock,actimeo=30 |
El problema ha venido … Leer más