From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Navin P.S" Subject: Re: write directly to device mapper snapshot origin device ? Date: Fri, 15 Jul 2016 13:59:04 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com, snitzer@redhat.com, mpatocka@redhat.com List-Id: dm-devel.ids Resend .. On Thu, Jul 14, 2016 at 7:55 PM, Navin P.S wrote: > 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 I'm seeing OOM followed by reboot of host machine. Does this mean this device cannot to exported to containers for writing ? -- -- Navin