Sponsored Content
Operating Systems AIX chfs increase /var limit at 512mb? Post 302122740 by craigp84 on Thursday 21st of June 2007 07:13:10 AM
Old 06-21-2007
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:

Code:
# chfs -a size=2260992 /usr                                                     
chfs: 0506-908 Cannot reduce size of file system.

What's causing this? Why can't i increase /usr?

I've pasted all the stuff i know of that might be relevant below, any other command that might be useful?

Many thanks,

Craig

Code:
lsfs
Name            Nodename   Mount Pt               VFS   Size    Options    Auto Accounting
/dev/hd4        --         /                      jfs   65536   --         yes  no 
/dev/hd1        --         /home                  jfs   65536   --         yes  no 
/dev/hd2        --         /usr                   jfs   2424832 --         yes  no 
/dev/hd9var     --         /var                   jfs   524288  --         yes  no 
/dev/hd3        --         /tmp                   jfs   131072  --         yes  no 
/proc           --         /proc                  procfs --      --         yes  no 
/dev/hd10opt    --         /opt                   jfs   131072  --         yes  no 

# df -k
Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4            32768     18172   45%     1632    10% /
/dev/hd2          1212416     32732   98%    29900    10% /usr
/dev/hd9var        262144    222416   16%      354     1% /var
/dev/hd3            65536     63424    4%       25     1% /tmp
/dev/hd1            32768     31684    4%       18     1% /home
/proc                   -         -    -         -     -  /proc
/dev/hd10opt        65536     14304   79%      981     6% /opt

# lspv                                                                          
hdisk0          0041c0da0006d691                    rootvg          active      
# lspv -l 0041c0da0006d691                                                      
pvid=0041c0da0006d691:                                                          
LV NAME               LPs   PPs   DISTRIBUTION          MOUNT POINT             
hd9var                8     8     00..00..08..00..00    /var                    
hd2                   37    37    00..00..37..00..00    /usr                    
hd4                   1     1     00..00..01..00..00    /                       
hd8                   1     1     00..00..01..00..00    N/A                     
hd6                   16    16    00..16..00..00..00    N/A                     
hd5                   1     1     01..00..00..00..00    N/A                     
hd10opt               2     2     00..00..02..00..00    /opt                    
hd1                   1     1     00..00..01..00..00    /home                   
hd3                   2     2     00..00..02..00..00    /tmp

 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. HP-UX

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... (2 Replies)
Discussion started by: touny
2 Replies

5. AIX

chfs -- permission denied

nevermind .. please close. tired admin in the morning ) edit by bakunin: your wish shall be my command... ;-)) -closed- (0 Replies)
Discussion started by: tenshi
0 Replies

6. Solaris

How to increase soft stack limit?

:wall:Dear Solaris 10 Specialists, I am having difficulty trying to increase the soft stack limit to 16384 for user george on this Solaris 10 SunFire Sparc server as follows: $ uname -a SunOS galactica 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5220 % id -p ... (3 Replies)
Discussion started by: gjackson123
3 Replies

7. Solaris

8 character limit for ipcs command , any way to increase # of chars ?

Hello All, We have a working script which identifies and kills ipcs resources which havent been correctly killed during normal shutdowns. It is working fine and dandy however there are some issues now. Environment: SunOS 5.10 Generic_148888-03 sun4u sparc SUNW,SPARC-Enterprise ... (4 Replies)
Discussion started by: icalderus
4 Replies

8. AIX

CHFS running clean but FileSize not changing

sapep101dr(root):/home/root>lsvg -l vg00 vg00: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT lv_102_64 jfs2 40 40 1 open/syncd /oracle/EP1/102_64 loglv01 jfs2log 1 1 1 open/syncd N/A lv_EP1 ... (4 Replies)
Discussion started by: nck_ptl
4 Replies

9. 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

10. 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
maxfiles(5)							File Formats Manual						       maxfiles(5)

NAME
maxfiles - initial (soft) maximum number of file descriptors per process VALUES
Failsafe Default The default value is computed at runtime and depends on the amount of physical memory on the system. For small memory systems (less than 1GB), the default is 512. For systems with more than 1GB of memory, the default is 2048, or 2K. Allowed values The minimum value is 32. The maximum value is 1048576, or 1M. The value is further constrained in that it must be equal to or less than the hard limit, Specify a positive integer value. Recommended values At runtime, a warning will be issued if the tunable is set to a value greater than 409600, or 400K. This is beyond the tested limit. At runtime, a warning will be issued if the value is not a multiple of the file descriptor chunk (multiple of 8) size. This is not a seri- ous warning, just an information message for the administrator. DESCRIPTION
specifies the initial default number of file descriptors a process is allowed to have for open files at any given time. It is possible for a process to increase its soft limit and therefore open more than files. Nonsuperuser processes can increase their soft limit using or until they reach the hard limit, Who Is Expected to Change This Tunable? This value of this tunable rarely needs to be modified. However, this tunable may need to be modified on systems that will run applica- tions using large numbers of file descriptors, or on systems where memory consumption needs to be reduced. Restrictions on Changing This tunable is static. To have changes to the value of this tunable take effect, a system reboot is required. When Should the Value of This Tunable Be Raised? This tunable may need to be raised on systems that will run applications using large numbers of file descriptors if the applications do not already increase their process soft limit, for example using What are the Side Effects of Raising the Value? The initial process memory footprint grows due to a larger per process file table. When Should the Value of This Tunable Be Lowered? The value should be lowered to limit the number of initial file descriptors per process on a system to reduce memory consumption. What are the Side Effects of Lowering the Value? The initial process memory footprint shrinks due to a smaller per process file table. What Other Tunable Values Should Be Changed at the Same Time? The value assigned to must be less than or equal to the value of Kernel checks during tunable setting ensure this. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
kctune(1M), sam(1M), gettune(2), settune(2), ulimit(2), setrlimit(2), maxfiles_lim(5). Tunable Kernel Parameters maxfiles(5)
All times are GMT -4. The time now is 11:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy