The ZFS dump device is used only for debugging problems. In this case, I have decided the risk vs reward is such that I should delete the dump device to make room for other storage.
I am able to disable save-core (copy from dump device to /var/crash
) using dumpadm -n
, but when I run zfs destroy rpool/dump
, I still get
cannot destroy 'rpool/dump': dataset is busy
, indicating that dumpadm -n
was insufficient.
How can I disable and remove this dedicated dump device?
Best Answer
Specify another location for dumpadm to use crash dumps instead of just disabling them.
dumpadm -d swap
Source: http://comments.gmane.org/gmane.os.solaris.opensolaris.zfs/19529