From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Newbie to snapshot
Date: Tue May 20 02:36:01 2003 [thread overview]
Message-ID: <20030520092734.A9086@sistina.com> (raw)
In-Reply-To: <002001c31d4d$eebf5630$6c7745cb@codevel>; from armani@codevel.com on Sun, May 18, 2003 at 10:58:23PM +0800
On Sun, May 18, 2003 at 10:58:23PM +0800, armani wrote:
> Thanks for toby's explainations!
> ==
> Eventually I create a new snapshot of my LV partition.
> But I have another problem with the snapshot of LV.
> That is how much snapshot I could create for my LV partition ?
> As I know some commercial software could create 254 snapshots for one LV
> such as IBM.
>
> So I try to create another snapshot for LV by issuing the following command:
>
> This is my first snapshot for /dev/Vol1/LV1
>
> [root@met root]# lvcreate --size 100M -s -nsnapshot /dev/Vol1/LV1
> lvcreate -- WARNING: the snapshot will be automatically disabled once it
> gets full
> lvcreate -- INFO: using default snapshot chunk size of 64 KB for
> "/dev/Vol1/snapshot"
> lvcreate -- doing automatic backup of "Vol1"
> lvcreate -- logical volume "/dev/Vol1/snapshot" successfully created
>
> I tried to create another snapshot for /dev/Vol1/LV1
>
> [root@met root]# lvcreate --size 100M -s -nsnapshot1 /dev/Vol1/LV1
> lvcreate -- WARNING: the snapshot will be automatically disabled once it
> gets full
> lvcreate -- INFO: using default snapshot chunk size of 64 KB for
> "/dev/Vol1/snapshot1"
> lvcreate -- doing automatic backup of "Vol1"
> lvcreate -- logical volume "/dev/Vol1/snapshot1" successfully created
>
> And how can I estimate the sizes and counts for them ?
lvdisplay /dev/Vol1/snapsh*
> Is there any rules or principles to formalize the procedures ?
There's no tool in the LVM distro for that so far.
You can write a script (Shell, Perl, ...) around lvdisplay to
create alerts when a snapshot runs out of space or extend it automatically.
>
>
> > A snapshot will only capture what you have in the fs at the moment you
> -- snip --
> > -toby
>
> -- Armani Liao
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2003-05-20 2:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-18 5:41 [linux-lvm] Newbie to snapshot armani
2003-05-18 8:21 ` Toby
2003-05-18 9:58 ` armani
2003-05-20 2:36 ` Heinz J . Mauelshagen [this message]
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=20030520092734.A9086@sistina.com \
--to=mauelshagen@sistina.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox