From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Dilger Subject: Re: [linux-lvm] A way to bypass LVM and extract the raw data off? Message-ID: <20020108200408.R769@lynx.adilger.int> References: <1010309724.3c381a5ce8cbe@www.snappymail.ca> <1010343969.3c38a0214056f@www.snappymail.ca> <20020106152433.Q12868@lynx.no> <1010359883.3c38de4b3692f@www.snappymail.ca> <1010543196.3c3baa5c40c49@www.snappymail.ca> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <1010543196.3c3baa5c40c49@www.snappymail.ca>; from ipso@snappymail.ca on Tue, Jan 08, 2002 at 06:26:36PM -0800 Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Tue Jan 8 21:05:02 2002 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: IpSo Cc: linux-lvm@sistina.com 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= Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/