Solved

AIX - remove and create secondary dump device

Posted on 2012-03-26
1
3,652 Views
Last Modified: 2012-03-30
I needed help to remove secondary dump device because I need to migrate everything off my hdisk1 to hdisk0, but I have no more space to do so. Then I need help on how to create it again after my work is done.

root@servername:/root -> lsvg -p rootvg
rootvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active            546         8           00..00..00..00..08
hdisk1            active            546         536         110..99..109..109..109

root@servername:/root -> lspv -l hdisk1
hdisk1:
LV NAME               LPs     PPs     DISTRIBUTION          MOUNT POINT
lg_dumplv2            10      10      00..10..00..00..00    N/A
0
Comment
Question by:AIX25
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
Comment Utility
1) Close the device by setting the secondary dump target to a special null device:

sysdumpdev -P -s /dev/sysdumpnull

2) Remove it:

rmlv lg_dumplv2

...

3) Recreate it:

mklv -t dump -y lg_dumplv2 rootvg 10 hdisk1

The dump devices don't have (and need) a standard type, so instead of  "-t dump" you can also use "-t sysdump" or whatever you like.

4) Open the new device  by reassigning the secondary dump target to it:

sysdumpdev -P -s /dev/lg_dumplv2

wmp
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now