Operating System - HP-UX
1758010 Members
2011 Online
108866 Solutions
New Discussion

HP-UX 10.20 - failing mirrored boot disk (lvm)

 
Bill Hassell
Honored Contributor

Re: HP-UX 10.20 - failing mirrored boot disk (lvm)

c1t9d0 not in /etc/lvmtab

That's good. vgscan looks at every disk header and tries to find a match.
This particular disk was used in the past so it has leftover LVM info.
So it is safe to use that disk for a mirror.

Start by clearing all the LVM info:

# pvcreate -f /dev/rdsk/c1t9d0 

Then add the disk to the VG:

# vgextend vgwhatever /dev/dsk/c1t9d0 

Check the end of the VG listing to see that it is there:

# vgdisplay -v vgwhatever

Now mirror each of the lvols in that VG.

# lvextend -m 1 /dev/vgwhatever/lvol1
etc

Once all is mirrored, run vgdisplay again to verify mirroring.



Bill Hassell, sysadmin