new hard drive fstab adjustments
newhd
This commit is contained in:
parent
ffab1e3226
commit
87b9cdadb3
@ -30,12 +30,12 @@
|
||||
device = "/dev/disk/by-uuid/8cd728f6-0d5b-4cea-8f7d-01aad11192c1";
|
||||
preLVM = true;
|
||||
};
|
||||
hnbox = {
|
||||
device = "/dev/disk/by-uuid/c7dd2d5a-b0b3-46a0-aca9-3d4975c1f0bc";
|
||||
disk4 = {
|
||||
device = "/dev/disk/by-uuid/7fcac808-491f-4846-a4a9-a34cc77cb43d";
|
||||
preLVM = true;
|
||||
};
|
||||
seedbox = {
|
||||
device = "/dev/disk/by-uuid/04f06a3e-a91f-476b-9a4b-b9c722ba99e7";
|
||||
hnbox = {
|
||||
device = "/dev/disk/by-uuid/c7dd2d5a-b0b3-46a0-aca9-3d4975c1f0bc";
|
||||
preLVM = true;
|
||||
};
|
||||
};
|
||||
@ -93,17 +93,6 @@
|
||||
"datacow"
|
||||
];
|
||||
};
|
||||
"/mnt/disks/seedbox" = {
|
||||
device = "/dev/mapper/seedbox";
|
||||
fsType = "btrfs";
|
||||
options = [
|
||||
"subvol=@data"
|
||||
"compress=zstd:3"
|
||||
"space_cache=v2"
|
||||
"commit=120"
|
||||
"datacow"
|
||||
];
|
||||
};
|
||||
"/mnt/disks/hnbox" = {
|
||||
device = "/dev/mapper/hnbox";
|
||||
fsType = "btrfs";
|
||||
@ -134,13 +123,8 @@
|
||||
options = [ "bind" "ro" ];
|
||||
depends = [ "/mnt/pool" ];
|
||||
};
|
||||
"/mnt/jellyfin/tutorials" = {
|
||||
device = "/mnt/pool/tutorials";
|
||||
options = [ "bind" "ro" ];
|
||||
depends = [ "/mnt/pool" ];
|
||||
};
|
||||
# NFS
|
||||
"/export/pool_nfs" = {
|
||||
"/export/pool" = {
|
||||
device = "/mnt/pool";
|
||||
options = [ "bind" ];
|
||||
depends = [ "/mnt/pool" ];
|
||||
@ -150,10 +134,10 @@
|
||||
options = [ "bind" ];
|
||||
depends = [ "/mnt/pool" ];
|
||||
};
|
||||
"/export/seedbox" = {
|
||||
device = "/mnt/disks/seedbox";
|
||||
"/export/disks" = {
|
||||
device = "/mnt/disks";
|
||||
options = [ "bind" ];
|
||||
depends = [ "/mnt/disks/seedbox" ];
|
||||
depends = [ "/mnt/disks" ];
|
||||
};
|
||||
};
|
||||
services.nfs = {
|
||||
@ -162,8 +146,8 @@
|
||||
exports = ''
|
||||
/export workstation(rw,fsid=0,no_subtree_check)
|
||||
/export/jawz workstation(rw,nohide,insecure,no_subtree_check)
|
||||
/export/seedbox workstation(rw,nohide,insecure,no_subtree_check)
|
||||
/export/pool_nfs workstation(rw,nohide,insecure,no_subtree_check,async,no_root_squash,fsid=1)
|
||||
/export/disks workstation(rw,nohide,insecure,no_subtree_check)
|
||||
/export/pool workstation(rw,nohide,insecure,no_subtree_check)
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user