drone: add nofail option to external mounts
This commit is contained in:
parent
91a0bb384a
commit
947a6bb970
1 changed files with 6 additions and 4 deletions
|
|
@ -41,16 +41,19 @@
|
|||
"/mnt/external" = {
|
||||
device = "zpool-mirror";
|
||||
fsType = "zfs";
|
||||
options = [ "nofail" ];
|
||||
};
|
||||
|
||||
"/mnt/external/backup" = {
|
||||
device = "zpool-mirror/backup";
|
||||
fsType = "zfs";
|
||||
options = [ "nofail" ];
|
||||
};
|
||||
|
||||
"/mnt/external/storage" = {
|
||||
device = "zpool-mirror/storage";
|
||||
fsType = "zfs";
|
||||
options = [ "nofail" ];
|
||||
};
|
||||
|
||||
# bind mounts for file storage dirs on nextcloud from external storage
|
||||
|
|
@ -58,21 +61,20 @@
|
|||
depends = [ "/mnt/external/storage" ];
|
||||
device = "/mnt/external/storage/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files";
|
||||
fsType = "none";
|
||||
options = [ "bind" ];
|
||||
options = [ "bind" "nofail" ];
|
||||
};
|
||||
"/var/lib/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_versions" = {
|
||||
depends = [ "/mnt/external/storage" ];
|
||||
device = "/mnt/external/storage/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_versions";
|
||||
fsType = "none";
|
||||
options = [ "bind" ];
|
||||
options = [ "bind" "nofail" ];
|
||||
};
|
||||
"/var/lib/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_trashbin" = {
|
||||
depends = [ "/mnt/external/storage" ];
|
||||
device = "/mnt/external/storage/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_versions";
|
||||
fsType = "none";
|
||||
options = [ "bind" ];
|
||||
options = [ "bind" "nofail" ];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
services.zfs.autoScrub.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue