From: Dominique Frise <Dominique.Frise@unil.ch>
To: linux-lvm@redhat.com
Subject: [linux-lvm] multiple snapshots and deactivate
Date: Thu, 20 Apr 2006 16:16:58 +0200 [thread overview]
Message-ID: <444797DA.8080704@unil.ch> (raw)
Hi,
Our system RHEL4:
# uname -r
2.6.9-22.EL
# rpm -qa | grep lvm
system-config-lvm-1.0.16-1.0
lvm2-2.02.01-1.3.RHEL4
We would like to make up to 8 snapshots/day of the same original LV.
To be able to keep all the snapshots for an entire day, we thougt that we could
deactivate a snapshot before creating a new active one.
----current VG/LV config----
# lvdisplay
--- Logical volume ---
LV Name /dev/vg1/lv1
VG Name vg1
LV UUID SjIv1d-XedO-o9mZ-7EKa-zNcj-bX6m-BhfAZQ
LV Write Access read/write
LV snapshot status source of
/dev/vg1/snap1 [active]
LV Status available
# open 1
LV Size 3.16 GB
Current LE 810
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/vg1/snap1
VG Name vg1
LV UUID U7DjZJ-HTDZ-5L0P-QxWD-moxK-KqRG-o03wQf
LV Write Access read/write
LV snapshot status active destination for /dev/vg1/lv1
LV Status available
# open 0
LV Size 3.16 GB
Current LE 810
COW-table size 424.00 MB
COW-table LE 106
Allocated to snapshot 47.46%
Snapshot chunk size 8.00 KB
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:3
--------------------------------
Using lvchange to deactivate the current snapshot reports errors:-(
# lvchange -v -an /dev/vg1/snap1
Using logical volume(s) on command line
Can't change snapshot logical volume "snap1"
Are we missing something?
reply other threads:[~2006-04-20 14:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=444797DA.8080704@unil.ch \
--to=dominique.frise@unil.ch \
--cc=linux-lvm@redhat.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.