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:
|
--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.
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.