kuro: add /usr/store mount

And automount it (and /usr/drive)
This commit is contained in:
Henrik Lissner 2021-02-12 11:19:36 -05:00
parent eb3f1c1e57
commit c2efad829d
2 changed files with 16 additions and 1 deletions

View file

@ -40,6 +40,16 @@ mkfs.ext4 -L vm2 /dev/sdb1
#+END_SRC #+END_SRC
** Set up backup file system ** Set up backup file system
#+BEGIN_SRC sh
parted /dev/sda -- mklabel gpt
parted /dev/sda -- mkpart primary ext4 0% 100%
mkfs.ext4 -L store /dev/sda
#+END_SRC
** +Set up backup file system+
Backup was moved to an NAS, so this is no longer needed. It's kept as a
reference.
#+BEGIN_SRC sh #+BEGIN_SRC sh
# 2x 1TB mirrored backup # 2x 1TB mirrored backup
zpool create -R /mnt \ zpool create -R /mnt \

View file

@ -75,7 +75,12 @@
"/usr/drive" = { "/usr/drive" = {
device = "kiiro:/volume1/homes/hlissner/Drive"; device = "kiiro:/volume1/homes/hlissner/Drive";
fsType = "nfs"; fsType = "nfs";
options = [ "nofail" "noauto" "x-systemd.automount" ]; options = [ "nofail" "noauto" "x-systemd.automount" "x-systemd.idle-timeout=5min" ];
};
"/usr/store" = {
device = "/dev/disk/by-label/store";
fsType = "ext4";
options = [ "noauto" "noatime" "x-systemd.automount" "x-systemd.idle-timeout=5min" ];
}; };
}; };
swapDevices = []; swapDevices = [];