在线删除lun

[17:01:42 root()@logdb2 yaoxin]# /opt/DynamicLinkManager/bin/dlnkmgr view -lu
Product       : HUS100
SerialNumber  : 93012845        
LUs           : 6

iLU  HDevName Device   PathID Status     
0002 sddlmaa  /dev/sdl 000010 Online     
              /dev/sdm 000011 Online     
0004 sddlmac  /dev/sdb 000000 Online     
              /dev/sdg 000005 Online     
0104 sddlmad  /dev/sdc 000001 Online     
              /dev/sdh 000006 Online     
0406 sddlmaf  /dev/sdd 000002 Online     
              /dev/sdi 000008 Online     
0407 sddlmae  /dev/sde 000003 Online     
              /dev/sdj 000007 Online     
0408 sddlmag  /dev/sdf 000004 Online     
              /dev/sdk 000009 Online     
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/10/27 17:02:57
[17:02:57 root()@logdb2 yaoxin]# /sbin/dlmcfgmgr -v
HDevName        Management      Device     Host    Channel Target  Lun    
/dev/sddlmaa    configured      /dev/sdl         1       0       0       5
                                /dev/sdm         1       0       1       5
/dev/sddlmac    configured      /dev/sdb         1       0       0       0
                                /dev/sdg         1       0       1       0
/dev/sddlmad    configured      /dev/sdc         1       0       0       1
                                /dev/sdh         1       0       1       1
/dev/sddlmae    configured      /dev/sde         1       0       0       3
                                /dev/sdj         1       0       1       3
/dev/sddlmaf    configured      /dev/sdd         1       0       0       2
                                /dev/sdi         1       0       1       2
/dev/sddlmag    configured      /dev/sdf         1       0       0       4
                                /dev/sdk         1       0       1       4
KAPL10302-I /sbin/dlmcfgmgr completed normally.
[17:16:27 root()@logdb2 yaoxin]# echo "scsi remove-single-device 1 0 0 5" > /proc/scsi/scsi
[17:16:40 root()@logdb2 yaoxin]# echo "scsi remove-single-device 1 0 1 5" > /proc/scsi/scsi
[17:16:49 root()@logdb2 yaoxin]# /sbin/dlmcfgmgr -i /dev/sddlmaa
KAPL10339-I This operation will change the configuration of HDLM devices. Do you want to continue? [y/n]: y
KAPL10302-I /sbin/dlmcfgmgr completed normally.
[17:17:24 root()@logdb2 yaoxin]# /sbin/dlmcfgmgr -r
KAPL10339-I This operation will change the configuration of HDLM devices. Do you want to continue? [y/n]: y
KAPL10302-I /sbin/dlmcfgmgr completed normally.
[17:17:35 root()@logdb2 yaoxin]# /sbin/dlmcfgmgr -v
HDevName        Management      Device     Host    Channel Target  Lun    
/dev/sddlmaa    configured      -                1       0       0       5
                                -                1       0       1       5
/dev/sddlmac    configured      /dev/sdb         1       0       0       0
                                /dev/sdg         1       0       1       0
/dev/sddlmad    configured      /dev/sdc         1       0       0       1
                                /dev/sdh         1       0       1       1
/dev/sddlmae    configured      /dev/sde         1       0       0       3
                                /dev/sdj         1       0       1       3
/dev/sddlmaf    configured      /dev/sdd         1       0       0       2
                                /dev/sdi         1       0       1       2
/dev/sddlmag    configured      /dev/sdf         1       0       0       4
                                /dev/sdk         1       0       1       4
KAPL10302-I /sbin/dlmcfgmgr completed normally.
[17:17:45 root()@logdb2 yaoxin]# /sbin/dlmcfgmgr -u /dev/sddlmaa
KAPL10339-I This operation will change the configuration of HDLM devices. Do you want to continue? [y/n]: y
KAPL10341-I The HDLM device configurations have been changed.
KAPL10302-I /sbin/dlmcfgmgr completed normally.
[17:18:11 root()@logdb2 yaoxin]# /sbin/dlmcfgmgr -v
HDevName        Management      Device     Host    Channel Target  Lun    
/dev/sddlmac    configured      /dev/sdb         1       0       0       0
                                /dev/sdg         1       0       1       0
/dev/sddlmad    configured      /dev/sdc         1       0       0       1
                                /dev/sdh         1       0       1       1
/dev/sddlmae    configured      /dev/sde         1       0       0       3
                                /dev/sdj         1       0       1       3
/dev/sddlmaf    configured      /dev/sdd         1       0       0       2
                                /dev/sdi         1       0       1       2
/dev/sddlmag    configured      /dev/sdf         1       0       0       4
                                /dev/sdk         1       0       1       4
KAPL10302-I /sbin/dlmcfgmgr completed normally.
[17:18:16 root()@logdb2 yaoxin]# 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值