From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] invalid snapshot with umounted fs
Date: Tue, 12 May 2015 09:32:32 +0200 [thread overview]
Message-ID: <5551AC90.5080705@redhat.com> (raw)
In-Reply-To: <20150511113519.7570055c@leda.localdomain>
Dne 11.5.2015 v 11:35 Christian Hesse napsal(a):
> Hello everybody,
>
> I have a backup scripts that creates read-only snapshots from my lvm volumes,
> then runs rsync on them.
>
> This fails for one of my volumes, mount reports an unknown filesystem on the
> snapshot. The only difference compared to my other volumes is the fact that
> it is not mounted by default.
> Mounting the filesystem fixes the problem, the snapshot is valid when created
> from mounted filesystem.
>
> I saw this behavior with lvm2 versions 2.02.116 to 2.02.119. Probably I did
> not have this configuration before, so possibly the problem exists even
> longer.
Hi
You would need to probably pass more data with your email as without metadata
archive it's quite hard to guess what is going on.
rule #1 is - when you snapshot gets overfilled - it's automatically LOST -
it's made invalid and any filesystem on it becomes unreadable.
rule #2 - configure & use dmeventd (see lvm.conf thresholds) to avoid this
situation to happen.
If you see some other bug - open BZ case (for rawhide if you can't match your
distro) and fill in all info - kernel version, LVM metadata, dmsetup status
and so on...
Regards
Zdenek
prev parent reply other threads:[~2015-05-12 7:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-11 9:35 [linux-lvm] invalid snapshot with umounted fs Christian Hesse
2015-05-12 7:32 ` Zdenek Kabelac [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=5551AC90.5080705@redhat.com \
--to=zkabelac@redhat.com \
--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.