Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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


Usage

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

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


Output

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                         

* = DiskID contains (Host, Channel, Id, Lun)
  • No labels