User manual

165
Enter the following command to create a partition, /dev/sdb is the device name.
# fdisk /dev/sdb
Format the partition.
# mkfs.ext3 /dev/sdb1
Mount the file system.
# mkdir /mnt/iscsi
# mount /dev/sdb1 /mnt/iscsi/
You can test the I/O speed using the following command.
# hdparm -tT /dev/sdb1
Below are some “iscsiadm” related commands.
Discover the targets on the host:
# iscsiadm -m discovery --type sendtargets --portal HOST_IP
Login a target:
# iscsiadm –m node --targetname THE_TARGET_IQN --login
Logout a target:
# iscsiadm –m node --targetname THE_TARGET_IQN --logout
Delete a Target:
# iscsiadm –m node --op delete --targetname THE_TARGET_IQN