Solved

AIX - remove and create secondary dump device

Posted on 2012-03-26
1
3,825 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
ID: 37767313
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

914 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

19 Experts available now in Live!

Get 1:1 Help Now