diff options
| author | Marcel Telka <Marcel.Telka@nexenta.com> | 2013-01-30 23:35:38 +0100 |
|---|---|---|
| committer | Gordon Ross <gwr@nexenta.com> | 2013-01-30 21:19:37 -0500 |
| commit | 52fd7480cd8cd8da8ccac00d6af67471a23f06d2 (patch) | |
| tree | 50eecd98554299041b911aff8db8141a8dc856a7 /usr/src/man/man1m/dumpadm.1m | |
| parent | 7575615f3f759f94e5ff0b6ee3a4940dc9968c47 (diff) | |
| download | illumos-joyent-52fd7480cd8cd8da8ccac00d6af67471a23f06d2.tar.gz | |
3371 dumpadm -z is not documented in manpage
3380 zfs man page: documentation for zfs allow is confusing
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/man/man1m/dumpadm.1m')
| -rw-r--r-- | usr/src/man/man1m/dumpadm.1m | 36 |
1 files changed, 28 insertions, 8 deletions
diff --git a/usr/src/man/man1m/dumpadm.1m b/usr/src/man/man1m/dumpadm.1m index cea8d120c3..6bc71bea9c 100644 --- a/usr/src/man/man1m/dumpadm.1m +++ b/usr/src/man/man1m/dumpadm.1m @@ -1,9 +1,10 @@ '\" te .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved +.\" Copyright 2013 Nexenta Systems, Inc. All Rights Reserved. .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH DUMPADM 1M "Apr 10, 2008" +.TH DUMPADM 1M "Jan 30, 2013" .SH NAME dumpadm \- configure operating system crash dump .SH SYNOPSIS @@ -11,7 +12,7 @@ dumpadm \- configure operating system crash dump .nf \fB/usr/sbin/dumpadm\fR [\fB-nuy\fR] [\fB-c\fR \fIcontent-type\fR] [\fB-d\fR \fIdump-device\fR] [\fB-m\fR \fImin\fRk | \fImin\fRm | \fImin\fR%] [\fB-s\fR \fIsavecore-dir\fR] - [\fB-r\fR \fIroot-dir\fR] + [\fB-r\fR \fIroot-dir\fR] [\fB-z\fR on | off] .fi .SH DESCRIPTION @@ -35,12 +36,19 @@ your support engineer to aid in diagnosing the problem. As such, it is vital that the crash dump be retrieved and given to your support provider. Following an operating system crash, the \fBsavecore\fR(1M) utility is executed automatically during boot to retrieve the crash dump from the dump device, and -write it to a pair of files in your file system named \fIunix.X\fR and -\fIvmcore.X\fR, where X is an integer identifying the dump. Together, these -data files form the \fIsaved crash dump\fR. The directory in which the crash +write it to the file system. The directory in which the crash dump is saved on reboot can also be configured using \fBdumpadm\fR. .sp .LP +When the operating system takes a crash dump the default behavior is to +compress the crash dump. This behavior is controlled by the \fB-z\fR option. +When compression is turned on, the \fBsavecore\fR(1M) utility writes one file +to the file system named \fIvmdump.X\fR. If compression is disabled, it instead +writes two files named \fIunix.X\fR and \fIvmcore.X\fR. In the uncompressed +case, both data files form the \fIsaved crash dump\fR. In both cases X is an +integer identifying the dump. +.sp +.LP For systems with a UFS root file system, the default dump device is configured to be an appropriate swap partition. Swap partitions are disk partitions reserved as virtual memory backing store for the operating system. Thus, no @@ -58,6 +66,7 @@ example# \fBdumpadm\fR Dump device: /dev/dsk/c0t0d0s1 (swap) Savecore directory: /var/crash/saturn Savecore enabled: yes + Save compressed: on .fi .in -2 .sp @@ -68,8 +77,8 @@ When no options are specified, \fBdumpadm\fR prints the current crash dump configuration. The example shows the set of default values: the dump content is set to kernel memory pages only, the dump device is a swap disk partition, the directory for \fBsavecore\fR files is set to -\fB/var/crash/\fR\fBhostname\fR\fB,\fR and \fBsavecore\fR is set to run -automatically on reboot. +\fB/var/crash/\fR\fIhostname\fR\fB,\fR \fBsavecore\fR is set to run +automatically on reboot, and compression is turned on. .sp .LP When one or more options are specified, \fBdumpadm\fR verifies that your @@ -132,7 +141,7 @@ process, only kernel pages will be dumped. .sp .6 .RS 4n Modify the dump configuration to use the specified dump device. The dump device -may one of the following: +may be one of the following: .sp .ne 2 .na @@ -288,6 +297,16 @@ Modify the dump configuration to automatically run \fBsavecore\fR on reboot. This is the default for this dump setting. .RE +.sp +.ne 2 +.na +\fB\fB-z on | off\fR\fR +.ad +.sp .6 +.RS 4n +Turns crash dump compression \fBon\fR or \fBoff\fR. +.RE + .SH EXAMPLES .LP \fBExample 1 \fRReconfiguring The Dump Device To A Dedicated Dump Device: @@ -304,6 +323,7 @@ example# dumpadm -d /dev/dsk/c0t2d0s2 Dump device: /dev/dsk/c0t2d0s2 (dedicated) Savecore directory: /var/crash/saturn Savecore enabled: yes + Save compressed: on .fi .in -2 .sp |
