All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Navin P.S" <navinp1912@gmail.com>
To: dm-devel@redhat.com
Subject: write directly to device mapper snapshot origin device ?
Date: Thu, 14 Jul 2016 19:55:25 +0530	[thread overview]
Message-ID: <CAA=4086wdhAxNsWjAYgZG3bWORV2vF3YpMQk9OTjAg22MJi07Q@mail.gmail.com> (raw)

Hi,
  Can i do dd if=/dev/zero of=/dev/mapper/dmo count=20 ? where dmo is
a dm snapshot origin created through dmsetup command. Instead of
/dev/zero i can write valid devices.

I could create the dmo through some lvm2 commands. Is direct write
with 4k (page size values ) allowed when it is mapped to 2 block
devices in linear mode ?


Regards,
-- Navin

             reply	other threads:[~2016-07-14 14:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-14 14:25 Navin P.S [this message]
2016-07-15  8:29 ` write directly to device mapper snapshot origin device ? Navin P.S
2016-07-15 11:51   ` Mikulas Patocka
2016-07-15 12:15     ` Navin P.S
2016-07-15 12:35       ` Zdenek Kabelac
2016-07-15 12:40         ` Navin P.S
2016-07-15 12:44           ` Zdenek Kabelac
2016-07-15 18:58             ` Navin P.S
2016-07-15 13:50       ` Mikulas Patocka

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='CAA=4086wdhAxNsWjAYgZG3bWORV2vF3YpMQk9OTjAg22MJi07Q@mail.gmail.com' \
    --to=navinp1912@gmail.com \
    --cc=dm-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.