Differences

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

Link to this comparison view

Next revision
Previous revision
sanboot:iscsi_via_linux [2007/11/05 06:43]
mcb30 created
sanboot:iscsi_via_linux [2007/11/10 17:34] (current)
mcb30
Line 9: Line 9:
 To add a disk image file as an iSCSI target, you need to add the following two lines to ///​etc/​ietd.conf//:​ To add a disk image file as an iSCSI target, you need to add the following two lines to ///​etc/​ietd.conf//:​
  
-    Target iqn.2007-08.name.dns.my:​image+    Target iqn.2007-08.name.dns.target.my:iscsiboot
         Lun 0 Path=/​path/​to/​image/​file.img,​Type=fileio         Lun 0 Path=/​path/​to/​image/​file.img,​Type=fileio
  
-where ///​path/​to/​image/​file.img//​ is the path to your disk image file, and //​name.dns.my//​ is your DNS name in reverse order.+where ///​path/​to/​image/​file.img//​ is the path to your disk image file, and //name.dns.target.my// is your DNS name in reverse order.
  
 (For completeness,​ you should also replace //2007-08// with the year and month in which you first obtained your DNS domain. ​ The iSCSI naming schemes are somewhat pedantic, but it won't affect anything in practice; as long as the target name is unique then everything will work just fine.) (For completeness,​ you should also replace //2007-08// with the year and month in which you first obtained your DNS domain. ​ The iSCSI naming schemes are somewhat pedantic, but it won't affect anything in practice; as long as the target name is unique then everything will work just fine.)
  
-Make a note of the iSCSI target IQN that you chose (//​iqn.2007-08.name.dns.my:​image// in the above example). ​ You are now ready to+Make a note of the iSCSI target IQN that you chose (//​iqn.2007-08.name.dns.target.my:iscsiboot// in the above example). ​ You are now ready to
  
   * [[sanboot:​iscsi_boot|Boot from your iSCSI target image]]   * [[sanboot:​iscsi_boot|Boot from your iSCSI target image]]
  

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