Print this page
8708 Want diskinfo(1m) to list all disk bays, including those don't have disk installed

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/diskinfo.1m.man.txt
          +++ new/usr/src/man/man1m/diskinfo.1m.man.txt
   1    1  DISKINFO(1M)                 Maintenance Commands                 DISKINFO(1M)
   2    2  
   3    3  NAME
   4    4       diskinfo - provide disk device inventory and status
   5    5  
   6    6  SYNOPSIS
   7      -     diskinfo [-Hp] [-c|-P]
        7 +     diskinfo [-aHp] [-c|-P]
   8    8  
   9    9  DESCRIPTION
  10   10       The diskinfo tool provides information about the disk devices in the
  11   11       system.  Because it interacts with the kernel's device management
  12   12       subsystem, this tool can be used only from the global zone.  If run in
  13   13       any other zone, its output will be incomplete and unreliable.
  14   14  
  15   15       There are three main modes.  The default mode, when neither the -c nor -P
  16   16       option is specified, provides a basic inventory of the disk devices in
  17   17       the system.  Each line describes a single device and contains the
↓ open down ↓ 10 lines elided ↑ open up ↑
  28   28       or identification indicator is on for the device (if one is present), and
  29   29       the chassis and bay number containing the disk if known.
  30   30  
  31   31       The -c option selects compact mode.  This mode provides all of the
  32   32       information provided by both the default mode and physical mode in a
  33   33       compact format.
  34   34  
  35   35       See OUTPUT FIELDS below for a detailed description of each column.
  36   36  
  37   37  OPTIONS
       38 +     -a      Show all disk bays, including those don't have disks installed.
       39 +
  38   40       -c      Select compact mode output.  At most one of -c and -P may be
  39   41               present on the command line.
  40   42  
  41   43       -H      Do not print a header.  This provides output suitable for passing
  42   44               into text processing tools.
  43   45  
  44   46       -P      Select physical mode output.  At most one of -P and -c may be
  45   47               present on the command line.
  46   48  
  47   49       -p      Parsable output.  When -p is selected, the size (storage
↓ open down ↓ 71 lines elided ↑ open up ↑
 119  121  
 120  122                 This field is available in compact and default output modes.
 121  123  
 122  124       VID       The vendor identification string reported by the device.
 123  125  
 124  126                 This field is available in all output modes.
 125  127  
 126  128  SEE ALSO
 127  129       fmd(1M), prtvtoc(1M), sd(7D)
 128  130  
 129      -illumos                          July 20, 2016                         illumos
      131 +illumos                         October 6, 2017                        illumos
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX