Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

AIX - remove and create secondary dump device

Posted on 2012-03-26
1
Medium Priority
?
4,910 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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…

721 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