设备机型:IBM N 5200
磁 盘:300G 1.5K
问 题:查看磁盘status时,此盘显示bad lable
处理过程:
1.查看磁盘状态。
=============================================================
3B0NAS> aggr status -r
Aggregate aggr0 (online, raid_dp) (block checksums)
Plex /aggr0/plex0 (online, normal, active)
RAID group /aggr0/plex0/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
dparity 0c.16 0c 1 0 FC:A - FCAL 15000 418000/856064000 420156/860480768
parity 0c.17 0c 1 1 FC:A - FCAL 10000 272000/557056000 280104/573653840
data 0c.18 0c 1 2 FC:A - FCAL 10000 272000/557056000 280104/573653840
data 0c.19 0c 1 3 FC:A - FCAL 10000 272000/557056000 280104/573653840
data 0c.20 0c 1 4 FC:A - FCAL 10000 272000/557056000 280104/573653840
data 0c.21 0c 1 5 FC:A - FCAL 10000 272000/557056000 280104/573653840
Aggregate aggr1 (online, raid4) (block checksums)
Plex /aggr1/plex0 (online, normal, active)
RAID group /aggr1/plex0/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
parity 0a.35 0a 2 3 FC:B - FCAL 15000 418000/856064000 420584/861357448
data 0c.22 0c 1 6 FC:A - FCAL 15000 272000/557056000 274845/562884296
data 0c.23 0c 1 7 FC:A - FCAL 15000 272000/557056000 274845/562884296
data 0a.36 0a 2 4 FC:B - FCAL 15000 418000/856064000 420156/860480768
data 0a.32 0a 2 0 FC:B - FCAL 15000 272000/557056000 280104/573653840
Spare disks
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
Spare disks for block or zoned checksum traditional volumes or aggregates
spare 0a.33 0a 2 1 FC:B - FCAL 15000 418000/856064000 420156/860480768 (not zeroed)
Broken disks
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
bad label 0a.34 0a 2 2 FC:B - FCAL 15000 272000/557056000 280104/5736538
==================================================================
2.修复bad label
2.1 首先进入高级模式
priv set advanced
2.2 修复Broken disk的bad label状态
disk unfail -s 0a.34
2.3 查看修复后的状态
==================================================================
3B0NAS*> priv set admin
3B0NAS> vol status -r
Aggregate aggr0 (online, raid_dp) (block checksums)
Plex /aggr0/plex0 (online, normal, active)
RAID group /aggr0/plex0/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
dparity 0c.16 0c 1 0 FC:A - FCAL 15000 418000/856064000 420156/860480768
parity 0c.17 0c 1 1 FC:A - FCAL 10000 272000/557056000 280104/573653840
data 0c.18 0c 1 2 FC:A - FCAL 10000 272000/557056000 280104/573653840
data 0c.19 0c 1 3 FC:A - FCAL 10000 272000/557056000 280104/573653840
data 0c.20 0c 1 4 FC:A - FCAL 10000 272000/557056000 280104/573653840
data 0c.21 0c 1 5 FC:A - FCAL 10000 272000/557056000 280104/573653840
Aggregate aggr1 (online, raid4) (block checksums)
Plex /aggr1/plex0 (online, normal, active)
RAID group /aggr1/plex0/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
parity 0a.35 0a 2 3 FC:B - FCAL 15000 418000/856064000 420584/861357448
data 0c.22 0c 1 6 FC:A - FCAL 15000 272000/557056000 274845/562884296
data 0c.23 0c 1 7 FC:A - FCAL 15000 272000/557056000 274845/562884296
data 0a.36 0a 2 4 FC:B - FCAL 15000 418000/856064000 420156/860480768
data 0a.32 0a 2 0 FC:B - FCAL 15000 272000/557056000 280104/573653840
Spare disks
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
Spare disks for block or zoned checksum traditional volumes or aggregates
spare 0a.34 0a 2 2 FC:B - FCAL 15000 272000/557056000 280104/573653840 (not zeroed)
spare 0a.33 0a 2 1 FC:B - FCAL 15000 418000/856064000 420156/860480768 (not zeroed)
3B0NAS>
=======================================================================
修复结果ok!!
本文出自 “古铜色的韵律” 博客,谢绝转载!
IBM N Series disk "bad label"修正处理
原文地址:http://9882derek.blog.51cto.com/262882/1981510