LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 08-07-2014, 04:22 AM   #1
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 104

Rep: Reputation: 6
Question 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?
 
Old 08-07-2014, 07:26 AM   #2
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
is it mounted?
 
Old 08-08-2014, 12:10 AM   #3
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 104

Original Poster
Rep: Reputation: 6
Question

Quote:
Originally Posted by Firerat View Post
is it mounted?
dump device couldn't be mounted
 
Old 08-08-2014, 05:04 AM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
it must be in use

try
lsof
 
Old 08-08-2014, 05:32 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,522

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Why do you need to destroy the dump device ?
 
Old 08-09-2014, 01:29 AM   #6
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 104

Original Poster
Rep: Reputation: 6
Question

Quote:
Originally Posted by jlliagre View Post
Why do you need to destroy the dump device ?
I need to recreate zfs pool
 
Old 08-09-2014, 03:36 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,522

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
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.

Last edited by jlliagre; 08-09-2014 at 03:52 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dump command and Tape Device Hi_This_is_Dev Linux - Server 5 10-06-2009 07:07 AM
dump sector of raw device? Red Squirrel Linux - Software 1 07-06-2008 03:46 PM
installing FreeBSD on Virtual Box error: "Cannot dump. No dump device defined" Valkyrie_of_valhalla *BSD 4 09-06-2007 05:02 AM
Did IPW2200 destroy my wireless device ??? Kocil Linux - Wireless Networking 3 05-24-2007 04:13 AM
Ultrium 2 - multi-tape error (DUMP: fopen on /dev/tty fails: No such device or addres tbwalter55 Linux - Hardware 0 01-11-2007 10:28 AM


All times are GMT -5. The time now is 06:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration