How to reduce the core dump size in Solaris 11
Read Time:54 Second

How to reduce the core dump size in Solaris 11

0 0
0 0

In this guide, we are about to see how to reduce the core dump size in Solaris.

dumpadm will show the disk used for core dump.

# dumpadm

root@solaris_prod01:~# dumpadm
Dump content : kernel with ZFS metadata
Dump device : /dev/zvol/dsk/rpool/dump (dedicated)
Savecore directory: /var/crash
Savecore enabled : yes
Save compressed : on

Check for the current volume size.

# zfs get volsize rpool/dump

root@solaris_prod01:~# zfs get volsize rpool/dump
NAME PROPERTY VALUE SOURCE
rpool/dump volsize 64G local

Reduce/resize the volume size, and print new volume size.

# zfs set volsize=20G rpool/dump

# zfs get volsize rpool/dump

root@solaris_prod01:~# zfs set volsize=20G rpool/dump

root@solaris_prod01:~# zfs get volsize rpool/dump
NAME PROPERTY VALUE SOURCE
rpool/dump volsize 20G local

After reducing we have a lot of spaces.

root@solaris_prod01:~# df -h /
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris-11.2.2.2.8
274G 4.9G 48G 10% /
root@solaris_prod01:~#

That’s it, we are done with reducing core dump volume in Solaris 11.

How to reduce the core dump size in Solaris 11 1

About Post Author

Babin Lonston

Overall 14+ Years of experience in the IT field, currently working as a Senior Linux administration with Virtualization & Cloud. Being numismatist for a long time.
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published.

Solution for error: cannot open Packages database in /var/lib/rpm 4 Previous post Solution for error: cannot open Packages database in /var/lib/rpm
Next post How to clear Oracle x86 servers ILOM faulty message

Subscribe

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

We promise not to spam you, and we don't usually send more than one email a week.

You have Successfully Subscribed!