Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-29-2007, 04:06 PM   #1
Registered: Jan 2004
Location: VT, USA
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125

Rep: Reputation: 15
LVM: Deleted my system VG0 and reinstalled system, can't find VG1

I used to be a linux geek... then I went to albania for 2 years. I had all this cool stuff set up on my computer and now I have no idea how to use it.

I had been experimenting with LVM2 so I created 13 partitions and used a few small ones as normal /, /boot, swap, etc and the rest I used as LVMs. The partitions were in two groups vg0 and vg1. The one group contained lv named things like vg0-var, vg0-opt, vg0-home, etc that corresponded to /var, /opt, /home, etc. The second was my storage space.

When I came home my system was all messed up from family use and not remembering anything about linux I simply reformatted the partitions that were solely attached to vg0 as reiserfs and reinstalled the latest version of Ubuntu (7.10)

I've installed lvm2 but now I don't know what to do to safely re-add the lvm partitions to vg1 and get back my stuff.

here's what cfdisk thinks of my hard drive:

      Name              Flags             Part Type       FS Type                   [Label]               Size (MB)
      sda1              Boot               Primary        Linux ext2                                          32.91
      sda2                                 Primary        Linux ReiserFS            [/]                     1003.49
      sda5                                 Logical        Linux ReiserFS                                   14715.03
      sda6                                 Logical        Linux ReiserFS                                   14715.03
      sda7                                 Logical        Linux                                            14715.03        
      sda8                                 Logical        Linux LVM                                        14715.03
      sda9                                 Logical        Linux LVM                                        14715.03
      sda10                                Logical        Linux LVM                                        14715.03
      sda11                                Logical        Linux LVM                                        14715.03
      sda12                                Logical        Linux LVM                                        14715.03
      sda13                                Logical        Linux                                            14715.03
When I run vgchange -a y I get

  Couldn't find device with uuid 't2iDpK-GAXD-5QzZ-XJz4-jWWR-W4mk-2ZjRGe'.
  Couldn't find all physical volumes for volume group vg1.
  Volume group "vg1" not found
I think that I may have deleted one of the partitions by accident but then put it back right away without changing any data on it.

Is there any hope of running a few simple commands to get this stuff back? If it would take me more than 2 hours it's not worth it. The only stuff not backup up on my DVDs is a few TV shows and a ton of music I got from a friend.

I'm more interested in learning how to do it for the sake of knowing and being able to help someone else in the future than out of desperate need.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find out if my system is i386, i486, or i586? Is there a system info command? mlsbraves Linux - General 6 02-17-2009 05:08 PM
system-config-lvm anilbh Linux - Hardware 7 08-18-2006 09:43 PM
deleted system accounts hey hey Linux - Newbie 6 06-27-2006 02:00 PM
Can I find links in the system that point to certain files throughout the system? HGeneAnthony Linux - Newbie 3 02-18-2005 09:28 AM
Help with backup on an lvm system wlfdgcrkz Linux - Software 1 05-10-2003 12:38 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration