FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 12-20-2011, 08:34 PM
Ricardo Catalinas Jiménez
 
Default umount fails with `mount disagrees with the fstab' after updated to filesystem 2011.12-2 on NFS

Following the instructions from arch-announce I did:

$ sudo pacman -S filesystem --force

Everything works fine except when umounting a NFS volume:

$ mount /mnt/anubis
$ umount /mnt/anubis
umount: /mnt/anubis mount disagrees with the fstab

The relevant line from fstab:

anubis:/home/ricardo /mnt/anubis nfs user,noauto 0 0

And from mtab:

anubis:/home/ricardo/ /mnt/anubis nfs rw,nosuid,nodev,noexec,relatime,
vers=3,rsize=32768,wsize=32768,namlen=255,hard,pro to=tcp,timeo=600,
retrans=2,sec=sys,mountaddr=192.168.1.1,mountvers= 3,mountport=33441,
mountproto=udp,local_lock=none,addr=192.168.1.1 0 0

Anyone having troubles with NFS and the new mtab?


Regards
--
Ricardo (http://r.untroubled.be/)
 
Old 12-20-2011, 08:49 PM
Tom Gundersen
 
Default umount fails with `mount disagrees with the fstab' after updated to filesystem 2011.12-2 on NFS

Hi Ricardo,

On Tue, Dec 20, 2011 at 10:34 PM, Ricardo Catalinas Jiménez
<jimenezrick@gmail.com> wrote:
> Everything works fine except when umounting a NFS volume:
>
> * * * *$ mount /mnt/anubis
> * * * *$ umount /mnt/anubis
> * * * *umount: /mnt/anubis mount disagrees with the fstab
>
> The relevant line from fstab:
>
> anubis:/home/ricardo * /mnt/anubis * nfs * * * user,noauto * *0 0
>
> And from mtab:
>
> anubis:/home/ricardo/ /mnt/anubis nfs rw,nosuid,nodev,noexec,relatime,

Does appening "/" to the device in fstab (i.e. make it
"anubis:/home/ricardo/") fix the problem?

Also, are all your packages up-to-date? Can the problem still be
reproduced after a reboot?

Cheers,

Tom
 
Old 12-20-2011, 09:03 PM
Ricardo Catalinas Jiménez
 
Default umount fails with `mount disagrees with the fstab' after updated to filesystem 2011.12-2 on NFS

On Tue, Dec 20, 2011 at 10:49:10PM +0100, Tom Gundersen wrote:
> On Tue, Dec 20, 2011 at 10:34 PM, Ricardo Catalinas Jiménez
> <jimenezrick@gmail.com> wrote:
> > Everything works fine except when umounting a NFS volume:
> >
> > * * * *$ mount /mnt/anubis
> > * * * *$ umount /mnt/anubis
> > * * * *umount: /mnt/anubis mount disagrees with the fstab
> >
> > The relevant line from fstab:
> >
> > anubis:/home/ricardo * /mnt/anubis * nfs * * * user,noauto * *0 0
> >
> > And from mtab:
> >
> > anubis:/home/ricardo/ /mnt/anubis nfs rw,nosuid,nodev,noexec,relatime,
>
> Does appening "/" to the device in fstab (i.e. make it
> "anubis:/home/ricardo/") fix the problem?

Yes, that fixed it, thank you!


Regards
--
Ricardo (http://r.untroubled.be/)
 
Old 12-20-2011, 09:05 PM
Tom Gundersen
 
Default umount fails with `mount disagrees with the fstab' after updated to filesystem 2011.12-2 on NFS

On Tue, Dec 20, 2011 at 11:03 PM, Ricardo Catalinas Jiménez
<jimenezrick@gmail.com> wrote:
> On Tue, Dec 20, 2011 at 10:49:10PM +0100, Tom Gundersen wrote:
>> On Tue, Dec 20, 2011 at 10:34 PM, Ricardo Catalinas Jiménez
>> <jimenezrick@gmail.com> wrote:
>> > Everything works fine except when umounting a NFS volume:
>> >
>> > * * * *$ mount /mnt/anubis
>> > * * * *$ umount /mnt/anubis
>> > * * * *umount: /mnt/anubis mount disagrees with the fstab
>> >
>> > The relevant line from fstab:
>> >
>> > anubis:/home/ricardo * /mnt/anubis * nfs * * * user,noauto * *0 0
>> >
>> > And from mtab:
>> >
>> > anubis:/home/ricardo/ /mnt/anubis nfs rw,nosuid,nodev,noexec,relatime,
>>
>> Does appening "/" to the device in fstab (i.e. make it
>> "anubis:/home/ricardo/") fix the problem?
>
> Yes, that fixed it, thank you!

Excellent. I'll report the regression upstream.

Cheers,

Tom
 

Thread Tools




All times are GMT. The time now is 03:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org