How to mount FSx Lustre in read only mode?

375 Views Asked by At

I have S3 data I'd like to mount via AWS FSx Lustre, and this data should only be read. Which additional flags, or changes, do I need beyond the default mount command

sudo mount -t lustre -o noatime,flock DNS_NAME@tcp:/MOUNT_POINT /fsx
1

There are 1 best solutions below

2
On

No point in setting noatime on a read-only mount. So...

sudo mount -t lustre -o ro,flock DNS_NAME@tcp:/MOUNT_POINT /fsx

(not tested)