Skip to content

Commit 91cc5f5

Browse files
anatoly-khomenkoknikure
authored andcommitted
directory_path for FSx FileSystemInput
Added details on what should be directory_path in FileSystemInput for FSxLustre file_system_type, as it is not an arbitrary path
1 parent 0b4faf9 commit 91cc5f5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/sagemaker/inputs.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,11 @@ def __init__(
263263
the file system.
264264
Reference: https://docs.aws.amazon.com/efs/latest/ug/mounting-fs.html and
265265
https://docs.aws.amazon.com/fsx/latest/LustreGuide/mount-fs-auto-mount-onreboot.html
266+
Note:
267+
For the FSxLustre the directory_path = f"/{MountName}/{FileSystemPath}"
268+
from these cli commands:
269+
aws fsx describe-file-systems --file-system-ids <FSx filesystem ID>
270+
aws fsx describe-data-repository-associations --association-ids <Data Repository Association ID>
266271
file_system_access_mode (str): Permissions for read and write.
267272
Valid values: 'ro' or 'rw'. Defaults to 'ro'.
268273
"""

0 commit comments

Comments
 (0)