nixpkgs/nixos/doc/manual/release-notes
Kyle Hendricks 463424129d snapraid: fix split parity files
SnapRAID has a feature where you can specify "split" parity files. This
is useful when you're using 16tb or bigger ext4-formatted disks for
parity. ext4 doesn't support files bigger than 16tb so this "split
parity file" can be used to specify two parity files on a single parity
disk and SnapRAID will automatically use the subsequent file when the current
cannot grow anymore (hits 16TB). You specify these split parity files by
separating them with commas in the "parity" config option. This
mostly already works except when it comes to the scheduled systemd sync
job where it specifies ReadWritePaths. If you specify a parity with
multiple files you'll get an error when the systemd job runs: Failed to
set up mount namespacing:
/run/systemd/unit-root/mnt/parity1/snapraid1.parity,/mnt/parity1/snapraid2.parity: No such file or directory
Essentially, when the parity file paths are passed into ReadWritePaths,
they're always treated as a single path.  This change makes sure to
split the paths if they contain a comma.

The big concern for this change is if it would break users who have
commas in their actual parity file paths.  This won't be an issue because SnapRAID
itself blindly splits on commas for parity files, so legitimate commas in a parity
file path wouldn't work in SnapRAID anyway. See here:
978d812153/cmdline/state.c (L692)

SnapRAID doc for split parity files: https://www.snapraid.it/manual#7.1
2023-11-29 20:10:29 -05:00
..
release-notes.md 23.11 is Tapir 2023-05-22 21:16:04 +02:00
rl-1310.section.md
rl-1404.section.md
rl-1412.section.md
rl-1509.section.md manual: fix parsing differences for markdown-it-py 3 2023-09-27 15:35:23 +02:00
rl-1603.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
rl-1609.section.md doc: avoid 'simply' (#266434) 2023-11-09 21:48:05 +01:00
rl-1703.section.md doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
rl-1709.section.md nixos: fix typos 2023-05-19 22:31:04 -04:00
rl-1803.section.md nixos: fix typos 2023-05-19 22:31:04 -04:00
rl-1809.section.md doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
rl-1903.section.md nixos: fix typos 2023-05-19 22:31:04 -04:00
rl-1909.section.md doc: avoid 'simply' (#266434) 2023-11-09 21:48:05 +01:00
rl-2003.section.md doc: avoid 'simply' (#266434) 2023-11-09 21:48:05 +01:00
rl-2009.section.md doc: avoid 'simply' (#266434) 2023-11-09 21:48:05 +01:00
rl-2105.section.md treewide: Fix typos 2023-09-28 19:06:13 +02:00
rl-2111.section.md redis: use system jemalloc (#243398) 2023-07-15 13:02:13 -05:00
rl-2205.section.md nixos/modemmanager: enableFccUnlock -> enableBundledFccUnlockScripts 2023-09-12 16:55:15 +02:00
rl-2211.section.md doc: avoid 'simply' (#266434) 2023-11-09 21:48:05 +01:00
rl-2305.section.md alsa-utils: fix eval 2023-11-17 00:46:24 +01:00
rl-2311.section.md snapraid: fix split parity files 2023-11-29 20:10:29 -05:00
rl-2405.section.md Merge pull request #267707 from katexochen/mkosi/19 2023-11-29 17:56:26 +11:00