From: "termeau sebastien" <termeau@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] extracting EXT3 from VG
Date: Fri, 23 Mar 2007 18:02:34 +0100 [thread overview]
Message-ID: <8466e51e0703231002l7af8b064mcfeac23e2d1b6535@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 651 bytes --]
Hello,
I have an hard drive image in a file.
If I try to mount it directly using "mount -o loop my_file.img /mnt/my_dd",
fdisk reports
mount: unknown filesystem type 'LVM2_member'
This image contains a volume group that itself contains 4 logical vol group.
lvscan reports:
LogVol00 2.94GB
LogVol03 64MB
LogVol02 256MB
LogVol01 2.31GB
I want to extract the ext3 filesystem included in LogVol00 to a file using
something like:
dd if=my_file.img bs=512 skip=??? count=??? of=my_ext3.img
How can I determine the skip and count parameter to only extract the ext3
filesystem?
Thanks
--
Virtue is its own punishment.
- Aneurin Bevan
[-- Attachment #2: Type: text/html, Size: 810 bytes --]
next reply other threads:[~2007-03-23 17:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-23 17:02 termeau sebastien [this message]
2007-03-24 12:17 ` [linux-lvm] extracting EXT3 from VG Bryn M. Reeves
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=8466e51e0703231002l7af8b064mcfeac23e2d1b6535@mail.gmail.com \
--to=termeau@gmail.com \
--cc=linux-lvm@redhat.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;
as well as URLs for NNTP newsgroup(s).