Here we are with my ‘sequence’ posting 😀 . These are my old practice but have no time to post it until now. I used openfire 2.3 as an iSCSI target (with only one extra hdd and it could be added to RAID as a spare storage) and centos RAID 10 (with 5 harddisks; sdb1, sdc1, sdd1, sde1, sdf1) as an iSCSI initiator.
For you, just do not forget these steps:
1. Create LVM with sequence create: Physical volume, Volume Group, and Logical Volume (See LVM guide in this website 😉 )
4. On initiator, you have to provide all of requirement packages such as open-iscsi (Debian) or iscsi-initiator-utils (RPM). And check first condition before discover the new one HD (in this case, my centos has a RAID 10 with 5 hdd). Then, type these steps:
~# service iscsi start
~# iscsiadm -m discovery -t sendtargets -p <IP_iSCSI_TARGET>
~# service iscsi restart
As you can see, i have an extra storage such a /dev/sdg below. You have to format it as well.
5. If you don’t believe it, try to halt iSCSI target server and all of client (initator) will loosing their storage. So, it is recommended for SAN/NAS Openfiler to make it cluster (It might be supported with the latest version of Openfiler).