Operating System - HP-UX
1753719 Members
5985 Online
108799 Solutions
New Discussion юеВ

Does vgcfgrestore of replaced boot disk automatically provide for boot header in PV?

 
SOLVED
Go to solution
Ralph Grothe
Honored Contributor

Does vgcfgrestore of replaced boot disk automatically provide for boot header in PV?

Hello,

I have the recepie for root disk replacement from the Cookbook's LVM chapter at my disposal.

However, since it doesn't mention a "pvcreate -B " I assume that the vgcfgrestore of the failed disk from LVM conf will automatically initialize the replacment PV such that the required extra space for boot data will be provided for.

I couldn't find any remarks confirming my assumption in man vgcfgrestore.

Would I have to initialize the new disk with a prior pvcreate -B?

Well I think it wouldn't hurt,
just to be on the safe side.
Would it?
Madness, thy name is system administration
2 REPLIES 2
melvyn burnard
Honored Contributor
Solution

Re: Does vgcfgrestore of replaced boot disk automatically provide for boot header in PV?

yes it does.
If you read the backup file using vgcfgrestore you can see what disks were bootable at the time vgcfgbackup ran
e.g.
vgcfgrestore -n vg00 -l

Not sure if you have seen this, but it may also be of use
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Ralph Grothe
Honored Contributor

Re: Does vgcfgrestore of replaced boot disk automatically provide for boot header in PV?

Hi Melvyn,

the failed disk shows up in the vgcfgbackup as being a boot disk.
Thus a vgcfgrestore will most likely inititalize the PV with boot space.

# vgcfgrestore -l -n vg00
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 2 ----
/dev/rdsk/c1t2d0 (Bootable)
/dev/rdsk/c2t2d0 (Bootable)


Thanks also for providing the link to the fine LVM whitepaper about failed disks.
I haven't seen this one yet.
So it must be a rather new release?

From what I've read by quickly browsing through it I fear LVM OLR will only be available for 11i?

Too sad this box runs 11.00,
but I'm prepared to fix manually.
Madness, thy name is system administration