disk listall
Lists all disks.
Syntax
- CLI
-
maprcli disk listall [ -cluster <cluster> ] [ -limit <limit>] [ -output terse|verbose ] [ -start <offset>]
- REST
Request Type GET Request URL http[s]://<host>:<port>/rest/disk/listall[?<parameters>]
Parameters
Parameter |
Description |
---|---|
cluster |
The cluster on which to run the command. |
limit |
The number of rows to return, beginning at start. Default: 0 |
output |
Always the string terse . |
start |
The offset from the starting row according to sort. Default: 0 |
Output
Information about all disks. See the Disk Fields table.
Sample Output
# maprcli disk listall -output terse
mn pst sp fw mt fs dsu n st dsa dst hn vn
Virtual_disk running 1.0 1 ext4 77 /dev/sda1 0 423 500 centos22.lab VMware
Virtual_disk running 1.0 0 /dev/sda2 0 15883 centos22.lab VMware
Virtual_disk running 1 1.0 0 MapR-FS 478 /dev/sdb 0 101922 102400 centos22.lab VMware
0 /dev/dm-0 0 7864 centos22.lab
0 swap /dev/dm-1 0 8016 centos22.lab
Virtual_disk running 1.0 1 ext4 77 /dev/sda1 0 423 500 centos23.lab VMware
Virtual_disk running 1.0 0 /dev/sda2 0 15883 centos23.lab VMware
Virtual_disk running 1 1.0 0 MapR-FS 608 /dev/sdb 0 101792 102400 centos23.lab VMware
0 /dev/dm-0 0 7864 centos23.lab
0 swap /dev/dm-1 0 8016 centos23.lab
Virtual_disk running 1.0 1 ext4 77 /dev/sda1 0 423 500 centos29.lab VMware
Virtual_disk running 1.0 0 /dev/sda2 0 15883 centos29.lab VMware
Virtual_disk running 1 1.0 0 MapR-FS 757 /dev/sdb 0 15627 16384 centos29.lab VMware
0 /dev/dm-0 0 7864 centos29.lab
0 swap /dev/dm-1 0 8016 centos29.lab
Examples
List all disks:
maprcli disk listall
https://abc.sj.us:8443/rest/disk/listall