Operating System - HP-UX
1833018 Members
2032 Online
110048 Solutions
New Discussion

re-sizing /stand with MR tape

 
H.Herz
New Member

re-sizing /stand with MR tape

Does anyone knows the steps to
increase the size of /stand using make_recovery tape?


Thanks

HYH
4 REPLIES 4
Tim Adamson_1
Honored Contributor

Re: re-sizing /stand with MR tape

Hi,

Use make_tape_recovery with the -I (interactive) option. When you boot from tape, and get the Ignite-UX itool menu, go to the Filesystem Tab and resize /stand to the desired size.

I use make_tape_recovery as follows (assuming a recent version of Ignite):

make_tape_recovery -A -a /dev/rmt/0mn -I -x inc_entire=vg00

If you use make_recovery the interactive option is i (lowercase i). Refer to the man page for other options.

I believe the "Readme before upgrading from 11.00 to 11i" manual (not exactly sure of the name) includes an appendix that tells you how to resize /stand. You can get that manual from http://docs.hp.com.


Hope it helps.


Cheers!
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
Michael Tully
Honored Contributor

Re: re-sizing /stand with MR tape

Create the ignite tape like this:

# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

Do an ioscan before you shutdown the server to get the hardware address of the tape drive you'll be using.

Interupt the boot sequence at the ten second opportunity.
Use the SEA command to get the bootable hardware address for your tape drive.
Boot from the matching address.
The tape will boot, from there you can make the changes to the logical volume size, the same as if you were doing an actual installation.
Anyone for a Mutiny ?
Michael Steele_2
Honored Contributor

Re: re-sizing /stand with MR tape

This is the ignite clone procedure and is similar to a cold install.

Interrupt boot cycle
insert tape
sea ipl
bo P# (* sequential media *)
INTERRUPT DURING 10 SECOND PAUSE

Note: It is unnecessary to redo your MR tape with the -I option.

Use 'Advanced Installation and move around the CHUI screen with the tab and arrow keys.

Biggest step is probably collecting all of the information ahead of time. Figure out your file system sizes for all of vg00.

/usr
/var
swap
/tmp
/stand
/
/home
/opt

Factor in swap size and physical memory size. Now might be a good time to make /dev/vg00/lvol2 larger.

Hostname, ip, gateway ip, NIS, DNS ips, netmask, etc.

Get hard copies of the following:

ioscan -fnk
ioscan -fnkC disk
ioscan -fnkC tape
vgdisplay -v
lvlnboot -v
bdf
cat /etc/fstab
swapinfo -tam
Support Fatherhood - Stop Family Law
Kevin O'Donovan
Regular Advisor

Re: re-sizing /stand with MR tape

Hi,

the interactive option is the way to go if you can do that, but as an alternative there is another way of doing it... only problem is its been quite a while since I've done it and can't remember details like the option used & don't have access to a HPUX box just now to look up the man page!

Well, here's the gist of it at least. You run make_tape_recovery with one of the options which causes it to create the information file which contains the filesystem information, including file sizes, and then it pauses. Maybe the preview option? The file is in /var/opt/ignite somewhere, if you use -v option I think the filepath is in the output. You can then edit that file, and adjust the sizes of the lvols/filesystems as you need, but you need to check that there is the space you need to expand it by available. Then once you're happy with that run make_tape_recovery with a -r I think but check it to resume, it'll use the edited file and should be all happy out.

I've done this a few times, was handy for increasing the size of the root (/) lvol/filesystem, we weren't running onlinejfs.

Sorry about all the vagueness, not sure how useful it is but I'll look it up this evening if I can find my notes and add in the details tomorrow, or if anyone else knows what I'm on about maybe he/she could fill in the blanks?

cheers,
Kevin.