shutdown fails.. nfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: open-iscsi
Hi.
A server with iscsi may look like this:
ls /etc/rc0.d/K*
lrwxrwxrwx 1 0 0 17 Nov 23 09:02 K09apache2 -> ../init.d/apache2
lrwxrwxrwx 1 0 0 16 Nov 7 11:12 K19autofs -> ../init.d/autofs
lrwxrwxrwx 1 0 0 24 Nov 7 11:23 K19postgresql-8.1 -> ../init.
lrwxrwxrwx 1 0 0 24 Nov 23 10:36 K19postgresql-8.2 -> ../init.
lrwxrwxrwx 1 0 0 28 Nov 7 11:22 K20nagios-
lrwxrwxrwx 1 0 0 20 Jan 17 20:15 K20open-iscsi -> ../init.
lrwxrwxrwx 1 0 0 17 Nov 7 11:22 K20postfix -> ../init.d/postfix
lrwxrwxrwx 1 0 0 20 Nov 7 10:58 K25hwclock.sh -> ../init.
lrwxrwxrwx 1 0 0 20 Nov 7 11:50 K50alsa-utils -> ../init.
lrwxrwxrwx 1 0 0 20 Nov 7 11:23 K79nfs-common -> ../init.
lrwxrwxrwx 1 0 0 27 Dec 4 11:07 K80nfs-
lrwxrwxrwx 1 0 0 19 Nov 7 11:22 K91bacula-fd -> ../init.d/bacula-fd
Which is bad.. if you have nfs exported our iscsi-volume. Then shutdown will fail due to the try to get open-iscsi stopped before the users of the disk is stopped.
So nfs should be shut down much earlier in the process or open-iscsi much later. (i suggest the latter)
sorta like
mv K20open-iscsi S50open-iscsi
a) I assume you mean K50open-iscsi rather than S50open-iscsi
b) How does this fix the problem? K50open-iscsi would still get called before the nfs scripts (which are at K79 and K80).