LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-04-2009, 10:35 AM   #1
rietsit
LQ Newbie
 
Registered: Nov 2005
Posts: 17

Rep: Reputation: 0
need help to rescue LVM


Hi,

I need help rescuing my drives.

using Fedora 10,
have 2 identical 80GB drives:
hda-fedora 10 dual boot with XP (I think sda5 is the partition with FC10)
hdb-just for backups 2 partitions NTFS and Linux, (I was trying to format sdb3)


Code:
fdisk –l

dev/sda1                dell utility
dev/sda2   * boot       HPFS/NTFS
dev/sda3                Linux
dev/sda4	        Extended
dev/sda5                Linux LVM

dev/sdb1                dell utility
dev/sdb2   * boot        HPFS/NTFS
dev/sdb3                linux
Code:
lvm pvscan

 Could not find device with uuid…….mMolf
 Could not find device with uuid…….mMolf
 PV /dev/sda5 VG VolGroup00 lvm2 57GB/0 free
 PV unknown device VG VolGroup00 lvm2 62GB/62Gb free
 Total 2 [119GB/in use=2 [119 GB]/in no VG 0[0]
Code:
lvm vgscan
 
 Reading all physical volumes
 Could not find device with uuid…….
 Could not read all physical volemes for volume group Volgroup00
 VolGroup00 not found
Code:
lvm lvscan

 Could not find device with uuid…….mMolf
 could not find all physical volumes for volume group VolGroup00
 Could not find device with uuid…….mMolf
 could not find all physical volumes for volume group VolGroup00
thanks

Last edited by rietsit; 06-04-2009 at 11:54 AM.
 
Old 06-04-2009, 11:06 AM   #2
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
You need to give us a bit more to work on. What changes did you do that lead to this situation?

Do you have any logs? Don't you have LVM backup files of your LVM structure?

What about data backups?
 
Old 06-04-2009, 11:48 AM   #3
rietsit
LQ Newbie
 
Registered: Nov 2005
Posts: 17

Original Poster
Rep: Reputation: 0
thanks eco.

actually I was trying to create a backup when this happened. I have data backups from few months ago when I upgraded to FC10
I have 2x80GB hardrives:
-hdA is dual boot XP/Fedora 10 (I think sda5 is Fedora and all my stuff)
-hdB is just for backups NTFS/linux (I was trying to format sdb3 to ext4)

2 days ago, I was trying to format one of the partitions on hdB. I was using Gparted and I formatted it to EXT4.

I minimized Gparted and was working on the PC for a while, and then I wanted to shutdown the PC and I saw a confirmation from Gparted that all actions were successfull (I assume it was the format of the B drive linux partition hdb3, then I just shut down the PC, without checking anything.
yesterday morning I turn on and cannot boot,
-tried booting old kernel from grub, no luck.
-tried Fedora 10 DVD -recovery said "no linux partitions"
-disabled B drive in BIOS and tried everything again, noluck

This is the boot error from FC10:
Code:
VolGroup00 not found
Unable to access resume device (dev/Volgroup00/lgVol01)
Mount: could not find filesystem /dev/root
Reading all physical volumes
Could not find device with uuid…….
VolGroup00 not found
Then I tried Fedora 10 DVD –rescue installed system

I got error:
Code:
You don’t have any linux partitions, press return to get a shell.
let me know where can I find the logs. i am pretty familiar with fedora but I am not guru.

I really appreciate your time and effort.

Last edited by rietsit; 06-04-2009 at 11:56 AM.
 
Old 06-05-2009, 01:12 AM   #4
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
Hi and sorry for the delay in answering,

I'd start by booting on a liveCD and have a look where your ext4 really is. Then you might do a chroot into your system to try and fix it.

It might have changed your uuid when you formated (I'm honestly not sure when the uuid changes... anyone?).

Take note of the uuid it expects and have a look in /dev/disk/by-uuid what uuid you have now. All you might have to do is change the uuid lvm expects to the current one... but if you formated the partition with LVM there is not much hope of recovery.

All the best.
 
Old 06-05-2009, 10:13 AM   #5
rietsit
LQ Newbie
 
Registered: Nov 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Hi eco,

meanwhile I got Gparted live cd and booted up, but it does not support LVM yet, and then I booted a

then I tried Linux mint 7 and that let me see all the logical drives but the one I want to see. by the way , the sdb3 ext4 looks fine, it is empty just with one folder -"lost and found", i read somewhere that Mint does not support LVM, but suse does, I will try opensuse 11.1

I tried chroot earlier, boot did not work, same errors.
i would try to change the uuid, but dont know where, I cannot get to fstab, is there another place i can change the uuid for LVM.

thanks for your time and effort
 
Old 06-05-2009, 11:12 AM   #6
rietsit
LQ Newbie
 
Registered: Nov 2005
Posts: 17

Original Poster
Rep: Reputation: 0
I booted into F11preview live and took a screenshot of LVM

Last edited by rietsit; 06-08-2009 at 10:31 AM.
 
Old 06-05-2009, 12:25 PM   #7
rietsit
LQ Newbie
 
Registered: Nov 2005
Posts: 17

Original Poster
Rep: Reputation: 0
F11preview has a bug, I could not mount any drives, but I got the KDE version and was able to mount an external drive, and through LVM I mounted LogVoL00-edit properties, mount as /media/disk

and now I am copying data.
 
Old 06-06-2009, 01:45 PM   #8
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
did you solve this in the end? Sorry, was in training and could not answer.
 
Old 06-08-2009, 11:44 AM   #9
rietsit
LQ Newbie
 
Registered: Nov 2005
Posts: 17

Original Poster
Rep: Reputation: 0
thanks eco,
nonone else replied,
I am still copying the data, i shut it off over the weekend, did not want to mess it up.

what I'll try to do is to mount the volgroup00 as / (root) after reboot, the LVM program let's me do it, I just want to make a fresh backup of data before I restart.

will keep you posted what happened.
thanks for keeping an eye on me.

Last edited by rietsit; 06-08-2009 at 02:24 PM.
 
Old 06-08-2009, 04:59 PM   #10
rietsit
LQ Newbie
 
Registered: Nov 2005
Posts: 17

Original Poster
Rep: Reputation: 0
tried the older FC10 live gnome CD, but could not edit LVM, all partitions are greyed out? not sure why. will try FC9 see what I can get.
 
  


Reply



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
mounting LVM disks via rescue disk (bad superblock) dfezz1 Linux - Server 2 12-06-2008 08:29 PM
Help with RAID LVM Rescue skydiverscott Linux - Software 3 04-16-2008 11:10 PM
Linux Rescue script question, in rescue mode vijay_aras Linux - General 1 01-09-2008 05:03 PM
FC5, Hardware Raid 5, LVM, Rescue Mode, Bad Superblock dtdionne Fedora 10 12-05-2007 09:32 AM
FC3 rescue disc won't mount "Linux LVM" partition anymore. coolingtower Linux - General 0 01-23-2005 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:37 PM.

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