1833821 Members
2591 Online
110063 Solutions
New Discussion

Trying to extend /stand

 
SOLVED
Go to solution
Ratzie
Super Advisor

Trying to extend /stand

We are trying to extend /stand

We tried to do it thru SAM where we created a problem.
First we added another drive then added it to vg00
For some reason it took /stand out of the mnttab.
We added it back in and was able to mount the /stand, everything was there.

Now we want to extend /stand and it is busy.
# fuser /stand
/stand: 5919c


How do I fix this problem?
5 REPLIES 5
Sanjay_6
Honored Contributor

Re: Trying to extend /stand

Hi,

you cannot extend /stand. It has to be contiguous. The only way to extend /stand is to do a reinstall. Take a ignite backup (take two) and then reinstall using the ignite tape / network archive.

Here is a link to ignite site. Download and install the product if you don't have it on your system. Also check the faq,

http://www.software.hp.com/products/IUX/index.html

Hope this helps.

regds
Steven E. Protter
Exalted Contributor
Solution

Re: Trying to extend /stand

I agree with Sanjay's conclusion and suggestion.

It occurred to me that you might be able to "extend" stand without the Ignite boot, which is the best course of action.

lvdisplay -v /dev/vg00/lvol3
# use the lvol that is /stand on bdf

get the disk device:

pvdisolay -v /dev/dsk/c1t2d0 | more

On my system what comes after /stand is /dev/vg00/lvol2

Thats my swap file.

It might be possible to remove the do the following steps:

1) deactiveate the swap device
2) lvremove the swap file
3) extend /stand
4) extend the /stand filesystem
5) set up a new swap file in another location within vg00.

I don't think its worth the work, and swap might not be the next disk space area on your vg00, but depending on what it is, you might be able to do something.

If you are the fun loving, adventurous type and have an Ignite tape handy. I'd go with the Ignite tape/restore method.

There is an interupt prompt in the process that lets you intervene and change filesystem sizes. I've done that successfully a few times.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
bhavin asokan
Honored Contributor

Re: Trying to extend /stand

hi,

the procedure for extending /stand is available on hpux11 and 11i installation and update guides (see docs.hp.com)

Appendix B 184
Increasing /stand
In some cases, you will need to increase the size of /stand prior to
completing a successful update to HP-UX 11i. If the update-ux
command fails with a message indicating that /stand is too small, follow
these steps to increase the size of /stand.
To increase /stand, youâ ll first have to create a larger /swap volume,
since both require contiguous blocks and are adjacent volumes. If you
need help with this procedure, refer to the Managing Systems and
Workgroups manual, available on the HP-UX 11i Instant Information CD
and on HPâ s documentation web site:
http://docs.hp.com/hpux/os/11i/oe/
Step 1. As root, use sam to create a new contiguous /swap volume of the required
size, say, 300 MB. Name the new volume /dev/vg00/swap.
Step 2. Using sam, verify that there is no bad block relocation and the new
/swap volume is contiguous.
Step 3. As root from a console window, remove and add primary swap and dump
devices:
1. Remove the current dump device:
lvrmboot -v -d lvol2 /dev/vg00
2. Add a new dump device:
lvlnboot -d /dev/vg00/swap
3. Remove the current swap device:
Known Problems and Troubleshooting
Adjusting Required Minimum File System Sizes
lvrmboot -s /dev/vg00
4. Add a new swap device:
lvlnboot -s /dev/vg00/swap
Step 4. Verify your change by entering:
lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (8/0/19/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
Root: lvol3 on: /dev/dsk/c0t6d0
Swap: swap on: /dev/dsk/c0t6d0
Dump: swap on: /dev/dsk/c0t6d0, 0
Step 5. If your changes are correct, reboot the system.
Step 6. After the system reboots, view swap information by entering:
swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 307200 45936 216208 0% 0 - 1 /dev/vg00/swap
reserve - 113748 -113748
memory 85584 23492 62092 27%
Step 7. To verify that the same configuration exists as before the reboot, enter
(again):
lvlnboot -v
Step 8. As root, use sam to remove the old lvol2 entry from /dev/vg00.
Step 9. Using sam, increase /stand to the required new size. Also change the
size of any other volumes as needed.
Step 10. Define your new volume as the boot volume at the next reboot:
lvlnboot -b lvol1 /dev/vg00
Step 11. Reboot your system again.

re
Mic V.
Esteemed Contributor

Re: Trying to extend /stand

If it helps any, I've used the procedure above and it works (assuming you have the requisite disk space available).
What kind of a name is 'Wolverine'?
Ratzie
Super Advisor

Re: Trying to extend /stand

Thanks