FSxScratchDisk module¶
-
class
FSxScratchDisk.
FSxScratchDisk
(config: str)¶ Bases:
cloudflow.services.ScratchDisk.ScratchDisk
AWS FSx for Lustre implementation of scratch disk. Can only have one at a time. Assumes all jobs will use the same scratch disk and path
-
create
(mountpath: str = '/ptmp')¶ Create a new FSx scratch disk and mount it locally
- Parameters
mountpath (str) – The path where the disk will be mounted. Default = /ptmp” (optional)
-
delete
()¶ Delete this FSx disk
-
remote_mount
(hosts: list)¶ Mount this FSx disk on remote hosts
- Parameters
hosts (list of str) – The list of remote hosts
-