Disk Enclosures
cancel
Showing results for 
Search instead for 
Did you mean: 

/dev/vg01 files deleted - How do I restore ?

Jay_41
Occasional Contributor

/dev/vg01 files deleted - How do I restore ?

The files under /dev/vg01 were accidently deleted. I believe the /etc/lvmtab is corrupted as well since a vgchange -a n /dev/vg01 fails.

How can I restore /dev/vg01 ?

2 REPLIES
A. Clay Stephenson
Acclaimed Contributor

Re: /dev/vg01 files deleted - How do I restore ?

First, mv /etc/lvmtab to /etc/lvmtab.save
Next run vgscan.

You may want to run vgscan -p -v first to preview its actions. Man vgscan beforew you do any of this but almost certainly this will fix you.
If it ain't broke, I can fix that.
justin berkman
Frequent Advisor

Re: /dev/vg01 files deleted - How do I restore ?

yes it's possible
run vgscan and the problem is resolved