Differences

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

Link to this comparison view

Last revision Both sides next revision
sanboot:iscsi_create_via_linux [2009/01/18 13:20]
johan created
sanboot:iscsi_create_via_linux [2009/01/18 13:28]
johan added how to create arbitrary sized files
Line 18: Line 18:
         Lun 0 Path=/​dev/​sdX,​Type=fileio         Lun 0 Path=/​dev/​sdX,​Type=fileio
  
-Where **Path** can be any block device (including regular block devices like hdX and sdX and virtual block devices like LVM and Software RAID devices) or regular files.+Where **Path** can be any block device (including regular block devices like hdX and sdX and virtual block devices like LVM and Software RAID devices) or regular files. ​If you use a regular file you need to make it as big as you want the target device to be. This will get you a 1 GB file:
  
 +  root@novBackup:​~#​ dd if=/​dev/​zero of=/​tmp/​myfile bs=1024 count=1000000
 +
 +Setup complete!

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