Testing a backup process of writing LVM snapshot disk images to img files on ltfs.
I attempted this exact chain on local disk first, confirmed the image came back clean with fsck.
When writing to ltfs the block device image comes back corrupt.
blocksync-fast -s /dev/mapper/datavg01-backuplv_snap_28 --progress -f /tmp/backup_08282026.digest -d backup_082
82026.img -b 128K
mbuffer -m 8G -s 1M -i /mnt/tape/backup_08282026.img | dd conv=sparse bs=1M of=restore.img
arm-server /mnt/coldstorage # e2fsck -f restore.img
e2fsck 1.47.4 (6-Mar-2025)
Resize inode not valid. Recreate? yes
Pass 1: Checking inodes, blocks, and sizes
Inode 5767438 has an invalid extent node (blk 23109631, lblk 0)
Clear? yes
Inode 5767438 extent tree (at level 1) could be shorter. Optimize? yes
Inode 5767438, i_blocks is 246072, should be 0. Fix? yes
HTREE directory inode 5906147 has an invalid root node.
Clear HTree index? yes
Inode 6032966 has an invalid extent node (blk 24160254, lblk 0)
Clear? yes
Inode 6032966 extent tree (at level 1) could be shorter. Optimize? yes
Inode 6032966, i_blocks is 279928, should be 0. Fix? yes
HTREE directory inode 6041467 has an invalid root node.
Clear HTree index? yes
HTREE directory inode 6046868 has an invalid root node.
Clear HTree index ('a' enables 'yes' to all) ? yes
HTREE directory inode 6291827 has an invalid root node.
Clear HTree index ('a' enables 'yes' to all) ? yes
Inode 6312820 has an invalid extent node (blk 25207803, lblk 0)
I am backing up a thin LVM snapshot that is online but unmounted.
I will investigate and try to submit a PR if I am able, it might be above my paygrade.
First I am testing the tape drive with a more basic tool though, to rule out tape drive or HBA issues.
mbuffer -m 8G -s 1M -i /dev/mapper/datavg01-backuplv_snap_28 -o /dev/nst0
I am thinking unfortunately something is off with fuse3 support but TBD.
Testing a backup process of writing LVM snapshot disk images to img files on ltfs.
I attempted this exact chain on local disk first, confirmed the image came back clean with fsck.
When writing to ltfs the block device image comes back corrupt.
blocksync-fast -s /dev/mapper/datavg01-backuplv_snap_28 --progress -f /tmp/backup_08282026.digest -d backup_082
82026.img -b 128K
mbuffer -m 8G -s 1M -i /mnt/tape/backup_08282026.img | dd conv=sparse bs=1M of=restore.img
arm-server /mnt/coldstorage # e2fsck -f restore.img
e2fsck 1.47.4 (6-Mar-2025)
Resize inode not valid. Recreate? yes
Pass 1: Checking inodes, blocks, and sizes
Inode 5767438 has an invalid extent node (blk 23109631, lblk 0)
Clear? yes
Inode 5767438 extent tree (at level 1) could be shorter. Optimize? yes
Inode 5767438, i_blocks is 246072, should be 0. Fix? yes
HTREE directory inode 5906147 has an invalid root node.
Clear HTree index? yes
Inode 6032966 has an invalid extent node (blk 24160254, lblk 0)
Clear? yes
Inode 6032966 extent tree (at level 1) could be shorter. Optimize? yes
Inode 6032966, i_blocks is 279928, should be 0. Fix? yes
HTREE directory inode 6041467 has an invalid root node.
Clear HTree index? yes
HTREE directory inode 6046868 has an invalid root node.
Clear HTree index ('a' enables 'yes' to all) ? yes
HTREE directory inode 6291827 has an invalid root node.
Clear HTree index ('a' enables 'yes' to all) ? yes
Inode 6312820 has an invalid extent node (blk 25207803, lblk 0)
I am backing up a thin LVM snapshot that is online but unmounted.
I will investigate and try to submit a PR if I am able, it might be above my paygrade.
First I am testing the tape drive with a more basic tool though, to rule out tape drive or HBA issues.
mbuffer -m 8G -s 1M -i /dev/mapper/datavg01-backuplv_snap_28 -o /dev/nst0
I am thinking unfortunately something is off with fuse3 support but TBD.