- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- increasing 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
06-20-2004 05:59 PM
06-20-2004 05:59 PM
Can anybody tell me how to increase the size of /var
I am pasting the bdf and fstab o.p here
bdf /var
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol8 1036288 1034985 1303 100% /var
ev/vg00/lvol8 1036288 1034985 1303 100% /var
[root@rtkarch]/usr/bin # cat /etc/fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 06:04 PM
06-20-2004 06:04 PM
Re: increasing size of /var
check whether you have got online JFS installed?? If installed you can resize the filesystem without unmounting (provided you have free PEs) the filesystem.
Otherwise, you may need to boot in the lvm maintenance mode, increase the size and then mount the var and check.
before trying to increase the space, try cleaning up some space.
cleanup -p -c 2 will show preview of a cleanup of all superseded patches. see whether it can create some freee space for you. and then do a cleanup -c 2 to remove the patches
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 06:14 PM
06-20-2004 06:14 PM
SolutionReboot system
interrupt at the 10 second prompt
interact with ISL (yes)
ISL> hpux -is
# lvextend -L < new size> /dev/vg00/lvol8
# extendfs -F vxfs /dev/vg00/rlvol8
# mount /var
check for new size with bdf
# control -d (press control-d will continue system boot into multi-user mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 06:18 PM
06-20-2004 06:18 PM
Re: increasing size of /var
with online JFS:
# lvextend -L
# fsadm -F vxfs -b
without online JFS:
u may do a shutdown but most importantly, u must break the 10 seconds before u can proceed to single user mode via:
after breaking to PDC Menu --> bo pri
ISL> hpux -is
# mount /usr
# /usr/sbin/lvextend -L
# /usr/sbin/extendfs -F vxfs /dev/vg00/rlvol#
since the /etc/default/fs is hfs, unless u want to amend the file to vxfs
# lvdisplay /dev/vg00/lvol#
# mount /var
# bdf
to check if the size is correct.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 07:07 PM
06-20-2004 07:07 PM
Re: increasing size of /var
/var/adm/btmp
/var/adm/sulog
/var/adm/wtmp
/var/adm/cron/log
/var/adm/lp/log
/var/adm/syslog/mail.log
/var/adm/syslog/syslog.log
If any of them is very large, null it (DON'T delete any of these files!). E.g.
> /var/adm/syslog/syslog.log
But before you null syslog.log read through it in case of warning/error messages.
If you have any directories in /var that are taking up a large amount of space you might like to move them into a filesystem of their own. E.g. if you have a large user area /var/users you can create a new filesystem called /var/users and move all the files into it. The users won't see the difference, but you will see a lot more space available in /var.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 07:14 PM
06-20-2004 07:14 PM
Re: increasing size of /var
You could have also rated the replies of mark and joseph since they are relevent to your question and important too.
It is not compulsary to assign point to only single correct answer.
Don't mind.
Thanks bharat.
ps. no points to this one. :)))