undo LVM?

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Thu May 6 10:38:53 UTC 2010


Herman Aalderink wrote:
 > hermanbb at tabang1:~$ sudo lvdisplay
> hermanbb at tabang1:~$ sudo lvdisplay
> hermanbb at tabang1:~$ 
> 
> hermanbb at tabang1:~$ sudo lvscan
> hermanbb at tabang1:~$ sudo lvscan
> hermanbb at tabang1:~$ 
> 
> I dont get a response with either cmd.

Herman, am I right in thinking that you have previously used these LVM
volumes and you believe they have data in them? If so, the following
might help.

CAVEAT: I don't know whether this will help and it may destroy data! So
check whether it matches your situation before using it. Don't just try
it and hope!

I have had problems before with LVM metadata getting overwritten and I
managed to fix it. LVM keeps backup copies of it.

The specific commands I used are listed at
<http://www.tldp.org/HOWTO/LVM-HOWTO/recovermetadata.html>

Note that on my system, the backup directory was /etc/lvm/backup rather
than /etc/lvm/archive/ - It was a suse system and I don't know exactly
where the data is on an ubuntu system.

There are some more notes about recovering LVM systems at
<http://www.novell.com/coolsolutions/appnote/19386.html>. It didn't
excactly match what I needed in my case but it was useful reading.

Cheers, Dave




More information about the ubuntu-users mailing list