From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.6]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1CEuXUG018916 for ; Fri, 12 Feb 2010 09:56:33 -0500 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.redhat.com (8.13.8/8.13.8) with SMTP id o1CEuHru026604 for ; Fri, 12 Feb 2010 09:56:17 -0500 From: "Harald Heigl" Date: Fri, 12 Feb 2010 15:56:11 +0100 Message-ID: <001501caabf3$85080b60$8f182220$@at> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01CAABFB.E6CC7360" Content-Language: de-at Subject: [linux-lvm] What happens with full snapshots Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com Dies ist eine mehrteilige Nachricht im MIME-Format. ------=_NextPart_000_0016_01CAABFB.E6CC7360 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I'm relatively new to lvm, I'm using Fedora for almost 3 years, but up to now I just set up lvm on install, formatted my ext3/ext4 and it just works. Now I want to go somehow deeper playing around with snapshots. I know you should size your snapshot volume to a size that can hold all the changes. As I see a snap lv only contains the "original" datachunks and the original lv is in a normal state as if there were no snapshot. My questions: 1. What happens if the snap gets full (e.g. someone copies large data from one lv to a snapshotted lv or something other you didn't expect), some sites say it original and snapshot gets deactivated, some sites say the snap lv gets invalidated. What does this mean? Is my original volume just crap afterwards or can I work on as usual (with the difference that nothing is written on the snap anymore), or just need to remove the snap .. 2. What happens if there is a problem with a snap? I've heard on reboot the snapshots are lost. What if there is a power shortage, so the snap is lost, you boot and the original lv just seeks for the snap? Are there implications on this. Can you just mount such a original lv or do you have to remove the (non existent) snap lv before (How can you remove a snapshot that doesn't exist anymore) That would be nice to know before I use snaps. Thanks in advance, Harald (Harry) Heigl ------=_NextPart_000_0016_01CAABFB.E6CC7360 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

I’m relatively new to lvm, = I’m using Fedora for almost 3 years, but up to now I just set up lvm on install, formatted my ext3/ext4 and it just works.

Now I want to go somehow deeper = playing around with snapshots.

 

I know you should size your = snapshot volume to a size that can hold all the changes. As I see a snap lv only = contains the “original” datachunks and the original lv is in a normal state as if there were no snapshot.

 

My = questions:

1.       What happens if the = snap gets full (e.g. someone copies large data from one lv to a snapshotted lv or something other you didn’t expect), some sites say it original and snapshot gets deactivated, some sites say the snap lv gets invalidated. = What does this mean? Is my original volume just crap afterwards or can I work = on as usual (with the difference that nothing is written on the snap anymore), or = just need to remove the snap ….

2.       What happens if there = is a problem with a snap? I’ve heard on reboot the snapshots are lost. = What if there is a power shortage, so the snap is lost, you boot and the = original lv just seeks for the snap? Are there implications on this. Can you just = mount such a original lv or do you have to remove the (non existent) snap lv = before (How can you remove a snapshot that doesn’t exist = anymore)

 

That would be nice to know = before I use snaps.

Thanks in = advance,

Harald (Harry) = Heigl

 

------=_NextPart_000_0016_01CAABFB.E6CC7360--