From: Phillip Susi <psusi@cfl.rr.com>
To: device-mapper development <dm-devel@redhat.com>
Cc: Anders Andersson <pipatron@gmail.com>
Subject: Re: Using the dm tools to create a writable "mirror" of a physical disk
Date: Wed, 02 Feb 2011 19:17:41 -0500 [thread overview]
Message-ID: <4D49F425.1000203@cfl.rr.com> (raw)
In-Reply-To: <AANLkTinqdTZnqX7qXthQHqa+bFmonCJOJ1ShpkAosB_T@mail.gmail.com>
On 02/02/2011 05:31 PM, Anders Andersson wrote:
> Good evening! I was recently given the task of trying to salvage files
> from a 1.5TB harddrive that was accidentally formatted and/or
> repartitioned. Normally I would do a 1:1 copy of the whole drive to a
> file and operate on that, but I simply do not have that much room this
> time.
>
> Ideally I would like to create a writable snapshot in the same way as
> I do with my LVM volumes, storing the changes in a smaller file or in
> another block device so that I can experiment freely without worrying
> about destroying anything else on the drive. Is this possible
> (probably) and easy (probably not?) with any device mapper tools? I'm
> not really sure where I should begin looking, because dmsetup is
> probably pretty low-level.
Yep, you need to use dmsetup. Documentation/device-mapper/snapshot.txt
in the kernel sources documents how.
prev parent reply other threads:[~2011-02-03 0:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-02 22:31 Using the dm tools to create a writable "mirror" of a physical disk Anders Andersson
2011-02-03 0:17 ` Phillip Susi [this message]
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=4D49F425.1000203@cfl.rr.com \
--to=psusi@cfl.rr.com \
--cc=dm-devel@redhat.com \
--cc=pipatron@gmail.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