increase fs /var


 
Thread Tools Search this Thread
Operating Systems HP-UX increase fs /var
# 1  
Old 02-15-2007
Power 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.
# 2  
Old 02-15-2007
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.
# 3  
Old 02-15-2007
Try this:

1. reboot.
2. Single user in boot
3. umount fs
4. increase /var
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to increase the /var (UFS) filesystem and root disk under veritas control?

I need to increase the /var (UFS) filesystem and root disk under veritas control or root disk is encapsulated # df -k /var Filesystem kbytes used avail capacity Mounted on /dev/vx/dsk/var 13241195 12475897 674524 96% /var # fstyp /dev/vx/dsk/var ufs # pkginfo... (1 Reply)
Discussion started by: amity
1 Replies

2. Solaris

Increase space in /var

Hi Please can I have some help in increasing /var in my solaris 10 server. At the moment the size configured is small and I need to expand it: df -h Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s0 869M 510M 307M 63% / /devices ... (16 Replies)
Discussion started by: fretagi
16 Replies

3. Shell Programming and Scripting

Csh , how to set var value into new var, in short string concatenation

i try to find way to make string concatenation in csh ( sorry this is what i have ) so i found out i can't do : set string_buff = "" foreach line("`cat $source_dir/$f`") $string_buff = string_buff $line end how can i do string concatenation? (1 Reply)
Discussion started by: umen
1 Replies

4. Solaris

Difference between /var/log/syslog and /var/adm/messages

Hi, Is the contents in /var/log/syslog and /var/adm/messages are same?? Regards (3 Replies)
Discussion started by: vks47
3 Replies

5. Solaris

/var/adm & /var/sadm

what is the difference between tha /var/adm and /var/sadm files in solaris 10 Os please can any one respond quickly thanking you (2 Replies)
Discussion started by: wkbn86
2 Replies

6. Solaris

diff b/w /var/log/syslog and /var/adm/messages

hi sirs can u tell the difference between /var/log/syslogs and /var/adm/messages in my working place i am having two servers. in one servers messages file is empty and syslog file is going on increasing.. and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

7. AIX

chfs increase /var limit at 512mb?

Is there a limit of 512Mb when doing a "chfs -a size=XXXXX /myfs" ? I managed to increase /var to 512MB fine, no issues, then i wanted to increase /usr to 2Gb, but when i enter: # chfs -a size=2260992 /usr chfs: 0506-908 Cannot reduce size... (5 Replies)
Discussion started by: craigp84
5 Replies

8. Filesystems, Disks and Memory

increase /var on DG-UX box

Hello, I need to increase /var on a DG-UX R4.2 AViion Pentium Pro box - having never used DG-UX I'm unsure how to do this - can anyone point me in the right direction? Also, can I do it with the system up or do I have to take it to single user mode?? MAny thanks. (0 Replies)
Discussion started by: AnneliseW
0 Replies

9. UNIX for Dummies Questions & Answers

HELP! The '/var/adm/message' file increase every few seconds???

Hi, guys, I have a big problem. I've got a sun solaris 4.1.4 workstation, and the /var/adm/message file will add one row every few seconds. It becomes a large file in a short time. I wander if there are some mistakes configuring the workstation. the /var/adm/message is as follow: ... (3 Replies)
Discussion started by: cloudsmell
3 Replies

10. Filesystems, Disks and Memory

HELP! The '/var/adm/message' file increase every few seconds???

Hi, guys, I have a big problem. I've got a sun solaris 4.1.4 workstation, and the /var/adm/message file will add one row every few seconds. It soon becomes a large file. I wander if there are some mistakes configuring the workstation. the /var/adm/message is as follow: ... (1 Reply)
Discussion started by: cloudsmell
1 Replies
Login or Register to Ask a Question