DR testing -Urgent help

 
SOLVED
Go to solution
vpons
Frequent Advisor

DR testing -Urgent help

On Hp10.20 k580 series

I ignited the box and everything came up fine.
In single user mode, I did vgexport vg01 of lvmtab to get rid of vg01 and also removed entries related to vg01 in fstab and then booted box back to run level 3
When I create PV, I get message that it is already there.Then I do the follwing steps:
mkdir /dev/vg01 --worked
mknod /dev/vg01/group c 64 0x010000 --worked
when I do vgcreate I get the following error...

vgcreate /dev/vg01 /dev/dsk/c2t0d0 /dev/dsk/c2t0d1 /dev/dsk/c2t0d2 /dev/dsk/c2t0d3

Increased the number of physical extents per physical volume to 4007
vgcreate:volume group "/dev/vg01" could not be created.
Device busy

Please help me.
Thanks in advance.
vpons
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor
Solution

Re: DR testing -Urgent help

Hi:

A 'vgexport' does not eliminate the LVM headers (VGID, PVID, etc).

# pvcreate -f /dev/dsk/cXtYdZ

...will force the action. Then do your 'vgcreate' again.

Regards!

...JRF...
vpons
Frequent Advisor

Re: DR testing -Urgent help

James, Thank you much for your prompt help and it worked.

vpons