The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Increase Performance sandeep_hi Shell Programming and Scripting 1 07-08-2008 12:13 AM
how to increase fs xuc_xich_duc SUN Solaris 6 11-28-2006 12:45 AM
increase /var on DG-UX box AnneliseW Filesystems, Disks and Memory 0 10-10-2005 06:52 AM
increase size of /tmp pkappaz UNIX for Dummies Questions & Answers 2 07-02-2003 08:49 AM
increase ulimit fo all sureshy UNIX for Dummies Questions & Answers 1 05-15-2002 05:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-15-2007
Registered User
 

Join Date: Jul 2005
Posts: 34
Red face increase fs /var

Question
I am not a hp admin but aix admin.
I am wondering if to increase the fs /var we really have to umount the fs so means stop the system ... just to do an extendlv ?
It is what I saw on man page of extendlv and that surprise me. On aix we can dynamically increase a fs and with version 5.3 can dynamically also reduce a fs. I would like to assume that on HP-UX we can also dynamically increase a fs... I hope so that I have to add some space to /var as it is a little full and the only files that I found big is belong to legato networker and don't know how to free space and nobodies no !

/var/nsr/index/hostname/db # ls -ltr
total 1033440
-rw------- 1 root root 472162304 Feb 16 10:51 sr.0
-rw------- 1 root root 28491776 Feb 16 10:56 sr_i0.0
-rw------- 1 root root 32768 Feb 16 11:11 sr_i1
-rw------- 1 root root 28336128 Feb 16 11:11 sr_i1.0
-rw------- 1 root root 8192 Feb 16 12:33 VolHdr
-rw------- 1 root root 32768 Feb 16 12:33 sr
-rw------- 1 root root 32768 Feb 16 12:33 sr_i0

Please if you can give me some help it will be cool.

Cheers.

Al.
Reply With Quote
Forum Sponsor
  #2  
Old 02-15-2007
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,328
The /var fs should be in the VG vg00. Check if vg00 has any free extents using vgdisplay. If it does, then you can use lvextend to extend the logical volume for /var. Finally, when you do get some downtime, take the system down to single user mode, unmount the filesystem and run extendfs to extend the filesystem to the new size of the logical volume.

Alternatively, if you do have the license for fsadm, you can use that utility to extend the filesystem online, without any downtime.
Reply With Quote
  #3  
Old 02-15-2007
Registered User
 

Join Date: Feb 2007
Posts: 3
Try this:

1. reboot.
2. Single user in boot
3. umount fs
4. increase /var
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:31 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0