日立存储Linux平台命令如下:
ls -l /sys/class/fc_host
ls -l /sys/class/scsi_host
echo "- - -" > /sys/class/scsi_host/host1/scan
echo "- - -" > /sys/class/scsi_host/host2/scan
echo "- - -" > /sys/class/scsi_host/host3/scan
echo "- - -" > /sys/class/scsi_host/host4/scan
ls /sys/class/fc_host
ls -l /sys/class/fc_host/host*
cat /sys/class/fc_host/host*/port_name
cat /sys/class/fc_host/host*/port_type
cat /sys/class/fc_host/host*/port_state
/opt/DynamicLinkManager/bin/dlnkmgr view -sys
/opt/DynamicLinkManager/bin/dlnkmgr view -path
/sbin/dlmcfgmgr -r
/opt/DynamicLinkManager/bin/dlnkmgr view -path
/opt/DynamicLinkManager/bin/dlnkmgr view -drv
/opt/DynamicLinkManager/bin/dlnkmgr set -afb on
/opt/DynamicLinkManager/bin/dlnkmgr view -lu
for i in `ls /dev/sddlm*1`
do echo $i `/usr/lib/udev/scsi_id -g -u -d $i`
done
删除无效磁盘
###此步骤慎重###
for i in `/opt/DynamicLinkManager/bin/dlnkmgr view -lu|grep "(E)"|awk -F/ '{print $3}'|awk '{print $1}'`; do echo 1 > /sys/block/$i//device/delete;done
/opt/DynamicLinkManager/bin/dlnkmgr delete -path -s
dlmcfgmgr -r
/opt/DynamicLinkManager/bin/dlnkmgr view -lu
华为存储Linux平台命令如下:
rpm -qa|grep UltraPath
upadmin show path
upadmin show vlun
upadmin show vlun id=?
upadmin show upconfig
upLinux showDiskAlias
华为存储AIX平台命令如下
upadm show phypath
upadm start phypathcheck id=?
upadm show path
upadm show vlun
upadm show iostat
upadm show upconfig
EMC存储命令如下:
EMC PowerPath是用于进行路径选择,冗余和负载均衡的管理软件。
1)安装rpm包 # rpm -Uvh EMCpower.LINUX*.x86_64.rpm
2)注册PowerPathLicense:# emcpreg -install
根据提示输入PowerPath license key: BZPV-ZB4K-BFTK-QOME-ML9O-UYFB
3)加载PowerPath模块:# /etc/init.d/PowerPath start
查看是否出现新的伪设备:# fdisk -l |grep emcpower
检查负载平衡和故障切换策略:# powermt display dev=all
powermt display
powermt display dev=all
最新评论
这个牛
放下欲望,男人从来不醉,充分且必要
勇气、责任、自信、创新,为天下先!
软件即数据,软件即服务,软件即管理,软件就是对人类各种社会活动的仿真和记录。软件很重要,但软件不可能凌驾于业务之上,尤其不可能高人一等。