/etc/init.d/iscsi start
discovery lun
iscsiadm -m discovery -t sendtargets -p 192.168.5.122
192.168.5.122 is lun's ip
/etc/init.d/iscsi restart
connect to the lun 192.168.5.122, there is a new disk , sdd( use fdisk -l to show)
Format & mount
fdisk /dev/sdd
mke2fs -j -m 0 -O dir_index /dev/sdd1
mkdir /mnt/iscsi
mount /dev/sdd1 /mnt/iscsi
沒有留言:
張貼留言