Re: systemd: root device on iscsi

2011-12-01 Thread Bill Nottingham
Jeremy Sanders (jer...@jeremysanders.net) said: > > Jeremy Sanders (jer...@jeremysanders.net) said: > >> Your patch does > >> > >> -bash-4.2# findmnt -m -n -o fstype,options / > >> ext4 rw,relatime,user_xattr,acl,barrier=0,data=ordered > >> > >> Which doesn't show the _netdev option. If I chan

Re: systemd: root device on iscsi

2011-12-01 Thread Jeremy Sanders
Bill Nottingham wrote: > Jeremy Sanders (jer...@jeremysanders.net) said: >> Your patch does >> >> -bash-4.2# findmnt -m -n -o fstype,options / >> ext4 rw,relatime,user_xattr,acl,barrier=0,data=ordered >> >> Which doesn't show the _netdev option. If I change this to >> >> -bash-4.2# findmnt -s

Re: systemd: root device on iscsi

2011-11-30 Thread Bill Nottingham
Jeremy Sanders (jer...@jeremysanders.net) said: > Your patch does > > -bash-4.2# findmnt -m -n -o fstype,options / > ext4 rw,relatime,user_xattr,acl,barrier=0,data=ordered > > Which doesn't show the _netdev option. If I change this to > > -bash-4.2# findmnt -s -n -o fstype,options / > ext4

Re: systemd: root device on iscsi

2011-11-30 Thread Jeremy Sanders
Jeremy Sanders wrote: > > This works. I don't know whether you want to change "-m" to "-s"... I tried changing -m to -s. The network still tries to get shut down, despite the if statement being run and the exit 1 command being run. This is because the exit command only exits from the shell lo

Re: systemd: root device on iscsi

2011-11-30 Thread Jeremy Sanders
Bill Nottingham wrote: > It would be nice, yes. In the meantime, Jeremy, can you try the attached > patch? Thanks very much - it doesn't seem to work in our setup. Dracut is mounting the root iscsi device using the dhcp root-dev option, but we have _netdev set in fstab. -bash-4.2# mount | gre

Re: systemd: root device on iscsi

2011-11-29 Thread Bill Nottingham
Karel Zak (k...@redhat.com) said: > On Tue, Nov 29, 2011 at 12:18:03PM -0500, Bill Nottingham wrote: > > Jeremy Sanders (jer...@jeremysanders.net) said: > > > > What are you using for networking - the old network service or > > > > NetworkManager? > > > > > > The old network service. The root de

Re: systemd: root device on iscsi

2011-11-29 Thread Karel Zak
On Tue, Nov 29, 2011 at 12:18:03PM -0500, Bill Nottingham wrote: > Jeremy Sanders (jer...@jeremysanders.net) said: > > > 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 > > installati

Re: systemd: root device on iscsi

2011-11-29 Thread Bill Nottingham
Jeremy Sanders (jer...@jeremysanders.net) said: > > 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 is

Re: systemd: root device on iscsi

2011-11-29 Thread Jeremy Sanders
Bill Nottingham wrote: > Jeremy Sanders (jer...@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

Re: systemd: root device on iscsi

2011-11-28 Thread Bill Nottingham
Jeremy Sanders (jer...@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 Fedor

systemd: root device on iscsi

2011-11-28 Thread Jeremy Sanders
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 ha