Skip to content

Commit

Permalink
Fix mount command
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Matti Paaso committed Feb 15, 2024
1 parent b3cc89e commit 0d9c92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coin/instructions/coin_module_axivion_template_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0d9c92b

Please sign in to comment.