From: Andreas Dilger <adilger@turbolabs.com>
To: Dave Alden <alden@math.ohio-state.edu>
Cc: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Keep snapshots active for 24 hours?
Date: Fri Dec 14 12:36:01 2001 [thread overview]
Message-ID: <20011214113804.I940@lynx.no> (raw)
In-Reply-To: <20011214073506.A12990@math.ohio-state.edu>; from alden@math.ohio-state.edu on Fri, Dec 14, 2001 at 07:35:06AM -0500
On Dec 14, 2001 07:35 -0500, Dave Alden wrote:
> I'm in the process of evaluating LVM (with XFS) for our ~500G RAID NFS
> server. I'm using hardware RAID, so I'm only using LVM is for snapshots.
> My original plan was to take a snapshot around midnight everyday, run the
> backup, then remove the snapshot (just as the FAQ says to :-). However,
> I'd like to offer my users the ability to have access to the previous days
> snapshot (so they can easily restore an accidentally deleted file). I don't
> need all 500G (we're currently using only ~60G), so I was thinking of either
> 50G or 100G for the snapshot (although I only expect ~5G/day to be changed).
> I was wondering what kind of performance hit would I take if I kept the
> snapshot for 24 hours?
Well, it will basically mean [read-]write-write for all data going to the
disk. Generally, this will not matter a huge amount unless you are doing
tons of I/O. You could start with a large snapshot size, and then get an
idea of how much data really changes each day. You could then actually
keep multiple snapshots if you had the space. If you were really clever,
you could write a script which checked the free space in the snapshots
every minute, and if they had less than X PEs free, you extend the snapshot
LV to have more free space. If you run out of free PEs, you delete the
oldest snapshot.
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
next prev parent reply other threads:[~2001-12-14 12:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-14 6:33 [linux-lvm] Keep snapshots active for 24 hours? Dave Alden
2001-12-14 12:36 ` Andreas Dilger [this message]
2001-12-14 15:50 ` Steve Wray
2001-12-14 16:34 ` Andreas Dilger
2001-12-14 17:05 ` Steve Wray
2001-12-14 19:03 ` [linux-lvm] catch-22 Erick Calder
2001-12-16 13:36 ` Wolfgang Weisselberg
2001-12-16 13:36 ` [linux-lvm] Keep snapshots active for 24 hours? Wolfgang Weisselberg
2001-12-16 16:08 ` Kirby C. Bohling
2001-12-16 18:53 ` Petro
2001-12-16 21:12 ` Wolfgang Weisselberg
2001-12-16 22:19 ` Steve Wray
2001-12-17 2:41 ` Wolfgang Weisselberg
2001-12-17 3:08 ` Anselm Kruis
2001-12-14 18:58 ` Terje Kvernes
2001-12-15 0:31 ` Andreas Dilger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011214113804.I940@lynx.no \
--to=adilger@turbolabs.com \
--cc=alden@math.ohio-state.edu \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.