Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Disk shows all the physically attached SCSI devices on the Mayastor storage server.


Usage

Code Block
languagetext
show disk
create disk <cloud-disk-name> cloud=cloud-label size=size-val[mMgGTt] blocksize=<size-val>[KM] [bucket=<bucket-name>
set disk locate=[0|1]|power_status=[on|off]|fault=[0|1] <devname>set disk disk=<cloud-disk> online=[0|1] loopdev=[yes|no|loopX]
delete disk <devname>


Examples

Code Block
languagetext
themeEmacs

create disk cloud_disk1 cloud=mys3account bucket=zettatest-blobdisk-13 size=40g blocksize=1024K


Output

Code Block
languagetext
themeDJango

mayacli show disk
Attached SCSI disk devices:
DiskID* Vendor Model Rev Capacity Device Serial#
------------ -------- ---------------- -------- -------- ------------ --------
(0,0,1,0) Google PersistentDisk 1 10.00G sda 
(0,0,2,0) Google PersistentDisk 1 200.00G sdb