[opensuse-factory] nfs root is mounted read-only?
Booting from a nfs root filesystem appears to leave the root in read-only? The system takes forever to come up, but after I have access, I can easily do "mount -o remount,rw /". -- Per Jessen, Zürich (15.5°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Per Jessen wrote:
Adding "rw" to the kernel arguments solves the issue, but judging a few other systems with similar setups, this wasn't previously necessary. -- Per Jessen, Zürich (15.5°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Per Jessen <per@computer.org> writes:
I think it's a matter of putting the mount point in /etc/fstab. This is also true for regular root devices. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Andreas Schwab wrote:
Hmm, I tried putting this in fstab: bootsrv.example.com:/home/office12 / nfs rsize=8192,wsize=8192 0 0 The root file system still ended up as read-only. -- Per Jessen, Zürich (15.5°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El 23/10/14 a las #4, Per Jessen escribió:
Just curious..did you ran mkinitrd after modying /etc/fstab ? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Cristian Rodríguez wrote:
Haha, well spotted, no I didn't ..... duh. I'll be back. -- Per Jessen, Zürich (15.5°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Per Jessen wrote:
Well, initrd was updated, copied to tftpserver, but it made no difference. Something funny - I tried remount / : # mount -o remount,rw / mount.nfs: an incorrect mount option was specified The only options are "rsize=8192,wsize=8192" from fstab, surely they are still valid? Instead I remounted like this: mount -o remount,rw bootsrv.example.com:/home/office12 / which worked fine - has something changed wrt rsize,wsize? -- Per Jessen, Zürich (15.5°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thursday 2014-10-23 16:41, Per Jessen wrote:
Even if they are, have you actually measured that it helps your case? A lot of Samba howtos for example enlisted SO_RCVBUF=8192, which totally went bonkers because it was way too small causing lots of CPU usage (the default bufsize is 128K last time I checked, and it may change again in future).
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Jan Engelhardt wrote:
No, I have never actually measured it, I admit. We've been using 8192 for a long time, I guess mostly because it fits in a 9K jumbo frame. -- Per Jessen, Zürich (15.5°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thursday 2014-10-23 19:24, Per Jessen wrote:
But that is only relevant for UDP, which NFS is not normally using anymore. rsize=n The maximum number of bytes in each network READ request that the NFS client can receive when reading data from a file on an NFS server. If an rsize value is not specified [...] the client and server negotiate the largest rsize value that they can both support. The largest read payload supported by the Linux NFS client is 1,048,576 [...] [the server has the same default]. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Jan Engelhardt wrote:
Only in nfsv3, yes. We're using v3 because it has caused less problems (in this scenario) sofar. Still, I think I'll experiment with v4 for this box, if we were to get more thruput with v4, that's a good argument for "upgrading". -- Per Jessen, Zürich (15.5°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Per Jessen wrote:
Adding "rw" to the kernel arguments solves the issue, but judging a few other systems with similar setups, this wasn't previously necessary. -- Per Jessen, Zürich (15.5°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Per Jessen <per@computer.org> writes:
I think it's a matter of putting the mount point in /etc/fstab. This is also true for regular root devices. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Andreas Schwab wrote:
Hmm, I tried putting this in fstab: bootsrv.example.com:/home/office12 / nfs rsize=8192,wsize=8192 0 0 The root file system still ended up as read-only. -- Per Jessen, Zürich (15.5°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El 23/10/14 a las #4, Per Jessen escribió:
Just curious..did you ran mkinitrd after modying /etc/fstab ? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Cristian Rodríguez wrote:
Haha, well spotted, no I didn't ..... duh. I'll be back. -- Per Jessen, Zürich (15.5°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Per Jessen wrote:
Well, initrd was updated, copied to tftpserver, but it made no difference. Something funny - I tried remount / : # mount -o remount,rw / mount.nfs: an incorrect mount option was specified The only options are "rsize=8192,wsize=8192" from fstab, surely they are still valid? Instead I remounted like this: mount -o remount,rw bootsrv.example.com:/home/office12 / which worked fine - has something changed wrt rsize,wsize? -- Per Jessen, Zürich (15.5°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Andreas Schwab
-
Cristian Rodríguez
-
Jan Engelhardt
-
Per Jessen