Operating System - HP-UX
1748093 Members
5969 Online
108758 Solutions
New Discussion юеВ

Re: HPUX RAID 1 COnfiguration

 
Justin Teitzel
Occasional Contributor

HPUX RAID 1 COnfiguration

Hi Guys, Question is - how do you go about repairing a software RAID 1 set on a HPUX server when a drive fails and is replaced. I have swapped out the disk, but it doesn't seem to auto rebuild.
Thanks,
5 REPLIES 5
Johnson Punniyalingam
Honored Contributor

Re: HPUX RAID 1 COnfiguration

>>software RAID 1 set on a HPUX server when a drive fails and is replaced. I have swapped out the disk, but it doesn't seem to auto rebuild.<<

Hi Justine,

If i am not wrong software RAID , you need to remirror the failed disk,

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Bill Hassell
Honored Contributor

Re: HPUX RAID 1 COnfiguration

RAID concepts are usually associated with specialized hardware. If by the term Software RAID, you are referring to Mirror/UX, then you need to follow the disk replacement guide (attached). There is no auto-rebuild for software mirroring. Pay special attention to the instructions if the bad disk is part of your boot disk set.


Bill Hassell, sysadmin
Johnson Punniyalingam
Honored Contributor

Re: HPUX RAID 1 COnfiguration

Hi Justine,

If yor faild disk part of vg00..?

If Yes , please follow attchment from <<>>

If not,

if you have already repalced the failed disk

# vgcfgrestore -n vgXX /dev/rdsk/c2t6d0
# vgchange -a y vgXX
# vgsync vgXX

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Taifur
Respected Contributor

Re: HPUX RAID 1 COnfiguration

Hi Justin

For repairing software RAID use

#vgsync
#lvsync

For details check man pages of vgsync, lvsync

RGds//
Taifur
Justin Teitzel
Occasional Contributor

Re: HPUX RAID 1 COnfiguration

Hi Guys, Thanks for all the responses. I have run the vgcfgrestore etc OK, but when I run the vgsync I get the below output. Any Ideas?

Thanks,
vgsync: Couldn't re-synchronize stale partitions of the logical volume:

I/O error

vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol1".

vgsync: Couldn't re-synchronize stale partitions of the logical volume:

I/O error

vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol2".

vgsync: Couldn't re-synchronize stale partitions of the logical volume:

I/O error

vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol3".

vgsync: Couldn't re-synchronize stale partitions of the logical volume:

I/O error

vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol4".

vgsync: Couldn't re-synchronize stale partitions of the logical volume:

I/O error

vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol5".

vgsync: Couldn't re-synchronize stale partitions of the logical volume:

I/O error

vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol6".

vgsync: Couldn't re-synchronize stale partitions of the logical volume:

I/O error

vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol7".

vgsync: Couldn't re-synchronize stale partitions of the logical volume:

I/O error

vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol8".

vgsync: Couldn't re-synchronize stale partitions of the logical volume:

I/O error

vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol9".

Resynchronized logical volume "/dev/vg00/lvol10".

Resynchronized logical volume "/dev/vg00/lvol50".

vgsync: Couldn't resynchronize volume group "vg00"