[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] A way to bypass LVM and extract the raw data off?



On Jan 08, 2002  18:26 -0800, IpSo wrote:
> Well, it doesn't look like there is a way I can recover my LVM volume groups
> and whatnot. (See below) But I know theres a fully intact ReiserFS of 17315mb
> on /dev/hda6. "gpart" scanned my disk and came up with this: 
> 
> Possible extended partition at offset(249mb)
>    Possible partition(Linux LVM physical volume), size(17315mb), offset(2280mb)
>       type: 142(0x8E)(Linux LVM physical volume)
>       size: 17315mb #s(35461377) s(4670127-40131503)
>       chs:  (1023/15/63)-(1023/15/63)d (4633/1/1)-(39812/15/63)r
>       hex:  00 0F FF FF 8E 0F FF FF AF 42 47 00 01 19 1D 02
> 
> End scan.
> 
> Is there some way to "dd" the data off onto another partition and access it
> there? Because I know the filesystem was only on a single PV, and a single
> LV, and the problems occured when trying to extend that LV, but I never got
> to the point of extending the filesystem itself with reiser_resize. You
> would think I could somehow using the offsets given above create a new
> partition to copy the data to, run a reiserfsck and rebuild the file system
> so I can access the data? Has anyone tryed something along these lines before?

dd if=/dev/hda bs=512 skip=4670127 count=35461377 of=<somewhere>

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]