systemd: root device on iscsi

Jeremy Sanders jeremy at jeremysanders.net
Tue Nov 29 09:40:45 UTC 2011


Bill Nottingham wrote:

> Jeremy Sanders (jeremy at jeremysanders.net) said:
>> Hi - is an iscsi root device a supported configuration setup with F16 and
>> systemd? I asked on #systemd, and got pointed here.
>> 
>> We're using dracut to boot diskless systems with root devices on iscsi.
>> This works fine for booting using Fedora 16 and systemd.
>> 
>> Unfortunately, on shutdown the system hangs. It stops the network
>> interface before mounting the root device read-only or stopping the iscsi
>> service (leaving the fedora iscsi target in a confused state too). On
>> Fedora 14, this worked fine with the old fashioned init system.
>> 
>> In the old init system you used to be able to put a "_netdev" flag in
>> fstab, which would fix this problem. This doesn't seem to work now.
> 
> What are you using for networking - the old network service or
> NetworkManager?

The old network service. The root device is cloned from a non-iscsi 
installation, however, as kickstart didn't like to install onto a non-
partitioned iscsi device: https://bugzilla.redhat.com/show_bug.cgi?id=757106
I thought that the _netdev option would be sufficient to get the ordering 
correct.

Jeremy

-- 
http://jeremysanders.net/




More information about the devel mailing list