[SOLVED] umount: mount disagrees with the fstab

[SOLVED] umount: mount disagrees with the fstab
« kdy: 01. 10. 2010, 09:55:11 »
Č

Vo fstab mám toto:
Kód: [Vybrat]
sshfs#user@host:/var/www /media/mountpoint-pre-usera fuse user,noauto 0 0Keď to namountujem, nautilus sa tvári, že tento fs nie je namountovaný a namountovaný je nejaký úplne iný, ktorý sa nedá umountnúť.
Kód: [Vybrat]
$ umount /media/mountpoint-pre-usera
umount: /media/mountpoint-pre-usera mount disagrees with the fstab
Máte niekto radu?
« Poslední změna: 01. 10. 2010, 12:26:30 od rooobertek »


.

Re: umount: mount disagrees with the fstab
« Odpověď #1 kdy: 01. 10. 2010, 11:10:27 »
fusermount -u

stilett

Re: umount: mount disagrees with the fstab
« Odpověď #2 kdy: 01. 10. 2010, 11:13:08 »
Označil bych to za bug sshfs. Lze ho ale obejít. Do options přidejte parametr fsname s hodnotou shodující se s prvním sloupcem záznamu.

Kód: [Vybrat]
sshfs#user@host:/var/www /media/mountpoint-pre-usera fuse user,noauto,fsname=sshfs#user@host:/var/www 0 0

Když to hlásí tuto chybu, vyplatí se podívat se do /etc/mtab, jak ten záznam vypadá po přimountování.

Re: umount: mount disagrees with the fstab
« Odpověď #3 kdy: 01. 10. 2010, 12:25:39 »
Paráda, díky moc, fsname pomohol. Nautilus je z toho síce ešte stále zmätený, ale aspoň mi to už funguje :) Díky díky díky