HPE 9000 and HPE e3000 Servers
1748059 Members
5172 Online
108758 Solutions
New Discussion юеВ

increasing /stand for B11.11

 
CJENSEN_1
Regular Advisor

increasing /stand for B11.11

We use SAM to create a new /swap volume (device system swap) (/dev/vg00/swap) of a bigger size from our current swap volume (/dev/vg00/lvol2).

We then exited Sam, and at the command prompt did:

1) Remove the current dump device:
lvrmboot -v -d lvol2 /dev/vg00

2) Add a new dump device:
lvlnboot -d /dev/vg00/swap

And get the error message:
Unable to configure dump logical volume. Dump logical volume size beyond the IODC max accress.

Not sure what to do.

Our old swap (/dev/vg00/lvol2 had the descriptive swap/dump) - not sure if this matters (having a separate dump and separate swap).

Also - the /dev/vg00 has 958 Free PE's - so this s/b OK.

When looking at the LVM's under SAM - we've confirmed that the /dev/vg00/swap is contiguous and there is no bad block relocation.

Not sure what to do next. I'm thinking that perhaps /stand does not know to use the new swap volume we setup.

thanks for your help.
9 REPLIES 9
harry d brown jr
Honored Contributor

Re: increasing /stand for B11.11

Brian,

What does swapinfo return?

Do you really want to extend /stand?

live free or die
harry
Live Free or Die
CJENSEN_1
Regular Advisor

Re: increasing /stand for B11.11

actually in doing some further research - we've found to leave /stand alone - it will be adjusted by ignite during the B11.11 upgrade process. Not sure if this is true or not, but we will try to do the o/s upgrade and see if unix complains at that point about /stand.
Nick Wickens
Respected Contributor

Re: increasing /stand for B11.11

The Installing and Updating HP-UX 11i training course manual includes the procedure to increase the size of /stand during an upgrade so you may well find that it is not automatic.

The procedure listed is as follows -

(1) Check current sizes of /dev/vg00/lvol1 & lvol2 with lvdisplay.

(2) Decide how much space to remove from lvol2 for contiguous use in lvol1.

(3) Temporarily remove lvol2 (Note Boot Disk reserved area needs to be removed for this to succeed).

lvmrmboot -s /dev/vg00
lvrmboot -d lvol2 /dev/vg00
lvremove -f /dev/vg00/lvol2

(4) Extend lvol1

lvextend -L nnnn /dev/vg00/lvol1
extendfs -F hfs /dev/vg00/rlvol1

(5) Recreate lvol2

lvcreate -L nnnnn -C y -r n vg00

(6) Update BDRA pointers

lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -r /dev/vg00/lvol3

(7) Verify that pointers in the BDRA are correct

lvlnboot -v

(8) reboot.

This is how its documented in the official HP course notes - suggest you check each step first though !.

Hats ? We don't need no stinkin' hats !!
Nick Wickens
Respected Contributor

Re: increasing /stand for B11.11

Sorry typo above first lvmrmboot is of course lvrmboot.
Hats ? We don't need no stinkin' hats !!
harry d brown jr
Honored Contributor

Re: increasing /stand for B11.11

Bryan,

You say you are going to UPGRADE to hpux 11.11? UPGRADE from what OS level?

If you are going to upgrade from 10.20 or 11.00, then I'd suggest you first take a full vg00 make_tape_recovery and backup your other non-vg00 volumes twice, then perform a COLD install.

live free or die
harry
Live Free or Die
CJENSEN_1
Regular Advisor

Re: increasing /stand for B11.11

we are moving from HPUX 10.20 to HPUX 11.11. Since the server is not currently being used (we used to use it for Oracle forms, but have since moved them to a HPNT box), we plan on doing a cold install (using the ignite-ux tools).
CJENSEN_1
Regular Advisor

Re: increasing /stand for B11.11

further to my last message - so i guess upgrade is the wrong term.
harry d brown jr
Honored Contributor

Re: increasing /stand for B11.11

Bryan,

Yes, the word "UPGRADE" is a scary term. Most prefer to say "INSTALL", with a blurb about not "upgrading".

Most people that attempt to "UPGRADE" from 10.20 to 11.00 or 11i (11.11) will tell you from experience that a COLD install would have saved them countless hours. Maybe someday we can rely on "upgrades", but not today.

live free or die
harry
Live Free or Die
CJENSEN_1
Regular Advisor

Re: increasing /stand for B11.11

Thanks.