Hi all,
Sorry for crossposting
My main container (mail, messaging, calendar, phone backup) is offline (and has been for some 10 hours) due to resizing the LV from 3,6 TB to 0,4 TB.
This is an LV on a thin pool; it has previously been filled to about 3 TB before I moved most data to other storage. In effect:
Has anyone had experience with such a case, and hurriedly cancelled the transaction to non catastrophic result?
I have a backup from ~12 hour before the transaction started, mostly nighttime that saw few interactions with the system. Restoring it will take quite a while, so I don't know whether it will be faster to restore the backup and retry resizing a bit less aggressive, or that it is faster to let the resize run its course.
The transaction locks LVM, I can't get current details at the moment.
Sorry for crossposting
My main container (mail, messaging, calendar, phone backup) is offline (and has been for some 10 hours) due to resizing the LV from 3,6 TB to 0,4 TB.
This is an LV on a thin pool; it has previously been filled to about 3 TB before I moved most data to other storage. In effect:
- < 400 GB extents filled with real data
- 2600 GB extents filled with removed data (fstrim)
- 600 GB extents never used
Has anyone had experience with such a case, and hurriedly cancelled the transaction to non catastrophic result?
I have a backup from ~12 hour before the transaction started, mostly nighttime that saw few interactions with the system. Restoring it will take quite a while, so I don't know whether it will be faster to restore the backup and retry resizing a bit less aggressive, or that it is faster to let the resize run its course.
Code:
# lvresize -vr -L 400G /dev/mapper/allerlei-vm--104--disk--0
Executing: /sbin/fsadm --verbose check /dev/allerlei/vm-104-disk-0
fsadm: "ext4" filesystem found on "/dev/mapper/allerlei-vm--104--disk--0".
fsadm: Executing fsck -p /dev/mapper/allerlei-vm--104--disk--0
fsck from util-linux 2.38.1
/dev/mapper/allerlei-vm--104--disk--0: clean, 5204892/244908032 files, 113766239/979632128 blocks
Executing: /sbin/fsadm --verbose resize /dev/allerlei/vm-104-disk-0 419430400K
fsadm: "ext4" filesystem found on "/dev/mapper/allerlei-vm--104--disk--0".
fsadm: Device "/dev/mapper/allerlei-vm--104--disk--0" size is 4012573196288 bytes
fsadm: Parsing tune2fs -l "/dev/mapper/allerlei-vm--104--disk--0"
fsadm: Resizing filesystem on device "/dev/mapper/allerlei-vm--104--disk--0" to 429496729600 bytes (979632128 -> 104857600 blocks of 4096 bytes)
fsadm: Executing resize2fs /dev/mapper/allerlei-vm--104--disk--0 104857600
resize2fs 1.47.0 (5-Feb-2023)
Resizing the filesystem on /dev/mapper/allerlei-vm--104--disk--0 to 104857600 (4k) blocks.
The transaction locks LVM, I can't get current details at the moment.
