Print this page
NEX-9338 improve the layout of the crash directory
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Steve Peng <steve.peng@nexenta.com>

*** 16,30 **** boots. Depending on the dumpadm(1M) configuration savecore saves either the compressed or uncompressed crash dump. The compressed crash dump is ! saved in the file directory/vmdump.n. savecore saves the uncompressed ! crash dump data in the file directory/vmcore.n and the kernel's ! namelist in directory/unix.n. The trailing n in the pathnames is ! replaced by a number which grows every time savecore is run in that ! directory. Before writing out a crash dump, savecore reads a number from the file directory/minfree. This is the minimum number of kilobytes that must remain free on the file system containing directory. If after saving --- 16,31 ---- boots. Depending on the dumpadm(1M) configuration savecore saves either the compressed or uncompressed crash dump. The compressed crash dump is ! saved in the file directory/data/uuid/vmdump.n, where uuid is the OS ! instance UUID of the image that crashed. savecore saves the ! uncompressed crash dump data in the file directory/data/uuid/vmcore.n ! and the kernel's namelist in directory/data/uuid/unix.n. The trailing n ! in the pathnames is replaced by a number which grows every time ! savecore is run in that directory. Before writing out a crash dump, savecore reads a number from the file directory/minfree. This is the minimum number of kilobytes that must remain free on the file system containing directory. If after saving
*** 81,104 **** The following operands are supported: directory Save the crash dump files to the specified directory. If directory is not specified, savecore saves the crash dump ! files to the default savecore directory, configured by ! dumpadm(1M). FILES ! directory/vmdump.n ! directory/vmcore.n ! directory/unix.n directory/bounds --- 82,106 ---- The following operands are supported: directory Save the crash dump files to the specified directory. If directory is not specified, savecore saves the crash dump ! to the default savecore directory, configured by ! dumpadm(1M), and files are stored under distinct ! directory/data/uuid folder. FILES ! directory/data/uuid/vmdump.n ! directory/data/uuid/vmcore.n ! directory/data/uuid/unix.n directory/bounds
*** 134,139 **** savecore very soon after booting, before the swap space containing the crash dump is overwritten by programs currently running. ! January 30, 2013 SAVECORE(1M) --- 136,141 ---- savecore very soon after booting, before the swap space containing the crash dump is overwritten by programs currently running. ! January 8, 2017 SAVECORE(1M)