1834449 Members
2519 Online
110067 Solutions
New Discussion

PV-Uncreate?

 
SOLVED
Go to solution
ConnieK
Regular Advisor

PV-Uncreate?

I did a pvcreate on a wrongly provisioned disk. No data on the disk at this time. How do I pv-uncreate or do I even need to? Nothing else has been done.
Independent by nature
6 REPLIES 6
steven Burgess_2
Honored Contributor
Solution

Re: PV-Uncreate?

Hi

You can do a

pvremove /dev/dsk/c#t#d#

Regards

Steve
take your time and think things through
erics_1
Honored Contributor

Re: PV-Uncreate?

You just got the disk ready to be added to a volume group. Nothing more needs to be done with it based on what you've stated.

Regards,
Eric
Pete Randall
Outstanding Contributor

Re: PV-Uncreate?

Unless you intend to use this disk as a raw logical volume in the future, you don't even need to. Probably the safest bet - to avoid confusion in the future - is to run pvremove now, though.


Pete

Pete
DCE
Honored Contributor

Re: PV-Uncreate?

the pvremove command will take care of iit. Be sure to run it against the rdsk i.e.

pvremove /dev/rdsk/c0t0d0

just substitute you disk in place of c0t0d0

Dave
ConnieK
Regular Advisor

Re: PV-Uncreate?

Thanks all - just what I needed.
Independent by nature
ConnieK
Regular Advisor

Re: PV-Uncreate?

Question answered directly and fully - thanks again!
Independent by nature