ocfs2 startup link prior to open-iscsi

Bug #246613 reported by Jamin W. Collins
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ocfs2-tools (Ubuntu)
Fix Released
Low
Unassigned
Precise
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: ocfs2-tools

The ocfs2-tools package creates a startup link at /etc/rcS.d/S65ocfs2. However, the ocfs2 filesystem is (as I understand it) intended for use as a network shared file system. A common way to accomplish this is through the use of iSCSI. The startup link for open-iscsi is created at /etc/rc2.d/S20open-iscsi which means that when ocfs2 starts the iSCSI layer is not yet in place and thus the volume(s) are not mounted. Moving the ocfs2 startup link to /etc/rc2.d corrects the issue. I'm not sure if the link for ocfs2 or open-iscsi should be the one to move.

Revision history for this message
Tessa (unit3) wrote :

This is a tough call, since ocfs2 can also be used on FC hardware, which doesn't need a network connection to share storage. However, given that ocfs2 requires the network to do the clustered locking and communication via o2cb, it makes sense to put its init scripts into runlevel 2, IMO.

Revision history for this message
Damien Hardy (damien-hardy) wrote :

The same things can be done about drbd8-utils ( /etc/rc2.d/S70drbd ) before ocfs2 stuffs

However the update-rc.d script about ocfs2 and o2cb raise some warning about non LSB conformant issues.

Ex:
~# update-rc.d ocfs2 defaults 90 05
update-rc.d: warning: ocfs2 start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (2 3 5)
update-rc.d: warning: ocfs2 stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none)

Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't fix it because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem. We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures.
At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
Thanks!

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in ocfs2-tools (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Jamin W. Collins (jcollins) wrote :

I have no idea why you claim the 3 listed items are not provided, they in fact have been.

1. install ofcs2-tools (apt-get install ofcs2-tools)
2. it should work, including after reboots
3. reread first post, it doesn't work after reboots due to startup order

Changed in ocfs2-tools (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Thank you for taking the time to report this bug. In an effort to keep an
up-to-date and valid list of bugs to work on, I have reviewed this report
to verify it still requires effort and occurs on an Ubuntu release in
standard support, and it does not.

It is unfortunate that we were unable to resolve this defect, however
there appears to be no further action possible at this time. I am
therefore moving the bug to 'Fix Released' to current development
release as the issue does not apply to it any longer.

If you disagree or have new information, we would be grateful if
you could please open a new bug mentioning new affected versions with
a possible reproducer in the bug description.

Changed in ocfs2-tools (Ubuntu):
status: Confirmed → Fix Released
Changed in ocfs2-tools (Ubuntu Precise):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.