I'm having trouble mounting an NFS filesystem read-write from an initrd script.

We're booting the EL5 kernel using an ext2-based initrd image, which runs a script which mounts various filesystems from a server, and some are read-write filesystems.

However, even though the script issues a command such as:

   mount -o nfsvers=3,tcp,nolock,rw <server-ip>:<pathname> /mnt

when I do a 'mount' command, to see what's mounted, that filesystem shows up as read-only.

Using strace to see what's being passed to the kernel shows the correct path and mountpoint, and mountoptions of 0, which means read-write (1 is read-only).

BTW: SELinux is disabled, and the read-write mount of the same filesystem works fine on a system that I installed from CD. It's just from within the initrd that it doesn't work, and of course this used to work with ELAS3 and ELAS4.

I'd appreciate it if anybody has any suggestions.

Thanks,

Chris

_______________________________________________
rhelv5-beta-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-beta-list

Reply via email to