From 0d9c92bfdfc267722e04ca0364f873abe261e5ec Mon Sep 17 00:00:00 2001 From: Matti Paaso Date: Thu, 8 Feb 2024 09:15:14 +0200 Subject: [PATCH] Fix mount command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mount on Virtual machine uses NFS version 4 as default, and it was causing disk I/O errors when trying to access disk. Forcing the mount use NFS version 3. Change-Id: Ibc5958d8a7e71c463ffa9c3282344c08b2c5019a Reviewed-by: Tony Sarajärvi --- coin/instructions/coin_module_axivion_template_v2.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin/instructions/coin_module_axivion_template_v2.yaml b/coin/instructions/coin_module_axivion_template_v2.yaml index 81d814b5c3a..87d32f5d37d 100644 --- a/coin/instructions/coin_module_axivion_template_v2.yaml +++ b/coin/instructions/coin_module_axivion_template_v2.yaml @@ -38,7 +38,7 @@ build_environment_axivion: &build_environment_axivion maxTimeBetweenOutput: 100 userMessageOnFailure: "Create mount point for results failed" - type: ExecuteCommand - command: ["sudo", "mount", "-o", "rw", "10.212.0.93:/data/axivion", "/data/axivion"] + command: ["sudo", "mount", "-t", "nfs", "-o", "rw,nfsvers=3", "10.212.0.93:/data/axivion", "/data/axivion"] maxTimeInSeconds: 100 maxTimeBetweenOutput: 100 userMessageOnFailure: "Mount failed"