[Bug 809221] Re: unable to mount ceph root at boot due to stripping of trailing slashes
Tv
809221 at bugs.launchpad.net
Tue Aug 7 23:41:10 UTC 2012
The Ceph device string can be (EBNF off the top of my head)
address = ip | hostname
mon = address [ ":" port ]
mons = mon [ "," mons ]
dev = mons ":" path
For example:
1.2.3.4:/
1.2.3.4:/foo
1.2.3.4:6789:/foo
1.2.3.4,2.3.4.5:/foo
1.2.3.4:6789,2.3.4.5:/foo
1.2.3.4:6789,2.3.4.5:6789:/foo
path always begins with a slash.
And there's IPv6 support in there too.
But really, mountall should treat dev as an opaque string until proven
otherwise (is_remote gives false, etc).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
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 foundations-bugs
mailing list