Comment 3 for bug 192080

Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 192080] Re: shutdown fails..

On Fri, Mar 28, 2008 at 01:04:46AM -0000, LinuxBladeGuy wrote:
> There are serious issues with the iscsi startup and shutdown scripts.

Oh, dear.

> Examples:
> - There is no mechanism to unmount iscsi volumes before shutting down iscsi

> - The default startup scripts try to start iscsi before networking

Not true (unless you're using network manager for your network
configuration). Interfaces are brought up as udev discovers them, which
is before we attempt to start iscsi.

> In fact, I would say iSCSI support on Ubuntu (and Debian for that
> matter) is purely "experimental" at this time. For iSCSi to be
> considered of any real use:
>
> 1. boot-time filesystem checks should work

Don't they?

> 2. iscsi volumes should be mounted before anything else tries to start

What's wrong with mounting them at the same time everything else is
mounted?

> 3. iscsi volumes should be cleanly unmounted _AFTER_ all other services have shut down

Correct. I wonder if simply not stopping iscsi during shutdown is a
reasonable approach. The kernel should flush everything anyway, so it
ought to be safe. Could you try that?

> With a fresh Hardy installation I see:
>
> - iSCSI does not start up automatically at boot time, even though it appears it should

Can you open a bug with some info about this?

--
Soren Hansen |
Virtualisation specialist | Ubuntu Server Team
Canonical Ltd. | http://www.ubuntu.com/