Operating System - HP-UX
1822552 Members
2932 Online
109642 Solutions
New Discussion юеВ

Re: Increasing / and /stand file systems

 
Sebastian Cross
Occasional Contributor

Increasing / and /stand file systems

Hi Gurus,

I need to increase the space on a /stand (HFS) and / (vxfs) file systems (HP-UX 11.00).
I built an Ignite-UX image and now I'm able to boot in single user mode thru the network.
I never did it before so I have many doubts
Can I increase both File Systems at once ?
Somebody could print the step by step to complete this process ?

I'd really appreciate that.
Thanks in advance!
Sebastian.
11 REPLIES 11
Arunvijai_4
Honored Contributor

Re: Increasing / and /stand file systems

YoungHwan, Ko
Valued Contributor

Re: Increasing / and /stand file systems

Hi..
To resize / and /stand, reinstall O/S using ignite tape.
1. Reboot the system.
To discontinue, press any key within 10 seconds. ===> PRESS ANY KEY!!!
then you can show below prompt.
2. Main Menu: Enter command or menu > sea ===> Type 'sea' to search boot device.
3. when finish search, you can show boot device's path. then choose tape device.
Main Menu: Enter command or menu > bo p1
4. Interact with IPL (Y, N, or Cancel)?> n
.
.
.
5. Install O/S as interactively and when follow screen display, resize / and /stand size.
/---------------\
| File System |
-----------------
/-------\/---------\/--------\/------------\/------------\
|Basic ||Software ||System ||File System || Advanced |
+--------------------------------------------------------+
| |
| Mount Dir UsageSize(MB)%UsedVG Name Size Type |
|+├п ┬▒---------------------------------------------------+ |
||/stand HFS 68 29 vg00 Fixed MB | [Add] |
||primary SWAP 256 0 vg00 Fixed MB | |
||/ VxFS 84 19 vg00 Fixed MB | [Modify]|
||/tmp VxFS 32 0 vg00 Fixed MB | |
|+---------------------------------------------+ [Remove]|
| |
|Usage: [ HFS ] VG Name: __vg00__ Mount Dir: /stand___|
| |
|Size: [( FIxed MB ]68________ Avail: 2936 Mb |
| |
|Add/Remove Disks ...... ----Additional Tasks---- |
| |
|Show Summary Reset Configuration |
| |
|[GO!] [Cancel] [Help] |
| |
+--------------------------------------------------------+

have a nice day..
Darrel Louis
Honored Contributor

Re: Increasing / and /stand file systems

Hi Sebastian,

As already stated it can't be done without a ignite tape or CD/DVD.

Create a Ignite tape:
- /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

- Make a fullbackup of the system
- Boot from the Ignite tape and adjust Filesystem size.

GoodLuck

Darrel
Christian Tremblay
Trusted Contributor

Re: Increasing / and /stand file systems

Although the official HP position is that the only kosher way of doing this is by reigniting the server and modifying the sizes in doing so;Increasing / and /stand online is very easy if you have mirror disk installed. We have been doing this for years on large production systems without a second of downtime and without any problems.

For example, to extend your first contiguous volume on your first disk, break the mirrors for any volume that follow on this disk, you then have your first volume living alone on the first disk and all the others on the second one.

At this point, you still can't extend that volume because it's mirrored on the second disk: Break that mirror, leaving all your volumes unmirrored.

You can now extend that volume on the first disk as it lives alone on that disk.

Now, remirror the other volumes from the second disk to the first.

Your first disk is now done.

To do a cleaner job, break all the mirrors on the second disk and remirror everything back.

Voila... You are done.
MarkSyder
Honored Contributor

Re: Increasing / and /stand file systems

If you're going to do it Christian's way I'd advise you to take an ignite backup first in case you get in a mess. And if you're going to take an ignite backup I'd advise you to use it to increase the filesystems. Catch 22 anyone?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Florian Heigl (new acc)
Honored Contributor

Re: Increasing / and /stand file systems

I second Christians statement, but I think the ignite way is better for a first try.

otherwise see my notes on extending /stand here in itrc, they should give some hints toward extending / - which is rarely need IMO.
yesterday I stood at the edge. Today I'm one step ahead.
Joseph C. Denman
Honored Contributor

Re: Increasing / and /stand file systems

You could reduce swap and add that space to your root and stand filesystems. You can always add more swap.

Check out this thread.


http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=610818

...jcd...
If I had only read the instructions first??
David F Newman
New Member

Re: Increasing / and /stand file systems

I was reading Christian Tremblay's response which sounds like a reasonable approach, however, I am wondering how it can be accomplished without unmounting the filesystem being extended as extendfs doesn't seem to work on mounted filesystems.

Thanks.
Dave Newman
IT_2007
Honored Contributor

Re: Increasing / and /stand file systems

You can't extend / and /stand since logical extents should be strict and contiguous. Only option is re-ignite box and resize filesystems when you recover it.
Sebastian Cross
Occasional Contributor

Re: Increasing / and /stand file systems

Thanks!
Christian Tremblay
Trusted Contributor

Re: Increasing / and /stand file systems

Precision: The online method requires online JFS installed to be able to extend / without unmounting it ( / has to be vxfs )

You cannot extend /stand this way because /stand HAS to be a HFS file system which has to be unmounted to extend.