Re: RAID0 to RAID5 migration using hpacucli (1193 Views)
Reply
Occasional Visitor
v_levin
Posts: 2
Registered: ‎11-22-2011
Message 1 of 3 (1,207 Views)

RAID0 to RAID5 migration using hpacucli

Hi all!

 

I've got RAID0 on Smart Array P400.

 

Can i migrate it to RAID5 without data loss by adding one more HDD and doing this:

# hpacucli ctrl slot=6 ld 1 add drives=allunassigned
# hpacucli ctrl slot=6 ld 1 modify raid=5

 

If not, how can I swap data from one drive (with status "Predictive Failure") to newly added?


Thank you very much for your answers!


Please use plain text.
Esteemed Contributor
Modris Bremze
Posts: 337
Registered: ‎09-11-2009
Message 2 of 3 (1,197 Views)

Re: RAID0 to RAID5 migration using hpacucli

If you use RAID0, the disk, which has the predictive failure, needs to be somehow duplicated so it can be removed from the array without data loss. Maybe this will help:

http://h30499.www3.hp.com/t5/System-Administration/Migrate-RAID0-to-RAID1-online-with-hpacucli/td-p/...

Please use plain text.
Occasional Visitor
v_levin
Posts: 2
Registered: ‎11-22-2011
Message 3 of 3 (1,193 Views)

Re: RAID0 to RAID5 migration using hpacucli

hpacucli help says:

"<target> modify [drives=[#:]#:#,[#:]#:#,[#:]#:#-[#:]#:#],...]
[spares=[#:]#:#,[#:]#:#,[#:]#:#-[#:]#:#],...|none]


Specifies the drives to be used to replace drives and spares on an array (Drive Movement)."

 

# hpacucli ctrl slot=6 ld 1 modify drives=<pre-failed-drive> spares=<new-drive>

 

Don't you know, is this correct?

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation