Linux LVM users
 help / color / mirror / Atom feed
From: IpSo <ipso@snappymail.ca>
To: Andreas Dilger <adilger@turbolabs.com>
Cc: linux-lvm@sistina.com
Subject: Re: [linux-lvm] A way to bypass LVM and extract the raw data off?
Date: Wed Jan  9 15:44:02 2002	[thread overview]
Message-ID: <1010612597.3c3cb975632ae@www.snappymail.ca> (raw)
In-Reply-To: <20020109124025.O769@lynx.adilger.int>

Quoting Andreas Dilger <adilger@turbolabs.com>:

> On Jan 08, 2002  19:02 -0800, IpSo wrote:
> > Yup! I'm confident everything as far as the reiser filesystem is fine,
> > just LVM is very confused. 
> > 
> >    Device Boot    Start       End    Blocks   Id  System
> > /dev/hda1   *         1       507    255496+  82  Linux swap
> > /dev/hda2           508     39813  19810224    5  Extended
> > /dev/hda5           508      4633   2079472+  83  Linux
> > /dev/hda6          4634     39813  17730688+  8e  Linux LVM
> > 
> >  
> > >     If you have the HD space, you could try dd if=/dev/hda6
> of=/some/file
> > > 
> > >     Then mount -o loop /some/file /mnt/point -t reiserfs. 
> > > 
> > >     I don't think this would do any more damage. 
> >
> > I'll give it a shot I guess, won't this loopback file contain the extra
> LVM
> > information and cause problems when trying to mount it though? Does the
> LVM
> > information take up the first 2mb or something that I could set the offset
> as,
> > so it doesn't carry over to the loopback file?
> 
> No, it uses a variable amount of space.
> 
> What you could do is try
> 
> od -Ad -a /dev/hda6 | grep "R   e   I   s   E   r   2   F   s"
> 
> and start your dd 65584 bytes before the address at the line this is
> found on (it should align to an even block boundary).

At the "line", I tried the command and I got about 1000+ lines that seem to
match. I assume I just try from the first line minus 65584 (3276800) like you 
said? 

[root@ipso big]# od -Ad -a /dev/hda6 | grep "R   e   I   s   E   r   2   F   s"
3342384  bs nul soh nul   R   e   I   s   E   r   2   F   s nul nul nul
3383344 eot nul stx nul   R   e   I   s   E   r   2   F   s nul nul nul
3424304 eot nul stx nul   R   e   I   s   E   r   2   F   s nul nul nul
3498032 stx nul stx nul   R   e   I   s   E   r   2   F   s nul nul nul
3547184 eot nul stx nul   R   e   I   s   E   r   2   F   s nul nul nul
3616816 ack nul stx nul   R   e   I   s   E   r   2   F   s nul nul nul
3706928  nl nul stx nul   R   e   I   s   E   r   2   F   s nul nul nul
3825712  nl nul stx nul   R   e   I   s   E   r   2   F   s nul nul nul
3842096 dc4 nul stx nul   R   e   I   s   E   r   2   F   s nul nul nul
3932208 dc4 nul soh nul   R   e   I   s   E   r   2   F   s nul nul nul
3944496 dc4 nul soh nul   R   e   I   s   E   r   2   F   s nul nul nul
3956784 dc4 nul stx nul   R   e   I   s   E   r   2   F   s nul nul nul
4001840 dc4 nul stx nul   R   e   I   s   E   r   2   F   s nul nul nul
...



dd if=/dev/hda6 bs=512 skip=3276800 of=/big/backup_hda6.bin

-rw-r--r--    1 root     root     16478502912 Jan  9 12:50 backup_hda6.bin

Still won't mount the file. :( Even after a --rebuild-sb.

I also tried: (/dev/hda)

dd if=/dev/hda bs=512 skip=3276800 of=/big/backup_hda6.bin

-rw-r--r--    1 root     root     18870119424 Jan  9 13:41 backup_hda6.bin

Still no go. 

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


IpSo

--------------------------------------------------------------------
Never worry about viruses in your Email again.
Get your FREE! virus scanned Email accounts at http://snappymail.ca

  reply	other threads:[~2002-01-09 15:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-06  3:33 [linux-lvm] VG dissappeared without a trace? IpSo
2002-01-06 13:03 ` IpSo
2002-01-06 16:22   ` Andreas Dilger
2002-01-06 17:29     ` IpSo
2002-01-08 20:27       ` [linux-lvm] A way to bypass LVM and extract the raw data off? IpSo
2002-01-08 20:35         ` Petro
2002-01-08 21:03           ` IpSo
2002-01-09 13:41             ` Andreas Dilger
2002-01-09 15:44               ` IpSo [this message]
2002-01-09 16:26                 ` Andreas Dilger
2002-01-09 17:26                   ` IpSo
2002-01-08 21:05         ` Andreas Dilger
2002-01-09  9:02           ` IpSo
2002-01-09 10:30             ` Holger Grothe
2002-01-09 12:04               ` IpSo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1010612597.3c3cb975632ae@www.snappymail.ca \
    --to=ipso@snappymail.ca \
    --cc=adilger@turbolabs.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox