Skip to contentSkip to conversation

Question on RAID integrity limitations

linux-lvm David Teigland 1 participant 1 message Jun 5, 2023 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 7 lines · On Sat, Jun 03, 2023 at 12:30:01AM +0000, Cyclic Group Z_1 wrote:

The lvmraid documentation says the following: "To work around some limitations, it is possible to remove integrity from the LV, make the change, then add integrity again. (Integrity metadata would need to initialized when added again.) ... The following are not yet permitted on RAID LVs with integrity: lvreduce, pvmove, snapshots, splitmirror, raid syncaction commands, raid rebuild." Does this mean that RAID rebuilds can only be done with integrity temporarily turned off?

It refers specifically to running the command "lvchange --rebuild". I'm not entirely sure how important that command is, but I'd be happy to hear more about its usefulness.

Quoted 4 lines

This seems risky given that rebuilds are often when RAID arrays undergo the most stress and are thus vulnerable to failures/errors (namely, for parity RAID). Additionally, is the suggested workaround for snapshots to temporarily turn off integrity when taking/using snapshots? Thank you!

Snapshots were recently enabled:
https://sourceware.org/git/?p=lvm2.git;a=commit;h=fd6e113bba5fed5ee41152cde33220294c24ce2b

Dave

_______________________________________________
linux-lvm mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/