Setting up an iSCSI target on RHEL5 (Redhat)

Setting up an iSCSI target on RHEL5 (Redhat)

Postby bobajob » Tue Aug 23, 2011 10:24 am

Hi,

I am trying to set-up an i-SCSI target in RHEL5. I have set-up the target on the Ultra 4. I can stop and start it

[root@Linux1 ~]# service iscsi stop
Logging out of session [sid: 1, target: iqn.2011-08.nas-F8-FD-E0:orafs1, portal: 192.168.168.168,3260]
Logout of [sid: 1, target: iqn.2011-08.nas-F8-FD-E0:orafs1, portal: 192.168.168.168,3260] successful.
Stopping iSCSI daemon:
[root@Linux1 ~]# service iscsi start
iscsid is stopped
Starting iSCSI daemon: [ OK ]
[ OK ]
Setting up iSCSI targets: Logging in to [iface: default, target: iqn.2011-08.nas-F8-FD-E0:orafs1, portal: 192.168.168.168,3260]
Login to [iface: default, target: iqn.2011-08.nas-F8-FD-E0:orafs1, portal: 192.168.168.168,3260] successful.
[ OK ]

I am then trying to get a consistent device name that I can reference like /dev/iscsi/orafs/part that persists with the same name through reboots. However when I set-up my udev script to achieve this, I get completley lost. I am using Connecting to an iSCSI Target with Open-iSCSI Initiator using Linux by Jeff Hunter. These instructions work perfectly with Openfiler and I am hoping to adjust them for my ReadyNas.

I was hoping to get a consistent device name such as /dev/iscsi/orafs1/part that I could fdisk. However I am not gettting this and cannot proceed.

Any help greatly appreciated.

Kind regards.
bobajob
ReadyNAS Newbie
 
Posts: 11
Joined: Mon Aug 23, 2010 10:46 am

Re: Setting up an iSCSI target on RHEL5 (Redhat)

Postby bobajob » Fri Aug 26, 2011 9:21 am

bobajob
ReadyNAS Newbie
 
Posts: 11
Joined: Mon Aug 23, 2010 10:46 am


Return to iSCSI



Who is online

Users browsing this forum: Google [Bot] and 1 guest