Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sanboot:debian_etch_iscsi [2007/11/06 07:57]
gervystar
sanboot:debian_etch_iscsi [2009/04/27 13:00]
commander1024 the module is called "ib_iser" not "iscsi_iser" (Device Drivers -> infiniband support), checked against the hooks script where module ib_iser is modprobed
Line 53: Line 53:
  
 Create two scripts shown below. These scripts have to be executable. Create two scripts shown below. These scripts have to be executable.
-   * ''/​etc/​initramfs-tools/​hooks/​iscsi_tcp''​ will copy the ''​iscsi_tcp'',​ ''​iscsi_iser''​ kernel modules followed by their dependancies,​ ''/​usr/​sbin/​iscsistart''​ and ''/​usr/​sbin/​fwparam_ibft''​ to the initial ramdisk.+   * ''/​etc/​initramfs-tools/​hooks/​iscsi_tcp''​ will copy the ''​iscsi_tcp'',​ ''​ib_iser''​ kernel modules followed by their dependancies,​ ''/​usr/​sbin/​iscsistart''​ and ''/​usr/​sbin/​fwparam_ibft''​ to the initial ramdisk.
    * ''/​etc/​initramfs-tools/​scripts/​local-top/​iscsi_tcp''​ is copied to the ram disk and run at boot-time, just before the root filesystem is mounted. If the root device string looks like a SCSI device it brings up the appropriate Ethernet device, sets up the ip address passed through dhcp and connects the root file system on the iSCSI target.    * ''/​etc/​initramfs-tools/​scripts/​local-top/​iscsi_tcp''​ is copied to the ram disk and run at boot-time, just before the root filesystem is mounted. If the root device string looks like a SCSI device it brings up the appropriate Ethernet device, sets up the ip address passed through dhcp and connects the root file system on the iSCSI target.
  
Line 145: Line 145:
         ip addr add $iSCSI_INITIATOR_IPADDR/​$iSCSI_INITIATOR_MASK brd + dev $iSCSI_INITIATOR_IF         ip addr add $iSCSI_INITIATOR_IPADDR/​$iSCSI_INITIATOR_MASK brd + dev $iSCSI_INITIATOR_IF
         ip route add default via $iSCSI_INITIATOR_GATEWAY         ip route add default via $iSCSI_INITIATOR_GATEWAY
- 
-        echo "​Waiting 5 seconds for the network link to establish..."​ 
-        sleep 5 
  
         echo "​Connecting to iSCSI target $iSCSI_TARGET_NAME on $iSCSI_TARGET_IPADDR..."​         echo "​Connecting to iSCSI target $iSCSI_TARGET_NAME on $iSCSI_TARGET_IPADDR..."​

QR Code
QR Code sanboot:debian_etch_iscsi (generated for current page)