How to add an iSCSI SAN drive to Linux

969  cd /dev/mapper
970  ls
971  ifconfig
981  iscsiadm -m discovery -t st -p 192.168.0.1 -l eth1
982  iscsiadm -m discovery -t st -p 192.168.0.2 -l eth2
983  ls
984  cd /dev
985  ls
986  ls -l
987  multipath -ll
988  (cd /dev/disk/by-path; ls -l *nimble* | awk ‘{FS=” “; print $9 ” ” $10 ” ” $11}’)
989  multipath -ll
990  vi /etc/multipath.conf
991  service iscsid restart

service multipathd reload
974  fdisk /dev/mapper/vol9000
992  partprobe

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s