Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455582 - sys-cluster/ceph should be started before netmount
Summary: sys-cluster/ceph should be started before netmount
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-05 11:56 UTC by Tomáš Mózes
Modified: 2013-03-12 07:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2013-02-05 11:56:04 UTC
If you have a machine with a ceph instance and you mount the ceph volume on the same machine, it doesn't occur automatically after booting up.

If you have ceph in extra_net_fs_list (rc.conf) and specify a mount in fstab, currently netmount starts before ceph.

A solution would be to start ceph before netmount:

# diff -u /etc/init.d/ceph.orig /etc/init.d/ceph
--- /etc/init.d/ceph.virgin     2013-01-15 16:28:53.059122604 +0100
+++ /etc/init.d/ceph    2013-02-05 12:45:16.005626713 +0100
@@ -5,6 +5,7 @@
 
 depend() {
        after net
+       before netmount
 }
 
 start() {
Comment 1 Tomáš Mózes 2013-03-12 07:20:21 UTC
Thank you Alexey