lvm thin corruption after lvresize
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
lvm2 version 2.02.98-6ubuntu2
After doing a lvresize of a LVM Thin Pool, I had a corruption all sub
LVM Thin Volumes and lost all of them. Then tried to dump/repair the
tmeta and end up with empty thin volumes (no more filesystem signature on them).
To sum up
The thin_pool was 2T and I tried to increased it to 3T...
As fare as I know, none of the partitions were full but I increased the main
thin pool as it was close to the sum of all sub thin volumes.
I assume that using LVM Thin is still not stable on 14.04 LTS right?
I guess that lvm2 2.02.98 does not properly handle the metadata resize
of a thin pool right? (maybe add a warning somewhere in doc?)
Maybe related to
http://
https:/
I managed to recover some files from the raw thin_pool (tdata/tpool) with scalapel
but that is it.
Do you known any other tools to recovery lvm thin volumes or partition/data on it?
Errors
attempt to access beyond end of device
dm-6: rw=0, want=7753528, limit=262144
attempt to access beyond end of device
dm-6: rw=0, want=7753528, limit=262144
attempt to access beyond end of device
dm-6: rw=0, want=7753528, limit=262144
attempt to access beyond end of device
dm-6: rw=0, want=7753528, limit=262144
/dev/
/dev/
/dev/
/dev/
/dev/
/dev/
/dev/
/dev/
lvs
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
thin_archive mainvg Vwi-aotz- 500.00g thin_pool 94.65
thin_rsnapshot mainvg Vwi-aotz- 1.50t thin_pool 94.01
thin_pool mainvg twi-a-tz- 3.00t 71.65
lvresize -L 2T /dev/mapper/
/dev/
/dev/
/dev/
/dev/
Extending logical volume thin_rsnapshot to 2.00 TiB
Logical volume thin_rsnapshot successfully resized
affects: | update-manager (Ubuntu) → lvm2 (Ubuntu) |
description: | updated |
Hi!
I'm not sure but this might be somehow related: askubuntu. com/questions/ 758693/ using-lvm- and-thin- provisioning- thinpool- on-a-pv- larger- than-2t
http://
Just thought the thin pool size being over 2T might have something to do with it...
Also, I don't know if increasing the pool size automatically also increases the pool metadata portion so you might
want to check that so you're not running out.