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
ulimit(1)						      General Commands Manual							 ulimit(1)

NAME
ulimit - Sets or reports a resource limit SYNOPSIS
ulimit [-HSacdfmnstvw] [limit] STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: ulimit: XCU5.0, XBD5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. OPTIONS
[Tru64 UNIX] The limits specified for the resources are hard limits. A hard limit cannot be increased once it is set. [Tru64 UNIX] The limits specified for the resources are soft limits. A soft limit can be increased up to the value of the hard limit. [Tru64 UNIX] Lists all of the current resource limits. The limit operand is not permitted with this option. [Tru64 UNIX] The limit operand specifies the number of 512-byte blocks for core dumps. [Tru64 UNIX] The limit operand specifies the number of Kilobytes for the data area. The limit operand specifies the number of 512-byte blocks for files written by child processes (files of any size can be read). [Tru64 UNIX] The limit operand specifies the number of Kilobytes for the size of physical memory. [Tru64 UNIX] The limit operand specifies the number of file descriptors. [Tru64 UNIX] The limit operand specifies the number of Kilobytes for the stack area. [Tru64 UNIX] The limit op- erand specifies the number of seconds to be used by each process. [Tru64 UNIX] The limit operand specifies the number of Kilobytes for virtual memory. This option is supported only if RLIMIT_VMEM has been defined in /usr/include/sys/resource.h at compile-time. [Tru64 UNIX] The limit operand specifies the number of Kilobytes for the swap area. This option is supported only if RLIMIT_SWAP has been defined in /usr/include/sys/resource.h at compile-time. OPERANDS
If no options are specified, this is the number of 512 byte blocks to use as the new limit to file size. Otherwise, it is the limit applied to the resource indicatd by the option. [Tru64 UNIX] This operand is not allowed with the -a option. If this operand is omitted, the current limit for the indicated resource is reported. DESCRIPTION
This command sets, or reports, the limit on the size of system resources, as indicated by the option. [Tru64 UNIX] If neither the -H option nor the -S option is specified, the limit applies to both hard and soft limits. If only the -a option is specified, soft limits are reported. If there is no limit on a resource, the limit is reported as unlimited. NOTES
The ulimit command affects only the current execution environment, therefore it has no effect when run in a separate execution environment such as one of the following: nohup ulimit -f 10000 env ulimit 10000 RESTRICTIONS
Once a limit has been decreased, only a user with superuser privileges may increase it, even back to its original value. EXIT STATUS
The following exit values are returned: Successful completion. A request for a higher limit was rejected or an error occurred. EXAMPLES
To set the file size limit to 51,200 bytes, enter: ulimit -f 100 To report the current file size limit, enter: ulimit The following example displays all current resource limits: % ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) 131072 stack(kbytes) 2048 memory(kbytes) 84280 coredump(blocks) unlimited nofiles(descriptors) 4096 vmemory(kbytes) 1048576 ENVIRONMENT VARIABLES
The following environment variables affect the execution of ulimit: Provides a default value for the internationalization variables that are unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationalization variables contain an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value, overrides the values of all the other internationalization variables. Determines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multibyte characters in arguments). Determines the locale for the format and contents of diagnostic messages written to standard error. Determines the location of message catalogues for the processing of LC_MESSAGES. SEE ALSO
Routines: ulimit(3) Standards: standards(5) ulimit(1)
All times are GMT -4. The time now is 10:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy