Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5112
  • Last Modified:

AIX - remove and create secondary dump device

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
AIX25
Asked:
AIX25
1 Solution
 
woolmilkporcCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now