CLI Commands
Note: Mapfs Pro doesn't have GUI so far.
| Command | Explain |
| mapfs mapfs -h mapfs --help |
Display accepted sub-commands and how to get sub-command help message. |
| mapfs -v mapfs --version |
Display mapfs product information: Copyright, EULA, Privacy. |
| mapfs add |
Adding a new mapping. If no arguments given, or incorrect arguments given, the detailed help message for "add" subcommand is displayed. Notes:
Examples: 1, AWS S3 $ mapfs add <VolumeName> aws <AccessKeyID> <SecretAccessKey> <BucketName> <Region> [Options] 2, Azure $ mapfs add <VolumeName> azure "<ConnectionString>" <ContainerName> [Options] Note: ConnectionString is a long character sequence, must be wrapped with "". 3, Google/GCS $ mapfs add <VolumeName> google <AccessKeyID> <SecretAccessKey> <BucketName> <Region> [Options] 4, Wasabi $ mapfs add <VolumeName> wasabi <AccessKeyID> <SecretAccessKey> <BucketName> <Region> [Options] 5, Cloudflare $ mapfs add <VolumeName> cloudflare <AccessKeyID> <SecretAccessKey> <BucketName> <AccountID> [Options] 6, Aliyun $ mapfs add <VolumeName> aliyun <AccessKeyID> <SecretAccessKey> <BucketName> <Region> [Options] 7, Oracle Cloud Storage $ mapfs add <VolumeName> oracle <AccessKeyID> <SecretAccessKey> <BucketName> <Region> <OCI-Namespace> [Options] |
| mapfs remove |
Remove an existing volume. If no arguments given, or incorrect arguments given, the detailed help message for "delete" subcommand is displayed. Note: before removing an existing mapping, the volume must be in the Offline/Unmont status. |
| mapfs list | Displays all the volumes' information. |
| mapfs configure |
Configuring the Cache Parameters for one specific volume.
Examples: $ mapfs configure <VolumeName> cache_dir=/data cache_size=100 cache_timeout=300 |
| mapfs mount |
Mounting one volume to one specific local folder.
|
| mapfs umount | Unmount one volume, disconnects the connection between local folder and Object Storage. If no arguments given, or incorrect arguments given, the detailed help message for "umount" subcommand is displayed. |
| mapfs stat | Displays the IO Status, Cache Hit/Miss Statistics information for all the mounted volumes. Note: Only applies for mounted volumes. |