summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Paaso <matti.paaso@qt.io>2024-02-08 09:15:14 +0200
committerMatti Paaso <matti.paaso@qt.io>2024-02-15 09:52:52 +0200
commit0d9c92bfdfc267722e04ca0364f873abe261e5ec (patch)
tree929708bc6384b2dce3af913f5a0f53ceceb2f3de
parentb3cc89e81c149533e279df2442a79cc1dfce9ec5 (diff)
Fix mount command
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 <tony.sarajarvi@qt.io>
-rw-r--r--coin/instructions/coin_module_axivion_template_v2.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/coin/instructions/coin_module_axivion_template_v2.yaml b/coin/instructions/coin_module_axivion_template_v2.yaml
index 81d814b5c3..87d32f5d37 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"