[solved] Luks and filesystem

I can use:

cryptsetup luksFormat /dev/sdx
cryptsetup open /dev/sdx device
mkfs.ext4 /dev/mapper/device
mount /dev/mapper/device /mnt

All good. But when I write some files on it, I get every time errors, like this:

XFS (dm-0): Error -117 recovering leftover CoW allocations

and it doesnt matter witch filesystem I use. Every time I get write errors. I tried some other HDDs, but still the same. I could not be, that all HDDs are broken. One of them I get it today, completly new.
Is that a bug?

I used OpenWrt 22.03.0-rc4

EDIT:
When I formated with ext4 I get this:

[ 1880.778362] EXT4-fs (dm-0): ext4_check_descriptors: Block bitmap for group 128 not in group (block 10156833788276462864)!
[ 1880.788020] EXT4-fs (dm-0): group descriptors corrupted!

With OpenWrt 19.07.10 r11427-9ce6aa9d8d it works, without errors.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.