Print this page
NEX-9586 remove nodename from the default savecore directory path
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/dumpadm.1m.man.txt
          +++ new/usr/src/man/man1m/dumpadm.1m.man.txt
↓ open down ↓ 51 lines elided ↑ open up ↑
  52   52         overwritten by the dump. See swap(1M). For systems with a ZFS root file
  53   53         system, dedicated ZFS volumes are used for swap and dump areas. For
  54   54         further information about setting up a dump area with ZFS,  see the ZFS
  55   55         Administration Guide. To view the current dump  configuration, use the
  56   56         dumpadm command with no arguments:
  57   57  
  58   58           example# dumpadm
  59   59  
  60   60                 Dump content: kernel pages
  61   61                  Dump device: /dev/dsk/c0t0d0s1 (swap)
  62      -         Savecore directory: /var/crash/saturn
       62 +         Savecore directory: /var/crash
  63   63             Savecore enabled: yes
  64   64              Save compressed: on
  65   65  
  66   66  
  67   67  
  68   68  
  69   69         When no options are specified, dumpadm prints the current crash dump
  70   70         configuration. The example shows the set of default values: the dump
  71   71         content is set to kernel memory pages only, the dump device is a swap
  72      -       disk partition, the directory for savecore files is set to
  73      -       /var/crash/hostname, savecore is set to run automatically on reboot,
  74      -       and compression is turned on.
       72 +       disk partition, the directory for savecore files is set to /var/crash,
       73 +       savecore is set to run automatically on reboot, and compression is
       74 +       turned on.
  75   75  
  76   76  
  77   77         When one or more options are specified, dumpadm verifies that your
  78   78         changes are valid, and if so, reconfigures the crash dump parameters
  79   79         and displays the resulting configuration. You must be root to view or
  80   80         change dump parameters.
  81   81  
  82   82  OPTIONS
  83   83         The following options are supported:
  84   84  
↓ open down ↓ 114 lines elided ↑ open up ↑
 199  199  
 200  200  
 201  201         -s savecore-dir
 202  202  
 203  203             Modify the dump configuration to use the specified directory to
 204  204             save files written by savecore. The directory should be an absolute
 205  205             path and exist on the system. If upon reboot the directory does not
 206  206             exist, it will be created prior to the execution of savecore. See
 207  207             the NOTES section below for a discussion of security issues
 208  208             relating to access to the savecore directory.  The default savecore
 209      -           directory is /var/crash/hostname where hostname is the output of
 210      -           the -n option to the uname(1) command.
      209 +           directory is /var/crash.
 211  210  
 212  211  
 213  212         -u
 214  213  
 215  214             Forcibly update the kernel dump configuration based on the contents
 216  215             of /etc/dumpadm.conf. Normally this option is used only on reboot
 217  216             when starting svc:/system/dumpadm:default, when the dumpadm
 218  217             settings from the previous boot must be restored. Your dump
 219  218             configuration is saved in the configuration file for this purpose.
 220  219             If the configuration file is missing or contains invalid values for
↓ open down ↓ 18 lines elided ↑ open up ↑
 239  238  
 240  239  
 241  240         The following command reconfigures the dump device to a dedicated dump
 242  241         device:
 243  242  
 244  243  
 245  244           example# dumpadm -d /dev/dsk/c0t2d0s2
 246  245  
 247  246                      Dump content: kernel pages
 248  247                       Dump device: /dev/dsk/c0t2d0s2 (dedicated)
 249      -              Savecore directory: /var/crash/saturn
      248 +              Savecore directory: /var/crash
 250  249                  Savecore enabled: yes
 251  250                   Save compressed: on
 252  251  
 253  252  
 254  253  
 255  254  EXIT STATUS
 256  255         The following exit values are returned:
 257  256  
 258  257         0
 259  258  
↓ open down ↓ 89 lines elided ↑ open up ↑
 349  348     Security Issues
 350  349         If, upon reboot, the specified savecore directory is not present, it
 351  350         will be created prior to the execution of savecore with permissions
 352  351         0700 (read, write, execute by owner only) and owner root. It is
 353  352         recommended that alternate savecore directories also be created with
 354  353         similar permissions, as the operating system crash dump files
 355  354         themselves may contain secure information.
 356  355  
 357  356  
 358  357  
 359      -                                 April 9, 2015                     DUMPADM(1M)
      358 +                               February 13, 2017                   DUMPADM(1M)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX