On Thu, Mar 20, 2008 at 2:38 PM, Patrick Lavelle <[EMAIL PROTECTED]> wrote:
> New to Open FIler, but I was to offer up a RAW device to one of my RHEL > boxes. > Can anyone walk me through the basic steps. > > You have to figure out to which device the host binds the LUN offered by openfiler. You will usually see in /var/log/messages something like what is below... Oct 21 21:02:13 linux1 kernel: Attached scsi disk sda at scsi29, channel 0, id 0, lun 0 ...and iscsi-ls will produce something like what is below... #******************************************************************************* #TARGET NAME : iqn.2006-01.com.openfiler:dg.disk1 #TARGET ALIAS : #HOST ID : 29 #BUS ID : 0 #TARGET ID : 0 #TARGET ADDRESS : 192.168.2.195:3260,1 #SESSION STATUS : ESTABLISHED AT Sat Oct 21 21:02:03 EDT 2006 #SESSION ID : ISID 00023d000001 TSIH 2300 #******************************************************************************* You map it like the following... lun --> scsi_id --> dev --> raw ...so to map a specific lun (dg.disk1 above) to a raw device, in this case you would... /usr/bin/raw /dev/raw/raw4 /dev/sda1
_______________________________________________ Openfiler-users mailing list [email protected] https://lists.openfiler.com/mailman/listinfo/openfiler-users
