Linux mounts IPSAN and FCSAN operations, and Linux mounts NFS file system
ISCSI storage mount
Service open-iscsi status to view iscsi service status
Service open-iscsi start/stop/restart start / stop / restart the iscsi service
Cat / etc/iscsi/initiatorname.iscsi View Host IQN number
Iscsiadm-m discovery-t st-p XXX.XXX.XXX.XXX (Storage Port Service IP) Discovery Storage
Iscsiadm-m node-l registers all storage
Fdisk-l view mounted storage
Install multipath softwar
Unzip OceanStor\ UltraPath\ V100R008C30_SLES.zip decompress the multipathing software in the file directory
After decompressing, check the directory, open the SLES folder in the directory, and run install
Sh install.sh
Restart after installation
Hot_add Huawei multipath software command, sweep
Service open-iscsi restart restarts the iscsi service, otherwise the storage host will be offline
Fdisk-l view mounted storage
Fdisk / dev/sdb partitions sdb and selects m n 1 w in turn
Mkfs.ext3 / dev/sdb1 formats the hard drive as ext3
Mkdir / tmp/huawei create a new folder huawei under tmp
Mount / dev/sdb1 / tmp/huawei/ mount sdb1 to the folder huawei
Mount to check the mount status
FCSAN storage mount
Cat / etc/issue view system version information
Cd / sys/class/fc_host/ View Server HBA Card Port
Cd host3
Cat node_name to check the WWPN number of the host3 port of the HBA card
Then associate the logical host in the storage and do the mapping
Then scan the disk, install multipath software, partition, format, mount (same as iscsi)
Linux mount NFS
Showmount-e XXX.XXX.XXX.XXX (logical port IP) View the file system under the logical port
Mkdir / mnt create mount folder
Mount-t nfs XXX.XXX.XXX.XXX:/wenjianmingcheng / mnt mount the file system to / mnt