This is an old revision of the document!


Attach SAN device

Synopsis

  sanhook [--drive <drive>] [--no-describe] <uri>

Examples

Attach an iSCSI target

  sanhook iscsi:10.0.4.1:::1:iqn.2010-04.org.ipxe.dolphin:storage

Check ability to attach a SAN target

  sanhook ${root-path} && sanunhook || echo Could not attach ${root-path}

Attach a SAN target and then boot an installer held on another target

  sanhook --drive 0x81 ${root-path}
  sanboot --no-describe iscsi:10.0.4.1:::1:iqn.2010-04.org.ipxe.dolphin:liveinstall

Description

Attach the specified SAN target URI as the specified SAN drive. If no SAN drive is explicitly specified then the default SAN drive (0x80) will be used.

The SAN drive will be described via an appropriate mechanism (such as an iBFT for an iSCSI drive) unless the --no-describe option is specified.

Command status

Success The SAN target was successfully attached
Failure The SAN target was not successfully attached

See also

Notes

If you wish to attach to multiple SAN targets, each target must be attached as a different SAN drive.

cmd/sanhook.1332621066.txt.gz ยท Last modified: 2012/03/24 20:31 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.