NFSScratchDisk module¶
-
class
NFSScratchDisk.
NFSScratchDisk
(config: str)¶ Bases:
cloudflow.services.ScratchDisk.ScratchDisk
NFS implementation of scratch disk. Only manages the symbolic link to an already mounted NFS drive. Assumes all jobs will use the same scratch disk and path.
-
create
(mountpath: str = '/ptmp')¶ The NFS disk is assumed to be mounted, just create a symlink
- Parameters
mountpath (str) – The path where the disk will be mounted. Default = /ptmp” (optional)
-
delete
()¶ Do nothing for now
-
remote_mount
(hosts: list)¶ Create the symbolic link on each host
- Parameters
hosts (list of str) – The list of remote hosts
-