410 文字
2 分
storcliでraid5からraid6にmigrateできない
ログを書いておきます
physical disk
root@dell /h/matsu# /opt/MegaRAID/storcli/storcli64 /c0/d0 showController = 0Status = SuccessDescription = Show Diskgroup Succeeded
TOPOLOGY :========
--------------------------------------------------------------------------DG Arr Row EID:Slot DID Type State BT Size PDC PI SED DS3 FSpace-------------------------------------------------------------------------- 0 - - - - RAID5 Optl N 836.625 GB dsbl N N none N 0 0 - - - RAID5 Optl N 836.625 GB dsbl N N none N 0 0 0 252:0 6 DRIVE Onln N 278.875 GB dsbl N N none - 0 0 1 252:1 5 DRIVE Onln N 278.875 GB dsbl N N none - 0 0 2 252:2 7 DRIVE Onln N 278.875 GB dsbl N N none - 0 0 3 252:3 4 DRIVE Onln N 278.875 GB dsbl N N none ---------------------------------------------------------------------------
DG=Disk Group Index|Arr=Array Index|Row=Row Index|EID=Enclosure Device IDDID=Device ID|Type=Drive Type|Onln=Online|Rbld=Rebuild|Dgrd=DegradedPdgd=Partially degraded|Offln=Offline|BT=Background Task ActivePDC=PD Cache|PI=Protection Info|SED=Self Encrypting Drive|Frgn=ForeignDS3=Dimmer Switch 3|dflt=Default|Msng=Missing|FSpace=Free Space Presentvolume group
root@dell /h/matsu# /opt/MegaRAID/storcli/storcli64 /c0/v0 showController = 0Status = SuccessDescription = None
Virtual Drives :==============
-----------------------------------------------------------DG/VD TYPE State Access Consist Cache sCC Size Name-----------------------------------------------------------0/0 RAID5 Optl RW Yes RWTC - 836.625 GB-----------------------------------------------------------
Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|dgrd=DegradedOptl=Optimal|RO=Read Only|RW=Read Write|HD=Hidden|B=Blocked|Consist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack|AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=ScheduledCheck Consistencyraid5からraid6に変更したいけどできない
root@dell /h/matsu# /opt/MegaRAID/storcli/storcli64 /c0/v0 start migrate type=raid6Controller = 0Status = FailureDescription = None
Detailed Status :===============
---------------------------------------------VD Operation Status ErrCd ErrMsg--------------------------------------------- 0 MIGRATE Failed 3 invalid arguments---------------------------------------------command help
root@dell /h/matsu# /opt/MegaRAID/storcli/storcli64 /c0/v0 start migrate help Storage Command Line Tool Ver 1.15.05 Jan 22, 2015
(c)Copyright 2015, AVAGO Corporation, All Rights Reserved.
NAME: Start Migration
SYNTAX: storcli /cx/vx start migrate type=raidx [option=add|remove drives=[e:]s|[e:]s-x|[e:]s-x,y] [Force]
DESCRIPTION: Starts Migration on the specified virtual drive to a specified raid level
OPTIONS:raidx - Raid level to which migration needs to be done. where x specifies the raid level value.option - add - adds the specified PD to the migrated raid level. remove - removes the specified PD from the migrated raid level.Drives - Specifies the list PD's which needs to be added or removed.Force - If specified, then Migration will start even if any drive in the DG is secured by FDECONVENTION:/cx - specifies the controller where X is the controller index/vx - specifies the virtualdrive where X is the vd ID storcliでraid5からraid6にmigrateできない
https://blog.teraren.com/posts/storcli-raid5-raid6-migrate/