1830204 Members
10827 Online
109999 Solutions
New Discussion

pvcreate issue

 
SOLVED
Go to solution
Rahul Pednekar
Frequent Advisor

pvcreate issue

Dear All,

I have exported a vg to which the below device belongs to. now I want to create this as a new PV and extend some other VG when I try to vreate it as a ne PV it give me some error. below is the error.

# pvcreate /dev/rdsk/c12t0d6
pvcreate: The physical volume already belongs to a volume group

# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0
/dev/vg01
/dev/dsk/c12t0d1
/dev/vg02
/dev/dsk/c12t0d2
/dev/vg03
/dev/dsk/c12t0d4
/dev/vg04
/dev/dsk/c12t0d5


Please help

Thanks in Advance,,

Rahul
3 REPLIES 3
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: pvcreate issue

Hi Rahul,

# pvcreate -f /dev/rdsk/c12t0d6
-f force

Regards,
Robert-Jan
melvyn burnard
Honored Contributor

Re: pvcreate issue

try using pvcreate -f

If that fails, do:
dd if=/stand/vmunix of=/dev/rdsk/c12t0d6 bs=10k

Then retry the pvcreate
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Rahul Pednekar
Frequent Advisor

Re: pvcreate issue

Thanks All

Resolved the issue