Device name of an attached disk volume, which should align with a
device_name specified by
job.allocation_policy.instances[0].policy.disks[i].device_name or
defined by the given instance template in
job.allocation_policy.instances[0].instance_template.
public RepeatedField<string> MountOptions { get; }
Mount options vary based on the type of storage volume:
For a Cloud Storage bucket, all the mount options provided
by
the gcsfuse tool
are supported.
For an existing persistent disk, all mount options provided by the
mount command
except writing are supported. This is due to restrictions of
multi-writer
mode.
For any other disk or a Network File System (NFS), all the
mount options provided by the mount command are supported.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Batch v1 API class Volume is 2.13.0, with the current page specifically detailing version 2.12.0 and providing links to older versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVolume\u003c/code\u003e class, which inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIEquatable\u003c/code\u003e, describes parameters for mounting a volume to a VM.\u003c/p\u003e\n"],["\u003cp\u003eThis class \u003ccode\u003eVolume\u003c/code\u003e supports different storage volume types, including Google Cloud Storage (GCS) and Network File System (NFS), each with their own mount option specifications.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVolume\u003c/code\u003e class includes properties like \u003ccode\u003eDeviceName\u003c/code\u003e, \u003ccode\u003eMountOptions\u003c/code\u003e, and \u003ccode\u003eMountPath\u003c/code\u003e to configure the volume and how it interacts with the VM.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSourceCase\u003c/code\u003e property is used to identify the specific type of volume source being used, and has constructors allowing for no parameter or a \u003ccode\u003eVolume\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]