hds linux 识别盘符,HDS HDLM让集群两边认到的盘符一样

参考HDS官方资料:https://community.hds.com/thread/3132

先/opt/DynamicLinkManager/bin/dlmchname -o生成文件/etc/opt/DynamicLinkManager/dlmchname.conf

然后修改/etc/opt/DynamicLinkManager/dlmchname.conf里名字再/opt/DynamicLinkManager/bin/dlmchname -f

然后reboot机器

1) Create a definition file:/opt/DynamicLinkManager/bin/dlmchname -o

[root@localhost ~]# /opt/DynamicLinkManager/bin/dlmchname -o

KAPL12374-I This operation will change the HDLM device configuration. Do you want to continue? [y/n]:y

KAPL12379-I The utility for changing HDLM device names finished normally.

2) The file will be at/etc/opt/DynamicLinkManager/dlmchname.conf. The content is similar to this:

serial number    LDEV ID      HDLM device name.

3585011299      0090            sddlmac

3585011299      0091            sddlmab

3585011299      0092            sddlmaa

The columns are serial number, LDEV ID, and HDLM device name.

3) Modify the HDLM device names to whatever you want

4) Update HDLM using definition file:/opt/DynamicLinkManager/bin/dlmchname -f

5) Reset the server Reboot

6) Copy the definition file to other servers in the cluster and run steps 4 & 5.

查看dlmchname.conf的内容

cat  /etc/opt/DynamicLinkManager/dlmchname.conf

# The device name change definition file

# This file is generated by dlmchname

# Format:

#  S/N: Serial number of storage system

#  LUN: LU number

#  New HDLM device: New logical device file name of HDLM device

# Example: 171722 0002 sddlmaa

# For more information on how to modify this file,

# refer to the HDLM user's guide

1040422143 0005 sddlmae

1040422143 0008 sddlmak

1040422143 0009 sddlmab

1040422143 000A sddlmaa

1040422143 000B sddlmai

1040422143 000C sddlmao

1040422143 000D sddlmaf

1040422143 000E sddlmac

1040422143 000F sddlmaj

1040422143 0010 sddlman

1040422143 0011 sddlmag

1040422143 0012 sddlmad

1040422143 0013 sddlmal

1040422143 0014 sddlmam

1040422143 0015 sddlmah

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值