From: Xen <list@xenhideout.nl>
To: Linux lvm <linux-lvm@redhat.com>
Subject: [linux-lvm] auto umount at thin meta 80%
Date: Sun, 22 May 2016 17:07:26 +0000 [thread overview]
Message-ID: <d38a602864c07cd1ee5cd4d12a7d0383@dds.nl> (raw)
I am not sure if, due to my recent posts ;-) I would still be allowed to
write here. But, perhaps it is important regardless.
I have an embedded LVM. The outer volume is a cached LVM, that is to
say, two volumes are cached from a different PV. One of the cached
volumes contains LUKS.
The LUKS, when opened, contains another PV, VG, and a thin pool.
The thin pool contains about 4-5 partitions and is overprovisioned. Only
one volume is in use now.
This thin volume called "Store" is almost the full size of the thin
pool, but not quite:
store vault Vwi-aotz-- 400.00g thin 40.37
It currently stores a backup, I was writing some backup scripts.
The volume apparently got umounted when the meta of the thinpool reached
80%.
10:47:21 lvm[4657]: WARNING: Thin pool vault-thin-tpool metadata is now
80.14% full.
10:47:21 lvm[4657]: Request to lookup VG vault in lvmetad gave response
Connection reset by peer.
10:47:21 lvm[4657]: Volume group "vault" not found
10:47:21 lvm[4657]: Failed to extend thin pool vault-thin-tpool.
Not sure why the discard is unsupported, but I guess I opened the LUKS
container without it:
[ 1033.399934] device-mapper: thin: Data device (dm-13) discard
unsupported: Disabling discard passdown.
[ 1171.656307] device-mapper: thin: 252:14 [ 14 == tpool ]: reached low
water mark for data device: sending event.
Suddenly my mounted filesystem was gone:
# mount | grep /mnt
....
And VIM reports:
E211: File "update.sh" no longer available
I still have handles open, so the thing must have been lazily umounted.
The meta was created (automatically) with only 112M:
thin vault twi-aotz-- 437.05g
[thin_tdata] vault Twi-ao---- 437.05g
[thin_tmeta] vault ewi-ao---- 112.00m
112M seems low for meta if a proportion of 1:1000 is usually required?
There are hardly any files on the volume(s), just a few archives
totaling currently 160G.
This is LVM version 2.02.133(2) (2015-10-30) / 1.02.110 (2015-10-30)
The instant umount at 80% seems rather premature.
I will recreate the volume and try to create a larger meta volume for
it.
I'm not sure if 0.1% of the data size will be enough though, given this
but wel'll see.
Regards.
next reply other threads:[~2016-05-22 17:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-22 17:07 Xen [this message]
2016-05-23 8:40 ` [linux-lvm] auto umount at thin meta 80% Zdenek Kabelac
2016-05-24 16:16 ` Xen
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=d38a602864c07cd1ee5cd4d12a7d0383@dds.nl \
--to=list@xenhideout.nl \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).