kuro: add /usr/store mount
And automount it (and /usr/drive)
This commit is contained in:
parent
eb3f1c1e57
commit
c2efad829d
|
@ -40,6 +40,16 @@ mkfs.ext4 -L vm2 /dev/sdb1
|
|||
#+END_SRC
|
||||
|
||||
** 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
|
||||
# 2x 1TB mirrored backup
|
||||
zpool create -R /mnt \
|
||||
|
|
|
@ -75,7 +75,12 @@
|
|||
"/usr/drive" = {
|
||||
device = "kiiro:/volume1/homes/hlissner/Drive";
|
||||
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 = [];
|
||||
|
|
Loading…
Reference in a new issue