- May 4, 2001
- 15,381
- 6
- 91
So I'm testing out SLES11 in a VM for a server and iSCSI storage array on order.
Rack server (Dell R610), and an iSCSI unit (Dell Equallogic PS6500e 48T).
The rest of our lab workstations are using Opensuse (10.3 and 11.1), so I was looking at SLES11 to stay within that ecosystem while using the latest version.
Anyway, what I've found is that filesystems via iSCSI won't mount during boot:
- during boot portion of startup, there's /etc/init.d/boot.localfs which mounts and fscks all filesystems identified in /etc/fstab. Unmounted filesystems will fail the boot and require me to log in to a pseudo-rescue mode.
- as a result any iSCSI filesystems will fail the boot because network and open-iscsi aren't initialized until the runlevel 3 scripts.
- adding _netdev does nothing and it seems "hotplug" doesn't work either (I guess it was a feature in previous versions, as all the guides I've read mention it, but must no longer be available).
So I've commented out the test iSCSI filesystem (target created in an Ubuntu Server VM) from fstab and created a "luntab" script in /etc/ which indivdually runs a mount command for each LUN. Then I modified /etc/init.d/open-iscsi to run luntab after logging in to the iSCSI targets.
It works, but it's dirty. Anyone else have experience with SLES11 and iSCSI or ideas about making this a little more "clean".
I will also be trying out RHEL and SLES10 SP2, but the ISOs are still downloading.
edit:
Okay, one thing I did to clean it up a bit and stay within the suse/yast services ecosystem was to move luntab to /etc/init.d, fill out service description and dependency info and then run chkconfig --add luntab
Still...it's just the kind of thing you'd think would work properly out of the box with an established distro like SLES.
Rack server (Dell R610), and an iSCSI unit (Dell Equallogic PS6500e 48T).
The rest of our lab workstations are using Opensuse (10.3 and 11.1), so I was looking at SLES11 to stay within that ecosystem while using the latest version.
Anyway, what I've found is that filesystems via iSCSI won't mount during boot:
- during boot portion of startup, there's /etc/init.d/boot.localfs which mounts and fscks all filesystems identified in /etc/fstab. Unmounted filesystems will fail the boot and require me to log in to a pseudo-rescue mode.
- as a result any iSCSI filesystems will fail the boot because network and open-iscsi aren't initialized until the runlevel 3 scripts.
- adding _netdev does nothing and it seems "hotplug" doesn't work either (I guess it was a feature in previous versions, as all the guides I've read mention it, but must no longer be available).
So I've commented out the test iSCSI filesystem (target created in an Ubuntu Server VM) from fstab and created a "luntab" script in /etc/ which indivdually runs a mount command for each LUN. Then I modified /etc/init.d/open-iscsi to run luntab after logging in to the iSCSI targets.
It works, but it's dirty. Anyone else have experience with SLES11 and iSCSI or ideas about making this a little more "clean".
I will also be trying out RHEL and SLES10 SP2, but the ISOs are still downloading.
edit:
Okay, one thing I did to clean it up a bit and stay within the suse/yast services ecosystem was to move luntab to /etc/init.d, fill out service description and dependency info and then run chkconfig --add luntab
Still...it's just the kind of thing you'd think would work properly out of the box with an established distro like SLES.