@@ -62,9 +62,8 @@ When specifying a storage object, you can specify either of two modes:
6262 In effect, files are streamed from the backing source bucket as and when
6363 they are accessed by applications. This mode also allows applications to
6464 write to the mount path. All writes are replicated to remote bucket (and
65- any other VMs mounting the same bucket). Please note that this mode
66- uses a close-to-open consistency model, which means a file write is
67- committed to the backing store only after :code: `close() ` is called on it.
65+ any other VMs mounting the same bucket).
66+
6867
6968- :code: `mode: COPY `
7069 This mode pre-fetches your files from remote storage and caches them on the
@@ -176,6 +175,17 @@ and storage mounting:
176175 For mounts not using SkyPilot Storage (e.g., those using rsync) the symbolic links are directly copied, not their target data.
177176 The targets must be separately mounted or else the symlinks may break.
178177
178+ .. note ::
179+ :code: `MOUNT ` mode employs a close-to-open consistency model. This means calling
180+ :code: `close() ` on a file will upload the entire file to the backing object store.
181+ Any subsequent reads, either using SkyPilot Storage or external utilities (such as
182+ aws/gsutil cli) will see the latest data.
183+
184+ .. note ::
185+ :code: `MOUNT ` mode does not support the full POSIX interface and some file
186+ operations may fail. Most notably, random writes and append operations are
187+ not supported.
188+
179189.. note ::
180190 Storage only supports uploading directories (i.e., :code: `source ` cannot be a file).
181191 To upload a single file to a bucket, please put in a directory and specify the directory as the source.
0 commit comments