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" = {
|
"/mnt/external" = {
|
||||||
device = "zpool-mirror";
|
device = "zpool-mirror";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
options = [ "nofail" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
"/mnt/external/backup" = {
|
"/mnt/external/backup" = {
|
||||||
device = "zpool-mirror/backup";
|
device = "zpool-mirror/backup";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
options = [ "nofail" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
"/mnt/external/storage" = {
|
"/mnt/external/storage" = {
|
||||||
device = "zpool-mirror/storage";
|
device = "zpool-mirror/storage";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
options = [ "nofail" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# bind mounts for file storage dirs on nextcloud from external storage
|
# bind mounts for file storage dirs on nextcloud from external storage
|
||||||
|
|
@ -58,21 +61,20 @@
|
||||||
depends = [ "/mnt/external/storage" ];
|
depends = [ "/mnt/external/storage" ];
|
||||||
device = "/mnt/external/storage/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files";
|
device = "/mnt/external/storage/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files";
|
||||||
fsType = "none";
|
fsType = "none";
|
||||||
options = [ "bind" ];
|
options = [ "bind" "nofail" ];
|
||||||
};
|
};
|
||||||
"/var/lib/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_versions" = {
|
"/var/lib/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_versions" = {
|
||||||
depends = [ "/mnt/external/storage" ];
|
depends = [ "/mnt/external/storage" ];
|
||||||
device = "/mnt/external/storage/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_versions";
|
device = "/mnt/external/storage/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_versions";
|
||||||
fsType = "none";
|
fsType = "none";
|
||||||
options = [ "bind" ];
|
options = [ "bind" "nofail" ];
|
||||||
};
|
};
|
||||||
"/var/lib/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_trashbin" = {
|
"/var/lib/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_trashbin" = {
|
||||||
depends = [ "/mnt/external/storage" ];
|
depends = [ "/mnt/external/storage" ];
|
||||||
device = "/mnt/external/storage/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_versions";
|
device = "/mnt/external/storage/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_versions";
|
||||||
fsType = "none";
|
fsType = "none";
|
||||||
options = [ "bind" ];
|
options = [ "bind" "nofail" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.zfs.autoScrub.enable = true;
|
services.zfs.autoScrub.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue