From fcbba446ac363479d1f313f46e66f2e7ae081290 Mon Sep 17 00:00:00 2001 From: Anatoly Khomenko Date: Mon, 13 Nov 2023 15:36:35 -0500 Subject: [PATCH] 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 --- src/sagemaker/inputs.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sagemaker/inputs.py b/src/sagemaker/inputs.py index 89779bef44..b87e782b04 100644 --- a/src/sagemaker/inputs.py +++ b/src/sagemaker/inputs.py @@ -263,6 +263,11 @@ def __init__( the file system. Reference: https://docs.aws.amazon.com/efs/latest/ug/mounting-fs.html and https://docs.aws.amazon.com/fsx/latest/LustreGuide/mount-fs-auto-mount-onreboot.html + Note: + For the FSxLustre the directory_path = f"/{MountName}/{FileSystemPath}" + from these cli commands: + aws fsx describe-file-systems --file-system-ids + aws fsx describe-data-repository-associations --association-ids file_system_access_mode (str): Permissions for read and write. Valid values: 'ro' or 'rw'. Defaults to 'ro'. """