chore: switched storage drive from raid0 to raid1

This commit is contained in:
Nick 2025-12-04 01:04:41 -06:00
parent 1a62fd7463
commit 857f2e39a8
3 changed files with 10 additions and 34 deletions

View file

@ -38,12 +38,13 @@ in
device = "/dev/disk/by-uuid/B645-7527";
fsType = "vfat";
};
"/mnt/raid0" = {
device = "/dev/md127";
"/mnt/storage" = {
device = "/dev/md0";
fsType = "ext4";
options = [
"defaults"
"nofail"
"x-systemd.device-timeout=10"
];
};
}
@ -57,8 +58,12 @@ in
boot.swraid.enable = true;
boot.swraid.mdadmConf = ''
ARRAY /dev/md0 level=raid0 num-devices=2 metadata=1.2
ARRAY /dev/md0 metadata=1.2 name=eris:storage UUID=64659038:a939a18d:8cdc0f3f:97171a50
'';
systemd.tmpfiles.rules = [
"d /mnt/storage 2775 root root -"
];
services.udisks2.enable = true;
}