dumpadm is enabled but we arrange that the savecore attempt will fail by restricting space available in the savedir: # df -h /var/crash/parity/ Filesystem Size Used Avail Use% Mounted on rpool/crash 2.0G 673M 1.4G 33% /var/crash/parity root@parity:~# zfs set quota=256m rpool/crash root@parity:~# dumpadm Dump content: kernel pages Dump device: /dev/zvol/dsk/rpool/dump (dedicated) Savecore directory: /var/crash/parity Savecore enabled: yes Save compressed: on # reboot -d May 22 18:14:03 parity savecore: System dump time: Sat May 22 18:13:01 2010 May 22 18:14:03 parity savecore: not enough space in /var/crash/parity (255 MB avail, 704 MB needed) SUNW-MSG-ID: SUNOS-8000-KL, TYPE: Defect, VER: 1, SEVERITY: Major EVENT-TIME: Sat May 22 18:14:14 PDT 2010 PLATFORM: Sun-Fire-V40z, CSN: XG051535088, HOSTNAME: parity SOURCE: software-diagnosis, REV: 0.1 EVENT-ID: ead71f1b-aa12-4833-c954-ba47b673e133 DESC: The system has rebooted after a kernel panic. Refer to http://sun.com/msg/SUNOS-8000-KL for more information. AUTO-RESPONSE: The failed system image was dumped to the dump device. If savecore is enabled (see dumpadm(1M)) a copy of the dump will be written to the savecore directory . IMPACT: There may be some performance impact while the panic is copied to the savecore directory. Disk space usage by panics can be substantial. REC-ACTION: Please log a call with you support vendor and provide them with this information. If savecore is not enabled then please take steps to preserve the crash image. # fmadm faulty --------------- ------------------------------------ -------------- --------- TIME EVENT-ID MSG-ID SEVERITY --------------- ------------------------------------ -------------- --------- May 22 18:14:14 ead71f1b-aa12-4833-c954-ba47b673e133 SUNOS-8000-KL Major Host : parity Platform : Sun-Fire-V40z Chassis_id : XG051535088 Product_sn : Fault class : defect.sunos.kernel.panic Affects : sw:///:path=/var/crash/parity/.ead71f1b-aa12-4833-c954-ba47b673e133 faulted but still in service Problem in : sw:///:path=/var/crash/parity/.ead71f1b-aa12-4833-c954-ba47b673e133 faulted but still in service Description : The system has rebooted after a kernel panic. Refer to http://sun.com/msg/SUNOS-8000-KL for more information. Response : The failed system image was dumped to the dump device. If savecore is enabled (see dumpadm(1M)) a copy of the dump will be written to the savecore directory . Impact : There may be some performance impact while the panic is copied to the savecore directory. Disk space usage by panics can be substantial. Action : Please log a call with you support vendor and provide them with this information. If savecore is not enabled then please take steps to preserve the crash image. Email: Date: Sat, 22 May 2010 18:14:14 -0700 (PDT) From: No Access User Message-Id: <201005230114.o4N1EED5100709@parity.sfbay.sun.com> X-FMEV-HOSTNAME: parity X-FMEV-CLASS: list.suspect X-FMEV-UUID: ead71f1b-aa12-4833-c954-ba47b673e133 X-FMEV-CODE: SUNOS-8000-KL X-FMEV-SEVERITY: Major Reply-To: root@parity.sfbay.sun.com Subject: Fault Management Event: parity:SUNOS-8000-KL X-Source-IP: parity.SFBay.Sun.COM [10.4.193.172] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4BF88200.00C1,ss=1,fgs=0 SUNW-MSG-ID: SUNOS-8000-KL, TYPE: Defect, VER: 1, SEVERITY: Major EVENT-TIME: 20 PLATFORM: Sun-Fire-V40z, CSN: XG051535088, HOSTNAME: parity SOURCE: software-diagnosis, REV: 0.1 EVENT-ID: ead71f1b-aa12-4833-c954-ba47b673e133 DESC: The system has rebooted after a kernel panic. Refer to http://sun.com/msg/SUNOS-8000-KL for more information. AUTO-RESPONSE: The failed system image was dumped to the dump device. If savecore is enabled (see dumpadm(1M)) a copy of the dump will be written to the savecore directory . IMPACT: There may be some performance impact while the panic is copied to the savecore directory. Disk space usage by panics can be substantial. REC-ACTION: Please log a call with you support vendor and provide them with this information. If savecore is not enabled then please take steps to preserve the crash image. TIME UUID SUNW-MSG-ID May 22 2010 18:14:14.314600000 ead71f1b-aa12-4833-c954-ba47b673e133 SUNOS-8000-KL TIME CLASS ENA May 22 18:14:03.4376 ireport.os.sunos.panic.savecore_failure 0x0000000000000000 May 22 18:14:03.4347 ireport.os.sunos.panic.dump_pending_on_device 0x0000000000000000 nvlist version: 0 version = 0x0 class = list.suspect uuid = ead71f1b-aa12-4833-c954-ba47b673e133 code = SUNOS-8000-KL diag-time = 1274577254 198450 de = fmd:///module/software-diagnosis fault-list-sz = 0x1 fault-list = (array of embedded nvlists) (start fault-list[0]) nvlist version: 0 version = 0x0 class = defect.sunos.kernel.panic certainty = 0x64 asru = sw:///:path=/var/crash/parity/.ead71f1b-aa12-4833-c954-ba47b673e133 resource = sw:///:path=/var/crash/parity/.ead71f1b-aa12-4833-c954-ba47b673e133 savecore-succcess = 0 failure-reason = not enough space in /var/crash/parity (255 MB avail, 704 MB needed) os-instance-uuid = ead71f1b-aa12-4833-c954-ba47b673e133 panicstr = forced crash dump initiated at user request panicstack = genunix:kadmin+16e () | genunix:uadmin+10f () | unix:brand_sys_syscall32+272 () | crashtime = 1274577181 panic-time = Sat May 22 18:13:01 2010 PDT (end fault-list[0]) fault-status = 0x1 severity = Major __ttl = 0x1 __tod = 0x4bf88166 0x12c06a40 # fmdump -I -c 'ireport.os.sunos.panic.*' -Vp TIME UUID May 22 2010 18:14:03.434756005 68bbf5cb-f371-c707-bbcb-ae291957e583 nvlist version: 0 version = 0x0 class = ireport.os.sunos.panic.dump_pending_on_device uuid = 68bbf5cb-f371-c707-bbcb-ae291957e583 detector = sw:///:path=/usr/bin/amd64/savecore#:file=../savecore.c:func=raise_event:line=1603 pri = high attr = (embedded nvlist) nvlist version: 0 dumpdir = /var/crash/parity savecore-enabled = 1 os-instance-uuid = ead71f1b-aa12-4833-c954-ba47b673e133 crashtime = 1274577181 panicstr = forced crash dump initiated at user request panicstack = genunix:kadmin+16e () | genunix:uadmin+10f () | unix:brand_sys_syscall32+272 () | fm-panic = 0 will-attempt-savecore = 1 panic-time = Sat May 22 18:13:01 2010 PDT (end attr) __ttl = 0x1 __tod = 0x4bf8815b 0x19e9d9a5 May 22 2010 18:14:03.437632469 8cc38804-29c0-e69c-ebb7-c51eddaea2f7 nvlist version: 0 version = 0x0 class = ireport.os.sunos.panic.savecore_failure uuid = 8cc38804-29c0-e69c-ebb7-c51eddaea2f7 detector = sw:///:path=/usr/bin/amd64/savecore#:file=../savecore.c:func=raise_event:line=1603 pri = high attr = (embedded nvlist) nvlist version: 0 dumpdir = /var/crash/parity os-instance-uuid = ead71f1b-aa12-4833-c954-ba47b673e133 crashtime = 1274577181 panicstr = forced crash dump initiated at user request panicstack = genunix:kadmin+16e () | genunix:uadmin+10f () | unix:brand_sys_syscall32+272 () | failure-reason = not enough space in /var/crash/parity (255 MB avail, 704 MB needed) fm-panic = 0 panic-time = Sat May 22 18:13:01 2010 PDT (end attr) __ttl = 0x1 __tod = 0x4bf8815b 0x1a15bdd5