From: Matt Clark <matt@ymogen.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ragnar KjÃzrstad <postgres@ragnark.vestdata.no>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: LVM snapshots
Date: Mon, 17 Mar 2003 14:41:16 -0000
Message-ID: <OAEAKHEHCMLBLIDGAFELEEDJDBAA.matt@ymogen.net> (raw)
In-Reply-To: <5944.1047911539@sss.pgh.pa.us>
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" <matt@ymogen.net> 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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: matt@ymogen.net, tgl@sss.pgh.pa.us, postgres@ragnark.vestdata.no, peter_e@gmx.net, murthy.kambhampaty@goeci.com
Subject: Re: LVM snapshots
In-Reply-To: <OAEAKHEHCMLBLIDGAFELEEDJDBAA.matt@ymogen.net>
References: <5944.1047911539@sss.pgh.pa.us> <OAEAKHEHCMLBLIDGAFELEEDJDBAA.matt@ymogen.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox