1835120 Members
2417 Online
110076 Solutions
New Discussion

Re: lvm

 
HP-UX User_1
Frequent Advisor

lvm

I am trying to activate my volume and i am getting and error. When i try to vhchange -a y /dev/vg02 i get "unknown error". The disks for this volume group are good and all the other volume groups are fine. What could be wrong
4 REPLIES 4
Armin Feller
Honored Contributor

Re: lvm

It seams that the control file of the volume group has been corruped. You have to export/import the volume group.

# vgexport vg02

# mkdir /dev/vg02
# mknod /dev/vg02/group c 64 0x020000
# vgimport vg02 /dev/dsk/... /dev/dsk/c...

# vgchange -a y vg02

That should work ;-)

Regards,
Armin
harry d brown jr
Honored Contributor

Re: lvm

what does

vgdisplay vg02

produce?

live free or die
harry
Live Free or Die
Ken Hubnik_2
Honored Contributor

Re: lvm

Check the output from this command and see if the information is correct and up to date.

strings /etc/lvmtab
Bill McNAMARA_1
Honored Contributor

Re: lvm

mknod /dev/vg02/group c 64 0x020000

could easily be a source of error, vg02 does not have to be minor 0x020000.

ll /dev/*/group

and choose a unique identifier for the v group.

Later,
Bill
It works for me (tm)