LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 04-29-2009, 11:14 PM   #1
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Rep: Reputation: 37
Problem with LVM partitions


I have been using LVM partitions on my Open SUSE 11.0 machine for a while now.... But on a fine day, when booting the system, all i get is the following error:

Code:
Reading all physical volumes, This may take a while....
Couldnt find device with uuid 'iUDlO-VLkW-4fYN-u3cX-C0zR-lw4f-c7b8Eh'
Couldnt find all physical volumes for volume group system
Couldnt find device with uuid 'iUDlO-VLkW-4fYN-u3cX-C0zR-lw4f-c7b8Eh'
Couldnt find all physical volumes for volume group system
Volume group "system" not found
Could not find /dev/system/SUSE11.0root.
want me to fall back to /dev/system/SUSE11.0root?(Y/n)
Giving a Y to the above question gives the same error and exits to shell

My knowledge is limited to setting up of LVM....
Any idea why the error occurs?? I am pretty sure its not an HDD error...
There is more than 200 GB of data....
Is there any way to recover without losing data???

Thanx in advance
 
Old 04-30-2009, 05:07 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
hi
this only means that the physical volumes are not found which are needed to
enable the VG into active mode.
Did you remove any partition/harddisk from the system ?
 
Old 05-01-2009, 12:33 AM   #3
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Original Poster
Rep: Reputation: 37
I have no hardware changes... the problem occurred without any reason which puzzles me....

I have two hard disks, one in which windows is installed (a few partitions from the disk are part of LVM) and the other disk in which Linux is installed....

Both the hard disks can be booted which means that the HDDs are ok....
 
Old 05-04-2009, 01:30 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,674

Rep: Reputation: Disabled
That's not hardware changes. LVM can't find two partitions with the cumbersome handles of 'iUDlO-VLkW-4fYN-u3cX-C0zR-lw4f-c7b8Eh' and 'iUDlO-VLkW-4fYN-u3cX-C0zR-lw4f-c7b8Eh' respectively. You could map that on your system to /dev/sdxy by looking into the /dev directory and the "by-uuid" subdirectory.

They are gone --whyever-- and the physical volume is incomplete, thus the error. So without more information what happened to your partition table there is no getting a grip on this. I seem to remember, that the superblock has copies strewn all over the disk. Maybe you can restore your old partition scheme, never mind why it got lost in the first place...
 
Old 05-05-2009, 03:28 AM   #5
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
does the partial activation of VG work ?

vgchange -P -y <vg name>

this sometimes can salvage some data atleast ...
nevertheless as JZL240I-U told, why did the physical volumes disappear ?
 
Old 05-06-2009, 10:07 AM   #6
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Original Poster
Rep: Reputation: 37
Problem solved with no data loss....
It seems that the problem was created by a corrupted metafile (as tommylovell pointed out) and also because of a corrupted partition table....

on checking the partition tables i found that infact one of my physical volumes was now shown as free space.....that is /dev/sda7 (in my case) was missing

Since i dont like fdisk too much i just used the windows disk manager to create an ntfs partition with the plan to convert it to ext3 later in linux.....
having created the ntfs partition, i now had /dev/sda7 partition

On booting back to linux i was surprised to see that the ntfs partition i just created was taken as a LVM system
(i have no idea why that happened.... it was not even a linux partition....hopefully somebody could explain that)

Anyway all my data is fine n i am the happiest man in the world

Can somebody tell me why the NTFS partition created was accepted by LVM??? Should i change it back to a linux partition at a later stage?? The data is intact as far as i can see......
 
Old 05-07-2009, 03:11 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,674

Rep: Reputation: Disabled
Uarghhh. That is nasty. If it were my data I'd backup them faster than ... whatever. After that, recreation of the partition with the correct file system type and formatting. Only then playing back the data.

To be on the secure side in the future, have a look at http://smartmontools.sourceforge.net/
 
Old 05-09-2009, 03:05 AM   #8
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Original Poster
Rep: Reputation: 37
I have already converted the partition to LVM (0x8e). Now its working properly....
Quote:
Originally Posted by JZL240I-U View Post
To be on the secure side in the future, have a look at http://smartmontools.sourceforge.net/
Good suggestion.... i was wondering if there was a live cd with all the data recovery software.....
Wondering if there is a GUI tool for working on LVMs.... Gparted does nt support LVM right???
 
Old 05-11-2009, 01:42 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,674

Rep: Reputation: Disabled
Of these I know (but not how far they support LVM):

http://partedmagic.com/
http://www.grml.org/
http://rescuecd.pld-linux.org/
http://www.sysresccd.org/
http://www.cgsecurity.org/wiki/TestDisk
http://www.ultimatebootcd.com/

Then there is:

http://www.ibiblio.org/pub/Linux/doc...O.html#lvm2faq
http://tldp.org/HOWTO/LVM-HOWTO/
http://www.gnu.org/software/parted/m...ted.html#SEC72

HTH.

Last edited by JZL240I-U; 05-11-2009 at 03:46 AM.
 
Old 05-12-2009, 01:18 AM   #10
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Original Poster
Rep: Reputation: 37
Thanx for the awesome list..... i ll check em out....

I wish there was a gui partition manager that supports lvm.... LVM is has all these wonderful features.... makes me happy until it crashes....
 
Old 05-12-2009, 04:57 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,674

Rep: Reputation: Disabled
I don't use LVM anymore. Some years ago I had a file system crash. Rescuing data from LVM volumes was impossible (or I was too stupid). Since all the instruments of rescue in ext2/3 and dd etc won't work as easy if at all on LVM (at least, that is what I think and I don't want proof the hard way) and there is gparted etc I can't see the necessity for LVM anymore.
 
Old 05-13-2009, 12:42 AM   #12
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Original Poster
Rep: Reputation: 37
Yea recovery of LVM is difficult (trust me....i just faced it) as on a physical partition possibly because the lvm is how do u say it..... visualized??

Well one of the features i like about LVM is the resizing of partitions and its ability to add new partition..... just wish data recovery in LVM is easier too....

I am optimistic dat de condition will change in a short time.... hopefully.
 
  


Reply

Tags
lvm


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
Extended partitions and LVM gargamel Linux - Server 5 07-19-2010 11:48 AM
Partitions LVM Kryptos Linux - Newbie 1 11-17-2007 11:54 PM
cloning LVM partitions deesto Linux - General 0 07-12-2007 11:38 AM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 11:16 AM
how do I add partitions to drives that have Logical Volume (LVM) partitions? The MJ Linux - Software 5 08-17-2006 06:15 PM


All times are GMT -5. The time now is 04:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration