There is somthing broken, if i attach cache to the LVM all hell brokes lose files get corrupted, maby there is somebody here that can help out whats is going on
MK_RAID 2x SSD 250GB
mdadm --create /dev/md0 -l 0 -n 2 /dev/sde /dev/sdd
FDISK
fdisk /dev/md0
del all par, create new pri par, type 8e ( Linux LVM )
pvcreate /dev/md0p1
vgextend data_storage /dev/md0p1
lvcreate -n cache -L450G data_storage /dev/md0p1
lvcreate -n cache_meta -L450M data_storage /dev/md0p1
lvconvert --type cache-pool --cachemode writeback --poolmetadata data_storage/cache_meta data_storage/cache
lvconvert --type cache --cachepool data_storage/cache data_storage/media
and now dmesg output
[138206.395845] md/raid0:md0: make_request bug: can’t convert block across chunks or bigger than 4096k 74014208 480
[138206.650300] md/raid0:md0: make_request bug: can’t convert block across chunks or bigger than 4096k 73662080 384
[138206.657714] md/raid0:md0: make_request bug: can’t convert block across chunks or bigger than 4096k 73777088 480
[138207.172557] md/raid0:md0: make_request bug: can’t convert block across chunks or bigger than 4096k 78757568 412
[138222.890592] md/raid0:md0: make_request bug: can’t convert block across chunks or bigger than 4096k 75136696 260
[138222.890964] EXT4-fs warning (device dm-6): ext4_end_bio:316: I/O error -5 writing to inode 78512130 (offset 0 size 0 starting block 314112511)
[138222.891709] buffer_io_error: 31 callbacks suppressed
[138222.892083] Buffer I/O error on device dm-6, logical block 314112511
[138222.892494] Buffer I/O error on device dm-6, logical block 314112512
[138222.892872] Buffer I/O error on device dm-6, logical block 314112513
[138222.893267] Buffer I/O error on device dm-6, logical block 314112514
[138222.893644] Buffer I/O error on device dm-6, logical block 314112515
[138222.894082] Buffer I/O error on device dm-6, logical block 314112516
[138222.894650] Buffer I/O error on device dm-6, logical block 314112517
[138222.895228] Buffer I/O error on device dm-6, logical block 314112518
[138222.895717] Buffer I/O error on device dm-6, logical block 314112519
[138222.896103] Buffer I/O error on device dm-6, logical block 314112520
[138223.714352] md/raid0:md0: make_request bug: can’t convert block across chunks or bigger than 4096k 83279168 480
[138223.718396] EXT4-fs warning (device dm-6): ext4_end_bio:316: I/O error -5 writing to inode 78905346 (offset 3021471744 size 524288 starting block 147603840)