From 373a511bf7f8c71497b0377320e16d6c52e17ef0 Mon Sep 17 00:00:00 2001 From: Lee Goolsbee Date: Mon, 4 May 2020 16:14:17 -0500 Subject: [PATCH 1/4] try setting AWS-recommended mount options for EBS volumes --- roles/nfs_server/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/nfs_server/tasks/main.yml b/roles/nfs_server/tasks/main.yml index 6cd4aff..fb6acd5 100644 --- a/roles/nfs_server/tasks/main.yml +++ b/roles/nfs_server/tasks/main.yml @@ -34,6 +34,7 @@ path: "{{ atl_shared_mountpoint }}" src: "LABEL={{ atl_nfs_fs_label }}" fstype: "{{ atl_nfs_fs_type }}" + opts: defaults,nofail 0 2 state: mounted From 545f117d3eb59a9e9322d4567da0f54037eb3b74 Mon Sep 17 00:00:00 2001 From: Lee Goolsbee Date: Mon, 4 May 2020 16:26:46 -0500 Subject: [PATCH 2/4] perhaps backup/fsck options aren't supported? --- roles/nfs_server/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nfs_server/tasks/main.yml b/roles/nfs_server/tasks/main.yml index fb6acd5..a4eacf4 100644 --- a/roles/nfs_server/tasks/main.yml +++ b/roles/nfs_server/tasks/main.yml @@ -34,7 +34,7 @@ path: "{{ atl_shared_mountpoint }}" src: "LABEL={{ atl_nfs_fs_label }}" fstype: "{{ atl_nfs_fs_type }}" - opts: defaults,nofail 0 2 + opts: defaults,nofail state: mounted From 0b0a57d600e0395a6ffd3c804f76cb857470c9a3 Mon Sep 17 00:00:00 2001 From: Lee Goolsbee Date: Mon, 4 May 2020 16:31:56 -0500 Subject: [PATCH 3/4] ah, passno --- roles/nfs_server/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/nfs_server/tasks/main.yml b/roles/nfs_server/tasks/main.yml index a4eacf4..f82a301 100644 --- a/roles/nfs_server/tasks/main.yml +++ b/roles/nfs_server/tasks/main.yml @@ -35,6 +35,7 @@ src: "LABEL={{ atl_nfs_fs_label }}" fstype: "{{ atl_nfs_fs_type }}" opts: defaults,nofail + passno: 2 state: mounted From 873e36297ab2a98086051b726f424cf2436decfc Mon Sep 17 00:00:00 2001 From: Lee Goolsbee Date: Mon, 4 May 2020 17:10:58 -0500 Subject: [PATCH 4/4] passno should be a string --- roles/nfs_server/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nfs_server/tasks/main.yml b/roles/nfs_server/tasks/main.yml index f82a301..44fc8b0 100644 --- a/roles/nfs_server/tasks/main.yml +++ b/roles/nfs_server/tasks/main.yml @@ -35,7 +35,7 @@ src: "LABEL={{ atl_nfs_fs_label }}" fstype: "{{ atl_nfs_fs_type }}" opts: defaults,nofail - passno: 2 + passno: "2" state: mounted