X-Original-To: pgsql-admin@postgresql.org Received: from biscay.ymogen.com (biscay.ymogen.net [194.164.6.62]) by postgresql.org (Postfix) with SMTP id 0C8D5474E53 for ; Mon, 17 Mar 2003 09:41:19 -0500 (EST) Received: (qmail 20199 invoked from network); 17 Mar 2003 14:41:22 -0000 Received: from unknown (HELO solent) (mailuser@213.165.136.12) by 0 with SMTP; 17 Mar 2003 14:41:22 -0000 From: "Matt Clark" To: "Tom Lane" Cc: =?iso-8859-1?Q?Ragnar_Kj=C3zrstad?= , "Peter Eisentraut" , "Murthy Kambhampaty" , Subject: Re: LVM snapshots Date: Mon, 17 Mar 2003 14:41:16 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <5944.1047911539@sss.pgh.pa.us> X-Archive-Number: 200303/255 X-Sequence-Number: 7895 Many apologies, I got things completely the wrong way round I think! My fault entirely. The snapshot volume holds the *original* data from the frozen volume, using copy-on-write, so neither taking nor releasing the snapshot involve any copying of data. If you run out of room on the snapshot volume because you've written too much data to the frozen volume then you are buggered, pure and simple. > -----Original Message----- > From: Tom Lane [mailto:tgl@sss.pgh.pa.us] > Sent: 17 March 2003 14:32 > To: Matt Clark > Cc: Ragnar KjÃzrstad; Peter Eisentraut; Murthy Kambhampaty; > pgsql-admin@postgresql.org > Subject: Re: [ADMIN] LVM snapshots > > > "Matt Clark" writes: > > So when you take a snapshot there is no data to be copied, and when > > you release a snapshot some data needs to be written back. > > Does the write-back preserve the original write ordering? In general, > what happens if there's a system crash in this state? What of errors > encountered during write-back, eg out of disk space (or is disk space > accounting still done in terms of the original volume)? > > regards, tom lane >