API Doc
Search Docs...
⌘ K
OverviewDeploymentManagementOperationReferenceGlossary
    ACOS 6.3.0
  • Arcfra Cloud Operating System>
  • CLI command>
  • Managing physical disks

Mounting and unmounting

Mounting a physical disk

The system automatically discovers physical disks inserted into physical machines. However, the new physical disks inserted into the host are in an unmounted state. They need to be mounted with formatting before being used for cluster storage.

Note

Mounting a physical disk formats it and clears all its data. Before mounting, ensure that the physical disk has no data to retain.

Procedure

Run the following command to mount the physical disk:

zbs-deploy-manage mount-disk <disk path> <usage> --chunk_ins_id <chunk_ins_id>

Parameter Description
disk path The path to mount the physical disk.
usage The purposes of mounting physical disks:
  • arcfra_system: Used as the node system disk, which contains a system partition.

  • cache: Used as cache disks.

  • data: Used as data disks.

--chunk_ins_id The physical disk pool ID of the physical disk that requires to be mounted. You can obtain it using zbs-meta node list.

Output note

The mounting process is displayed.

Unmounting a physical disk

Procedure

Run the following command to unmount the physical disk from the node:

zbs-deploy-manage umount-disk <disk path>

Parameter Description
disk path The path to unmount the physical disk.

Output note

The unmounting process is displayed.