How to mount SAN mount in the Linux Client


How to mount SAN mount in the Linux Client?
Step01:
Yum install iscsi-initiator-utils -y
Step02: tgt-admin -s
SAN iqn number: iqn.1991-05.com.microsoft:linux
Step02:
The below command will connect to the san mount point and also give the name of the san mount point.
"iscsiadm -m discovery -t st -p 10.10.10.219"
Note: 10.10.10.219 is the IP address of the SAN Server.
Step03:
The below command will mount the SAN mount point: copy past the above SAN name in the below command
"iscsiadm -m node -T iqn.1991-05.com.microsoft:win-c120quqq5f8-yaho-target -p 10.10.10.219 -l"
Step04:
This command will show the UUID of the SAN mount point. Use this command and add the UUID in the fstab.
"blkid"
Step05:
You can give the name of whatever you want in the fstab entery
_netdev
defaults

Comments