LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   How to destroy dump device? (https://www.linuxquestions.org/questions/solaris-opensolaris-20/how-to-destroy-dump-device-4175513825/)

sluge 08-07-2014 03:22 AM

How to destroy dump device?
 
Hello,
I have installed Solaris 11, and I need to destroy dump device, but I got an error:
Code:

# swap -l
No swap devices configured

# dumpadm -n
Dump content      : kernel without ZFS metadata
Dump device      : /dev/zvol/dsk/rpool/dump (dedicated)
Savecore directory: /var/crash
Savecore enabled  : no
Save compressed  : on

# zfs destroy rpool/dump
cannot destroy 'rpool/dump': volume is busy

How to destroy dump device?

Firerat 08-07-2014 06:26 AM

is it mounted?

sluge 08-07-2014 11:10 PM

Quote:

Originally Posted by Firerat (Post 5216837)
is it mounted?

dump device couldn't be mounted

Firerat 08-08-2014 04:04 AM

it must be in use

try
lsof

jlliagre 08-08-2014 04:32 PM

Why do you need to destroy the dump device ?

sluge 08-09-2014 12:29 AM

Quote:

Originally Posted by jlliagre (Post 5217749)
Why do you need to destroy the dump device ?

I need to recreate zfs pool

jlliagre 08-09-2014 02:36 AM

Why do you need to recreate the zfs pool ?
As this one is the root pool, you cannot recreate it without destroying everything on it, including the OS.


All times are GMT -5. The time now is 12:26 AM.