- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increasing the size of /var
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
11-24-2003 05:31 AM
11-24-2003 05:31 AM
If i can't do it here i can always do it thru a make_tape_recovery reload.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 05:34 AM
11-24-2003 05:34 AM
Re: Increasing the size of /var
You can increase it in single-user mode. If you've already increase your logical volume, and once you booted in single-user mode, just do an extendfs of the logical volume of your /var file system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 05:36 AM
11-24-2003 05:36 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 05:39 AM
11-24-2003 05:39 AM
Re: Increasing the size of /var
Boot the system into single user mode and then change the size of var using lvextend and extendfs. to boot the system in single user mode, interrupt the boot process and boot thru pri, interact with ipl and boot into single user mode, hpux -is.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 05:41 AM
11-24-2003 05:41 AM
Re: Increasing the size of /var
Once in single user mode, do lvextend on logical volume and then extendfs.
You can also create a seperate file system for directories under /var so as to avoid future problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 05:43 AM
11-24-2003 05:43 AM
Re: Increasing the size of /var
Another possibility if you've got room to spare is to create another lvol of the desired size and copy the contents of your current /var into it. The switch the mount points in /etc/fstab and reboot.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 05:53 AM
11-24-2003 05:53 AM
Re: Increasing the size of /var
ISL> hpux -lm
# vgchange -a y /dev/vg00
# lvextend -L
# extendfs /dev/vg00/r
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 06:02 AM
11-24-2003 06:02 AM
Re: Increasing the size of /var
Radical:
/stand -- 512MB
swap -- 4-8 GB
/ -- everything that remains...
What I have (on 36GB Bootdisks):
/stand - 512MB
/ - 8GB
swap - 8GB
/var - 8GB
/tmp - 4GB
There'll be /opt/??? and /var/??? mounts that you will need to have on separate Filesystems when the situation dictates but overall -- having a minimalist and sensible partitioning strategy future proofs you... I know there'll be folks that are totally against it that would rather have separate /, /usr, /usr/local, /opt, /whatever...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 06:20 AM
11-24-2003 06:20 AM
Re: Increasing the size of /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 06:35 AM
11-24-2003 06:35 AM
Re: Increasing the size of /var
I'm surprised that worked. The man page for lvextend says quite firmly that you need to unmount. From the Examples section:
Increase the size of a file system existing on a logical volume.
First, increase the size of the logical volume.
lvextend -L 400 /dev/vg06/lvol3
Unmount the file system.
umount /dev/vg06/lvol3
Extend the file system to occupy the entire (larger) logical volume.
extendfs /dev/vg06/rlvol3
Remount the file system.
mount /dev/vg06/lvol3 /mnt
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 06:42 AM
11-24-2003 06:42 AM
Re: Increasing the size of /var
It appeared to umount it for me.