Filesystems, testing, and stable trees
Filesystems, testing, and stable trees
Posted Jun 15, 2022 16:11 UTC (Wed) by Wol (subscriber, #4433)In reply to: Filesystems, testing, and stable trees by nix
Parent article: Filesystems, testing, and stable trees
It was really nasty in that you had to run a kernel the same side of the change as the one the raid was created by - both new kernel on old raid and old kernel on new raid would lead to data corruption. What do you do? You can't revert the change because any arrays created with a modified kernel would be inaccessible.
They ended up by adding a flag to the raid to identify old or new, and all new kernels now refuse to start an array if that flag is missing. It's easy to add, so new kernels are fine, people are unlikely to revert to old kernels, and asymetric raids aren't that common ...
Yes, upgrading does show up a completely different class of bug ... :-)
Cheers,
Wol
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
