Solved

AIX - remove and create secondary dump device

Posted on 2012-03-26
1
4,403 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

734 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