Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow, didn't know about that. Though it seems to require additional metadata, not just the parity data for the RAID level. From the Ubuntu 22 lvmraid(7) man page:

When creating a RAID LV with integrity, or adding integrity, space is required for integrity metadata. Every 500MB of LV data requires an additional 4MB to be allocated for integrity metadata, for each RAID image.

Also:

The following are not yet permitted on RAID LVs with integrity: lvreduce, pvmove, snapshots, splitmirror, raid syncaction commands, raid rebuild.

The typical workaround for these seems to be remove the integrity, make the change, then add/reinitialize the integrity metadata.



> Wow, didn't know about that. Though it seems to require additional metadata, not just the parity data for the RAID level.

You don't have parity data on RAID1, unless you've got a fancy enterprise setup with irregular size blocks. Most hobbyists don't, and it's probably not even possible on most NVMes.

I think this is most helpful on RAID1, where you can have cases where there's a discrepancy but both disks can read the sector, so you have no idea which one is right.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: