Activity log for bug #1480923

Date Who What changed Old value New value Message
2015-08-03 13:50:36 B. bug added bug
2015-08-04 06:53:54 B. affects update-manager (Ubuntu) lvm2 (Ubuntu)
2015-08-04 07:07:22 B. description lvm2 version 2.02.98-6ubuntu2 After doing a lvextend 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?) 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/mainvg/thin_rsnapshot: read failed after 0 of 4096 at 2199023190016: Input/output error /dev/mainvg/thin_rsnapshot: read failed after 0 of 4096 at 2199023247360: Input/output error /dev/mainvg/thin_rsnapshot: read failed after 0 of 4096 at 0: Input/output error /dev/mainvg/thin_rsnapshot: read failed after 0 of 4096 at 4096: Input/output error /dev/mainvg/thin_archive: read failed after 0 of 4096 at 805306302464: Input/output error /dev/mainvg/thin_archive: read failed after 0 of 4096 at 805306359808: Input/output error /dev/mainvg/thin_archive: read failed after 0 of 4096 at 0: Input/output error /dev/mainvg/thin_archive: read failed after 0 of 4096 at 4096: Input/output error 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/mainvg-thin_rsnapshot /dev/mainvg/thin_rsnapshot: read failed after 0 of 4096 at 1649267376128: Input/output error /dev/mainvg/thin_rsnapshot: read failed after 0 of 4096 at 1649267433472: Input/output error /dev/mainvg/thin_archive: read failed after 0 of 4096 at 536870846464: Input/output error /dev/mainvg/thin_archive: read failed after 0 of 4096 at 536870903808: Input/output error Extending logical volume thin_rsnapshot to 2.00 TiB Logical volume thin_rsnapshot successfully resized 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://comments.gmane.org/gmane.linux.kernel.device-mapper.devel/19190 https://www.redhat.com/archives/lvm-devel/2013-June/msg00371.html 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/mainvg/thin_rsnapshot: read failed after 0 of 4096 at 2199023190016: Input/output error   /dev/mainvg/thin_rsnapshot: read failed after 0 of 4096 at 2199023247360: Input/output error   /dev/mainvg/thin_rsnapshot: read failed after 0 of 4096 at 0: Input/output error   /dev/mainvg/thin_rsnapshot: read failed after 0 of 4096 at 4096: Input/output error   /dev/mainvg/thin_archive: read failed after 0 of 4096 at 805306302464: Input/output error   /dev/mainvg/thin_archive: read failed after 0 of 4096 at 805306359808: Input/output error   /dev/mainvg/thin_archive: read failed after 0 of 4096 at 0: Input/output error   /dev/mainvg/thin_archive: read failed after 0 of 4096 at 4096: Input/output error 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/mainvg-thin_rsnapshot   /dev/mainvg/thin_rsnapshot: read failed after 0 of 4096 at 1649267376128: Input/output error   /dev/mainvg/thin_rsnapshot: read failed after 0 of 4096 at 1649267433472: Input/output error   /dev/mainvg/thin_archive: read failed after 0 of 4096 at 536870846464: Input/output error   /dev/mainvg/thin_archive: read failed after 0 of 4096 at 536870903808: Input/output error   Extending logical volume thin_rsnapshot to 2.00 TiB   Logical volume thin_rsnapshot successfully resized
2016-05-04 13:14:15 Peik bug added subscriber Peik
2022-03-23 14:44:03 mai ling bug watch added https://bugzilla.redhat.com/show_bug.cgi?id=2067215