disk list

Lists the disks on a node.

Syntax

CLI
maprcli disk list
    -host <host>
    [ -output terse|verbose ]
    [ -system 1|0 ]
REST
http[s]://<host>:<port>/rest/disk/list?<parameters> 

Parameters

Parameter

Description

host

The node on which to list the disks.

output

Whether the output should be terse or verbose. Default is verbose.

system

Show only operating system disks:

  • 0 - shows only MapR-FS disks
  • 1 - shows only operating system disks
  • Not specified - shows both MapR-FS and operating system disks

Output

Information about the specified disks. See the Disk Fields table.

Sample Output
# maprcli disk list -host 10.10.82.23 -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     10.10.82.23  VMware  
Virtual_disk  running      1.0  0                 /dev/sda2  0           15883   10.10.82.23  VMware  
Virtual_disk  running  1   1.0  0   MapR-FS  608  /dev/sdb   0   101792  102400  10.10.82.23  VMware  
                                0                 /dev/dm-0  0           7864    10.10.82.23          
                                0   swap          /dev/dm-1  0           8016    10.10.82.23

Examples

List disks on a host:

CLI
maprcli disk list -host 10.10.100.22
REST
https://r1n1.sj.us:8443/rest/disk/list?host=10.10.100.22