- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var Increasing Size
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
07-09-2002 08:08 AM
07-09-2002 08:08 AM
/var Increasing Size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 08:12 AM
07-09-2002 08:12 AM
Re: /var Increasing Size
Once extended, check the file system with fsck commmand and mount it. Check whether everything is proper. Once all done, restart the system as normal mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 08:13 AM
07-09-2002 08:13 AM
Re: /var Increasing Size
This is the very reason you buy OnlineJFS. You could grow the LVOL and the filesystem 'on-the-fly'. Without it, the realistic answer is that you are going to have to drop to single-user.
The answer to your second question is that some of them will but almost certainly not all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 08:13 AM
07-09-2002 08:13 AM
Re: /var Increasing Size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 08:13 AM
07-09-2002 08:13 AM
Re: /var Increasing Size
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 08:15 AM
07-09-2002 08:15 AM
Re: /var Increasing Size
There are acutally 3 ways to do it :
1. If online JFS is ther you can do it online.
2. GO to single user and then increase it .
3. Make a ignite recovery tape and reinstall it with more size of /var.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 08:15 AM
07-09-2002 08:15 AM
Re: /var Increasing Size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 08:18 AM
07-09-2002 08:18 AM
Re: /var Increasing Size
#fsadm -F vxfs -b 1300M /var
If you don't have online JFS ,
Then you need to boot the system in to single user mode to increase the size of the /var file system. You can't unmount the /var file system in the multi user mode. Even if you use "fuser -ck /var " to kill the processes using /var file system it won't allow you to unmount the /var file system.
Rather it will just kill your login session.
So boot the system in single user mode
#lvextend -L 1300
# extendfs -F vxfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 09:13 AM
07-09-2002 09:13 AM
Re: /var Increasing Size
If you do not have Online JFS, you will have to boot system with single user to increase size of /var.
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 09:19 AM
07-09-2002 09:19 AM
Re: /var Increasing Size
1. There is the single user mode where you run shutdown.
2. There is the single user mode where you remove power from the computer, then interupt the boot process, then boot it up into single user mode.
The first "single user mode" still uses /var.
The 2nd "single user mode" works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 11:11 AM
07-09-2002 11:11 AM
Re: /var Increasing Size
2. interupt the boot process
3. interact with ipl
4. hpux -is
(this will boot into single user)
then do your lvextend -L 100 etc...etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 05:42 PM
07-09-2002 05:42 PM
Re: /var Increasing Size
/var/tmp will have junk files from apps and users, /var/adm has logfiles that grow forever, /var/adm/sw will have patch and application files, /var/spool has print jobs that never completed and /var/mail can have hundreds of megs of junk mail.
Regularly analyze /var and have cron handle logfile trimming. To analyze the space, use:
du -kx /var | sort -rn > /tmp/du.var
Look in /tmp/du.var to see where the lrgest directories are located, then use:
ll | sort -rnk5 | more
to show the files sorted by size.
Also use the cleanup command regularly (ideally, right after installing new patches and/or applications).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 10:33 PM
07-09-2002 10:33 PM
Re: /var Increasing Size
see this link, beautiful document on extending /usr /var and /tmp if u don't have online JFS.
http://support1.itrc.hp.com/service/cki/docDisplay.do?docId=200000046785431
regds
ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2002 10:47 AM
07-10-2002 10:47 AM
Re: /var Increasing Size
However, an easy way to "extend" a mounted file system is to find an appropriately large directory in your /var file system that can be moved to another volume. If necessary, create another volume that has the amount of space needed to hold the directory to be moved. Using tar or find/cpio move that directory to the new location. Finally, place a link in /var pointing to the new location, and you are all set.
This will not require the system to be shut down or rebooted, and does not require online JFS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:26 PM
12-31-2002 12:26 PM
Re: /var Increasing Size
After creating a new filesystem, mount it and use cpio to copy all the contents from old /var to new /var. Does it need to be edit in the /etc/fstab file ?
and how do i perform a link from old to new
ln -s ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:36 PM
12-31-2002 12:36 PM
Re: /var Increasing Size
You really should start your own new thread being that the last response to this thread was July 2002.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:59 PM
12-31-2002 12:59 PM
Re: /var Increasing Size
:-)
Marty