Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
sanboot:ubuntu_iscsi [2010/08/11 12:17] cinquero |
sanboot:ubuntu_iscsi [2010/08/11 12:26] cinquero |
||
---|---|---|---|
Line 213: | Line 213: | ||
find /etc -name 'S*open-iscsi' | find /etc -name 'S*open-iscsi' | ||
</code> | </code> | ||
+ | * One possibly has to repeat the previous step when upgrading/reinstalling open-iscsi. | ||
* create /etc/init/open-iscsi.conf: | * create /etc/init/open-iscsi.conf: | ||
- | <pre> | + | <code> |
description "Open-iSCSI" | description "Open-iSCSI" | ||
start on filesystem | start on filesystem | ||
+ | # no stopping! | ||
exec /etc/init.d/open-iscsi start | exec /etc/init.d/open-iscsi start | ||
- | </pre> | + | </code> |
* Lucid detects on its own if rootfs is an iscsi target. It will prevent network shutdown on shutdown and read-only remounting of the rootfs should make sure that data gets flushed to disk. | * Lucid detects on its own if rootfs is an iscsi target. It will prevent network shutdown on shutdown and read-only remounting of the rootfs should make sure that data gets flushed to disk. | ||
+ | * For your own convenience, edit the following line in /etc/default/grub as shown below: | ||
+ | <code> | ||
+ | GRUB_CMDLINE_LINUX_DEFAULT="ip=dhcp ISCSI_INITIATOR=<yourInitiatorName> ISCSI_TARGET_NAME=<yourTargetName> ISCSI_TARGET_IP=<yourTargetIp> ISCSI_TARGET_PORT=3260 quiet splash" | ||
+ | </code> | ||
=== Stabilization/Paranoia === | === Stabilization/Paranoia === |