[Bug 809221] Re: unable to mount ceph root at boot due to stripping of trailing slashes
Steve Langasek
steve.langasek at canonical.com
Sun Jul 29 01:23:48 UTC 2012
If :/foo and :/foo/ have the same meaning, then we would want to still
normalize them for mountall's purposes. I think ceph is not the only
network filesystem where stripping the only / may give unexpected
results; I get strange results for NFSv4 root mounts too, though with
NFS it doesn't actually fail to mount, it just looks strange.
I haven't reviewed the patch, but the above general principle makes
sense to me.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/809221
Title:
unable to mount ceph root at boot due to stripping of trailing slashes
Status in “mountall” package in Ubuntu:
Triaged
Bug description:
When the mount device doesn't start with UUID= or LABEL= update_mount
will strip the trailing slashes from the mount device name. For most
situations this is fine but with Ceph it's quite possible that, for
example, 192.168.0.15:/ would be an acceptable mount device but mount
at boot fails since it passes 192.168.0.15: to mount.ceph, which then
complains about an invalid device.
I have attached a patch that resolves this issue. I don't know if it
is the best way to do it but it works for me okay and shouldn't have
an impact anywhere else.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/809221/+subscriptions
More information about the Ubuntu-sponsors
mailing list