Amazon Elastic File System Operations: Difference between revisions
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
More details: | More details: | ||
{{External|https://docs.aws.amazon.com/efs/latest/ug/mounting-fs.html}} | {{External|https://docs.aws.amazon.com/efs/latest/ug/mounting-fs.html}} | ||
=List Mount Targets= | |||
<syntaxhighlight lang='bash'> | |||
aws efs describe-mount-targets --file-system-id fs-33333333 | |||
</syntaxhighlight> | |||
=Delete a File System= | |||
==Delete a Mount Target== | |||
First all mount targets need to be deleted: | |||
<syntaxhighlight lang='bash'> | |||
aws efs delete-mount-target --mount-target-id fsmt-11111111 | |||
</syntaxhighlight> |
Revision as of 22:19, 21 July 2020
Internal
Mount an EFS File System on an EC2 Instance
Install 'amazon-efs-utils' package:
sudo yum install -y amazon-efs-utils
More details:
Mount the file system:
sudo mount -t efs fs-12345678:/ /mnt/efs
More details:
List Mount Targets
aws efs describe-mount-targets --file-system-id fs-33333333
Delete a File System
Delete a Mount Target
First all mount targets need to be deleted:
aws efs delete-mount-target --mount-target-id fsmt-11111111