NFS problems with 2.6.24 [message #28395] |
Mon, 17 March 2008 06:17  |
Dietmar Maurer
Messages: 52 Registered: March 2007
|
Member |
|
|
Hi all,
I just observed a strange problem with nfs, seems that remount does not
work anymore:
My fstab looks like:
aipaddr:/pve/0.9 /pve/0.9 nfs ro 0 0
When I trie to remount that directory rw:
> mount -o remount,rw /pve/0.9/
Everythink works as expected. But remounting it ro later fails:
> mount -o remount,ro /pve/0.9/
mount: /pve/0.9 not mounted already, or bad option
This failure seems to be specific to openvz kernel (2.6.24) from git.
- Dietmar
|
|
|
Re: NFS problems with 2.6.24 [message #28397 is a reply to message #28395] |
Mon, 17 March 2008 06:37   |
den
Messages: 494 Registered: December 2005
|
Senior Member |
|
|
Is this happens in VE0 or inside VE?
If this is a VE, could you check what if the file /etc/mtab is, i.e.
whether it is a regular file or a symlink to /proc/mounts
Regards,
Den
On Mon, 2008-03-17 at 07:17 +0100, Dietmar Maurer wrote:
> Hi all,
>
> I just observed a strange problem with nfs, seems that remount does not
> work anymore:
>
> My fstab looks like:
>
> aipaddr:/pve/0.9 /pve/0.9 nfs ro 0 0
>
> When I trie to remount that directory rw:
>
> > mount -o remount,rw /pve/0.9/
>
> Everythink works as expected. But remounting it ro later fails:
>
> > mount -o remount,ro /pve/0.9/
> mount: /pve/0.9 not mounted already, or bad option
>
> This failure seems to be specific to openvz kernel (2.6.24) from git.
>
> - Dietmar
>
>
|
|
|
AW: NFS problems with 2.6.24 [message #28398 is a reply to message #28397] |
Mon, 17 March 2008 07:12  |
Dietmar Maurer
Messages: 52 Registered: March 2007
|
Member |
|
|
It happens in VE0. mtab is a file an contains:
aipaddr:/pve/0.9 /pve/0.9 nfs rw,addr=XXX.XXX.XXX.XXX 0 0
But remount rw fails:
> mount -o ro,remount /pve/0.9/
mount: /pve/0.9 not mounted already, or bad option
Strace says:
mount("aipaddr:/pve/0.9", "/pve/0.9", 0x517c10, MS_MGC_VAL|MS_RDONLY|MS_REMOUNT, "\6") = -1 EINVAL (Invalid argument)
- Dietmar
> -----Ursprüngliche Nachricht-----
> Von: users-bounces@openvz.org
> [mailto:users-bounces@openvz.org] Im Auftrag von Denis V. Lunev
> Gesendet: Montag, 17. März 2008 07:38
> An: users@openvz.org
> Cc: Alexey Dobriyan
> Betreff: Re: [Users] NFS problems with 2.6.24
>
> Is this happens in VE0 or inside VE?
>
> If this is a VE, could you check what if the file /etc/mtab is, i.e.
> whether it is a regular file or a symlink to /proc/mounts
|
|
|