- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increasing /var and /usr
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 03:17 AM
10-24-2001 03:17 AM
Increasing /var and /usr
I am performing an upgrade to HP11.00 from 10.20, and I need to increase the size of /var and /usr. I am new to all this, so how do I increase the sizes when they won't umount because they are busy. I have shutdown in single user mode and have (i think) managed to increase the size of the logical volumes but how do I increase the fs sizes? Please help. A basic step-by-step guide would be brilliant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 03:22 AM
10-24-2001 03:22 AM
Re: Increasing /var and /usr
#lvextend -L
then all you need to do is:
#extendfs -F vxfs /dev/vg??/rlvol?
#init 3 (or 4, depending on your default run level)
Hope this helps, good luck
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 03:22 AM
10-24-2001 03:22 AM
Re: Increasing /var and /usr
if you don't have OnlineJFS to correct procedure is:
umount /dev/vg99/lvol9
lvextend -L larger_size /dev/vg99/lvol9
extendfs -F vxfs /dev/vg99/rlvol9
mount /dev/vg99/lvol9 mount_directory
and for some mount-points (/var, ...) you will need to be in single user mode to unmount them successfully.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 03:37 AM
10-24-2001 03:37 AM
Re: Increasing /var and /usr
$/sbin/shutdown -> for single user mode.
$/sbin/mount -> will mount /usr
$/sbin/lvextend ???L newsize /dev/vg00/lvol? -> extend the lvol size
$/sbin/umount /usr -> unmount /usr
$/sbin/extendfs /dev/vg00/rlvol? -> Extend file system size to lvol size
$/sbin/mount /usr -> mount /usr
$/sbin/reboot ???r -> reboots in multiuser mode.
Similarly u can increase the /var also.
Regards
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 03:39 AM
10-24-2001 03:39 AM
Re: Increasing /var and /usr
1. Do not upgrade
2. Install 11.00 - cold install (virgin install) the OS.
The reason, is because I know of no one that has ever done this. HP even recommends doing a cold install. Besides, it's faster to do a cold install.
harry
live free or die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 03:48 AM
10-24-2001 03:48 AM
Re: Increasing /var and /usr
strings /etc/lvmtab
/etc/fstab
and anything else you want to stay the same after the install and then go for it.
Thanks to Harry for catching what we all seemed to miss.
Good luck
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 03:51 AM
10-24-2001 03:51 AM
Re: Increasing /var and /usr
In the absence of Online JFS, particularly with /usr and /var, it is easiest to boot up into single-user mode, and 'lvextend' and 'extendfs' your filesystems.
If you need to find and kill processes that are preventing a filesystem from being unmounted, do:
# fuser -kc /mountpoint
-or-
# fuser -kc /dev/dsk/cXtYdZ
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 04:26 AM
10-24-2001 04:26 AM
Re: Increasing /var and /usr
You have the info for increasing lvols & fs.....Now do yourself a really big favor and do a SEARCH for the pros and cons (and suggestions) on upgrading vs cold install. It will be time well spent.
Here is one to get you started..
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe24eded2442ed5118fef0090279cd0f9,00.html
..and here's my tip...sit down and map out what you plan to do before you start. It will save you tons of hours trying to regroup later.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 07:09 AM
10-24-2001 07:09 AM
Re: Increasing /var and /usr
Look at the thread below for more info.
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=71d7182e0caf757bf0/screen=ckiDisplayDocument?docId=200000046785431
hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 07:10 AM
10-24-2001 07:10 AM
Re: Increasing /var and /usr
Harry is right (of course :-) with his steps, but he has omitted the most important step "0)"!
First you get a recent release of "Ignite/UX".
Then you install the "Minimal Runtime" at least.
Third you use "make_tape_recovery " to backup you whole root-and boot-volume group.
Only then you continue with the other steps...
Regards,
Wodisch