Linux LVM partition Log Out | Topics | Search
Moderators | Edit Profile

X-Ways Support Forum » Disk Editing » Linux LVM partition « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Stephen Armstrong (Steve941)
Posted on Thursday, Sep 22, 2005 - 8:24:   

-Winhex 12.5
I'm attempting to browse a linux LVM 2 partition which contains an ext3 and swap. The partition is read as unknown, but I would like to beable to browse files with the file browser. Now I know the long way to do so is copy the entire partition to a file then delete the LVM so that winhex reads the ext3. I know what sector my ext3 starts on that partition so is there some template or something so I wouldn't have to copy the entire partition and delete the LVM preceding the ext3.

By the way winhex is an excellent program and would be great if there was a similar program for linux.
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann (Admin)
Posted on Thursday, Sep 22, 2005 - 23:10:   

> I know what sector my ext3 starts on that partition

Excellent. Simply use Tools | Disk Tools | Interpret As Partition Start when in this sector on the physical disk. No copying necessary.
Top of pagePrevious messageNext messageBottom of page Link to this message

Stephen Armstrong (Steve941)
Posted on Friday, Sep 23, 2005 - 3:22:   

Now I did that and winhex picked up a "5.3 gb ext3 (del)" partition 5; It doesn't look like it's reading it correctly. The ext3 partition is actually 40gb or so and isn't deleted. When opening partition 5 i get a message like partition 5 is not readily accessible and the side pane - properties- tell me there is 8.9 GB used (correct) 33.8GB free (correct) but only 5.3GB total (not correct). As a result the file browser doesn't display all files. I attempted to change the disc parameters- enlarging it but I get stranged errors like "cannot read from sector ... of floppy disc -1 cannot find specified file" Any suggestions?
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann (Admin)
Posted on Friday, Sep 23, 2005 - 12:35:   

> isn't deleted

(Whenever you have to add a partition manually, WinHex assumes it not an available, existing partition.)

> 5.3GB total (not correct)

WinHex usually reads the size of the partition from the superblock.

> Any suggestions?

Sorry, no.
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann (Admin)
Posted on Friday, Sep 23, 2005 - 14:12:   

> WinHex usually reads the size of the partition from the superblock.

I found out that this was not done correctly for Ext2/Ext3. Will be fixed shortly with WinHex 12.6!
Top of pagePrevious messageNext messageBottom of page Link to this message

Jyri Hovila
Username: jhovila

Registered: N/A
Posted on Monday, Oct 30, 2006 - 15:31:   

Hi!

I found this old thread while searching for ways to get data out of an LVM1 volume.

Unless the starting sector of a partition within an LVM volume is known, the only way to access the data seems to be recovering the LVM using Linux, and making a dd clone of the contents. (See http://www.linuxjournal.com/article/8874 for instructions on how to do this.) This approach works, but it requires quite a lot of extra work.

Stefan, could you consider adding support for LVM 1 and 2 to some upcoming version of WinHex? In theory LVM should be rather easy to parse. This feature would make life with LVM volumes a lot easier.

Yours,

Jyri

Data Recovery Specialist
DataPrey Finland Ltd.
http://www.dataprey.fi/
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann
Username: admin

Registered: 1-2001
Posted on Monday, Oct 30, 2006 - 15:50:   

> Unless the starting sector of a partition within an LVM volume is known

Signature of an Ext2/Ext3 superblock: 0x53 0xEF
Condition: Offset modulo 512 = 56
Top of pagePrevious messageNext messageBottom of page Link to this message

Jimmy Weg
Username: jw

Registered: 7-2006
Posted on Monday, Mar 5, 2007 - 19:10:   

A colleague has an E01 image of a physical disk on which Linux partitions are managed by LVM2. (I haven't received the image yet.) I know very little about Linux and less about LVM. Basically, we want file system access. I don't expect a course on LVM, but will XWF simply mount the partitions or must I do some recovery of the LVM managed partitions before proceeding. Perhaps booting the image in a VM and imaging from there. Thanks.
Top of pagePrevious messageNext messageBottom of page Link to this message

Mike Montgomery
Username: mikemjm

Registered: N/A
Posted on Wednesday, Dec 12, 2007 - 11:52:   

I wonder if anyone can help me find detailed information about the LVM descriptor sector. Magic No: 0x4D48 (HM)

Thanks in advance,

Mike
Top of pagePrevious messageNext messageBottom of page Link to this message

Rahul Chauhan
Username: rahulchauhan

Registered: N/A
Posted on Tuesday, Aug 3, 2010 - 8:00:   

hi friends I have a problem ..
actually I m working on LVM in linux through WinHex ..I have made one volume group and it has two logical volumes logvol00 and logvol01 and both are respectively mount on /rahul and /rock..I have found both folder(rahul & rock) in root directory which use ext file system but I m unable to reach data of rahul and rock folder.But through searching WinHex I got that data LVM partition..Actually the main is that is there any structure of LVM so that i can find my data like file system(ext and more).second problem is that after extending the volume group by other hard disk I m unable to decipher connectivity b/w data from one to other hard disk..plz help me...

Add Your Message Here
Post:
Username: Posting Information:
Only registered users may post messages here, i.e. you need to have an account.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:
Forum operated by X-Ways Software Technology AG.