Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux mounts IPSAN and FCSAN operations, and Linux mounts NFS file system

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report