From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] still problems with removing "non existant" dead snapshots :/
Date: Thu Oct 24 06:28:02 2002 [thread overview]
Message-ID: <20021024132538.A30725@sistina.com> (raw)
In-Reply-To: <3DB7C2FD.9C70E084@silicide.dk>; from jon+lvm@silicide.dk on Thu, Oct 24, 2002 at 11:53:01AM +0200
Jon,
which LVM version are you using?
If the driver it is older than 1.0.5 it can be a lockking bug fixed in
the recent LVM1 version.
Regards,
Heinz -- The LVM Guy --
On Thu, Oct 24, 2002 at 11:53:01AM +0200, Jon Bendtsen wrote:
> I take a snapshot every hour, every 8 hour, eveyr day, and every week.
> I've got 4 "equal" scripts to do the work, the only difference is the
> snapshot name and the mountpoint.
>
> However, when i try to remove the old and unmounted snapshot, i
> sometimes
> get an error message. Like one in every 10 times.
>
> I get messages like:
> --------------------
> lvremove -- can't remove open snapshot logical volume
> "/dev/optVG/1hour_snapshot_opt_1035237601"
>
> And:
> ----
> lvremove -- ERROR "lv_release(): LV number" releasing logical volume
> "/dev/optVG/1hour_snapshot_opt_1035324001"
>
>
> If i use lvdisplay on them, i get a message like
> ------------------------------------------------
> ve:/dev/optVG# lvdisplay /dev/optVG/1hour_snapshot_opt_1035*
> lvdisplay -- logical volume "/dev/optVG/1hour_snapshot_opt_1035324001"
> doesn't exist
>
> lvdisplay -- logical volume "/dev/optVG/1hour_snapshot_opt_1035345601"
> doesn't exist
>
> lvdisplay -- logical volume "/dev/optVG/1hour_snapshot_opt_1035352801"
> doesn't exist
>
> lvdisplay -- logical volume "/dev/optVG/1hour_snapshot_opt_1035381601"
> doesn't exist
>
> lvdisplay -- logical volume "/dev/optVG/1hour_snapshot_opt_1035410401"
> doesn't exist
>
> lvdisplay -- logical volume "/dev/optVG/1hour_snapshot_opt_1035432001"
> doesn't exist
>
> lvdisplay -- logical volume "/dev/optVG/1hour_snapshot_opt_1035439201"
> doesn't exist
>
>
>
> The problem is that these snapshots take up space. Most take 1GB, since
> thats what they
> are created with, but some take more, since i run some scripts to ensure
> that they dont
> reach 100% so they are always readable.
> I can remove the "files" from /dev/optVG/, but the space is not released
> until i
> restart the VG. Even restarting the VG doesnt remove the "dead"
> snapshots (the files
> in /dev/optVG/)
>
>
>
> JonB
>
> _______________________________________________
> 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/
*** 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2002-10-24 6:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-24 4:53 [linux-lvm] still problems with removing "non existant" dead snapshots :/ Jon Bendtsen
2002-10-24 6:28 ` Heinz J . Mauelshagen [this message]
2002-10-24 6:39 ` Jon Bendtsen
2002-10-25 7:36 ` Heinz J . Mauelshagen
2002-10-25 7:53 ` Jon Bendtsen
2002-10-28 3:14 ` Heinz J . Mauelshagen
2002-10-25 8:25 ` James Hawtin
2002-10-28 3:16 ` Heinz J . Mauelshagen
2002-10-28 8:34 ` James Hawtin
2002-10-25 11:33 ` Luben Tuikov
2002-10-25 11:45 ` Joe Thornber
2002-10-25 7:07 ` Jon Bendtsen
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=20021024132538.A30725@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