From: Alasdair G Kergon Subject: Re: DM_snapshot_cow filesystem (dmsetup create snapshot) Date: Wed, 30 Nov 2011 22:03:00 +0000 Message-ID: <20111130220259.GA7595@agk-dp.fab.redhat.com> References: <4EABE131.8010706@googlemail.com> <20111029204947.GU23336@agk-dp.fab.redhat.com> <4ED2DF0F.1070108@filteredperception.org> <4ED59040.50406@filteredperception.org> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline 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 List-Id: dm-devel.ids On Wed, Nov 30, 2011 at 04:48:05PM -0500, Frederick Grose wrote: > snapshot Invalid does seem to prevent even read-only access. Indeed - once it's invalid, that's the end of it. If we didn't do that, changes to areas of the origin that hadn't already changed would start to appear in the 'snapshot' and the snapshot would become a nonsensical hybrid of the two devices containing no information about which parts of it got corrupted. Don't allow your snapshots to run out of space! If you want to see what you can recover, use that code I mentioned earlier. Alasdair