[Bug 1661036] [NEW] nfsmount from klibc-utils doesn't support 'fsc' option
Mantas Kriaučiūnas
mantas at akl.lt
Wed Feb 1 16:26:44 UTC 2017
Public bug reported:
I'm PXE-booting a Ubuntu 16.04 system, where I specify the kernel
parameters as follows:
root=/dev/nfs nfsroot=10.0.0.1:/srv/tftp/ubuntu-baltix,fsc ip=dhcp rw
After I added fsc option to kernel command line I get the following
error upon boot:
nfsmount: bad option 'fsc'
I need to use the mount option 'fsc' in order to use FS-cache functionality (the cachefilesd package.)
Why doesn't nfsmount permit this option? (It works fine when you mount manually with mount -o fsc after booting up.)
I changed nfsmount to mount.nfs in the file /usr/share/initramfs-tools/scripts/nfs and
added mount.nfs from /sbin to the initramfs image (copied to the /usr/lib/klibc/bin folder)
Then ran update-initramfs -u to update the initramfs image and now
system boots without error.
This problem exists in older Ubuntu releases too, see
http://askubuntu.com/questions/23767/using-the-fsc-mount-option-with-
nfsroot-kernel-parameter-to-allow-fs-cache
** Affects: klibc (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to klibc in Ubuntu.
https://bugs.launchpad.net/bugs/1661036
Title:
nfsmount from klibc-utils doesn't support 'fsc' option
Status in klibc package in Ubuntu:
New
Bug description:
I'm PXE-booting a Ubuntu 16.04 system, where I specify the kernel
parameters as follows:
root=/dev/nfs nfsroot=10.0.0.1:/srv/tftp/ubuntu-baltix,fsc ip=dhcp rw
After I added fsc option to kernel command line I get the following
error upon boot:
nfsmount: bad option 'fsc'
I need to use the mount option 'fsc' in order to use FS-cache functionality (the cachefilesd package.)
Why doesn't nfsmount permit this option? (It works fine when you mount manually with mount -o fsc after booting up.)
I changed nfsmount to mount.nfs in the file /usr/share/initramfs-tools/scripts/nfs and
added mount.nfs from /sbin to the initramfs image (copied to the /usr/lib/klibc/bin folder)
Then ran update-initramfs -u to update the initramfs image and now
system boots without error.
This problem exists in older Ubuntu releases too, see
http://askubuntu.com/questions/23767/using-the-fsc-mount-option-with-
nfsroot-kernel-parameter-to-allow-fs-cache
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1661036/+subscriptions
More information about the foundations-bugs
mailing list