Operating System - HP-UX
1833016 Members
2239 Online
110048 Solutions
New Discussion

Migrating from Raid 1 to Raid 5 in hp-ux 11.0

 
Ilaria Zampollo
Occasional Contributor

Migrating from Raid 1 to Raid 5 in hp-ux 11.0

Hi,
I have a HVD10 storage enclosure connected to a K380 running hp-ux 11.0. Since we are currently running out of disk space, we would like to migrate from raid 1 to raid 5: do you know if this is possible in hp-ux 11.0? If not so, do you know how we could be able to implement this change?

Thanks in advance, ciao.
Ilaria.
2 REPLIES 2
Stefan Farrelly
Honored Contributor

Re: Migrating from Raid 1 to Raid 5 in hp-ux 11.0

If you change RAID levels you must offload your data to tape, create the new lun on the storage enclosure, then create new lvols and reload your data.

If youre lucky enough to have spare space you could create a new lun at your new raid level and then simply copy from old to new on your HP server.

The RAID level is created using commands specific to your storage enclosure. Youre going to need to consult your documentation on that. Try if from SAM - the commands may be available from SAM to talk to your storage enclosure to recreate your LUN to the desired RAID Level - but backup your data first as this will destroy it.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Bernhard Mueller
Honored Contributor

Re: Migrating from Raid 1 to Raid 5 in hp-ux 11.0

Ilaria,

the HVD10 is a SCSI JBOD, *not* a RAID system on which you bind LUNs.

So most likely you have setup logical volumes using LVM mirroring.
lvdisplay will tell you "Mirror copies 1"

You cannot setup software RAID5 with LVM. Even if you could it would not make sense from a performance point of view.

So your choices are: 1) add disks if you have free slots in the HVD10.
2) add an additional SCSI HBA and disk enclosure (not sure the HVD10 is still available)
3) replace a few disks by larger ones (this requires to create new volume groups and copy data over to the bigger disks)

Regards
Bernhard