Comment 23 for bug 227848

Revision history for this message
Chris Puttick (cputtick) wrote :

Note: Hardy 8.04.2 2.6.24-18-virtual #1 SMP (running on KVM virtual machine with dual guest CPU)

/etc/network/interfaces (relevant part)

auto eth1
iface eth1 inet static
        address 192.168.20.50
        netmask 255.255.255.224

ISCSI auto connect and mount works with no modifications using the following:

In /etc/iscsi/iscsid.conf set

node.startup = automatic (manual is the default setting)

In /etc/iscsi/nodes/<iscsi target name>/<ip address>/default set

node.conn[0].startup = automatic (manual is the default setting)

Note that the target name and IP address would normally be the only entries in their respective directories, assuming you only have the one SAN target and volume. I guess if you have more you'd want to make the change in all of them :)

In /etc/fstab add the following line(s).

UUID<what ever your iscsi volume(s) is/are called> /opt/ktdms/var/Documents/ auto _netdev 0 0

Note to get the UUID do

blkid /dev/sd<your iscsi volume and partition>

after you have connected your iscsi volume, manually or otherwise.