What would cause an NFS-mounted rootfs to come up read-only?
I'm working on an embedded linux board, and had been running with an NFS mounted ROOTFS. All was good. Then for a while I had switched over to a ramdisk based rootfs, that was fine too. I've since switched back to an NFS-based rootfs and now it always comes up read-only. Something has obviously changed (yea I know, I probably changed it!); but I don't know what. My host machine (from which the NFS mount is achieved) still has an /etc/exports entry similar to :
/full_path_to_my_rootfs *(rw,no_root_squash)
and on my kernel command line:
console=ttymxc0,115200 ip=dhcp root=/dev/nfs nfsroot=${srvrip}:/full_path_to_my_rootfs,v3,tcp
At boot time I see the message:
VFS: Mounted root (nfs filesystem) readonly on device 0:11.
and then other stuff fails because of inability to write.
Any idea what might cause this?
EDIT>>>
Some more detail (that just makes me more confused)...
The rootfs is created by buildroot, and it is configured to remount rootfs to RW as shown by the line in /inittab:
null::sysinit:/bin/mount -o remount,rw / # REMOUNT_ROOTFS_RW
Last edited by elsutjr; 03-03-2014 at 03:57 PM.
|