chfs increase /var limit at 512mb?


 
Thread Tools Search this Thread
Operating Systems AIX chfs increase /var limit at 512mb?
# 1  
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

# 2  
Old 06-21-2007
Your /usr is already grater in size than the value you tried to set it to.

Code:
new size: 2260992 
old size: 2424832

# 3  
Old 06-21-2007
It's allways nice to specify just how much to add. You can for example give the following command:

chfs -a size=+500M /usr.
# 4  
Old 06-21-2007
Hi Guys, many thanks for the replies.

Reborg - I'm reading the df -k output and it's telling me there's just over 1.1Gb, why is there a difference between size reportied by lsfs and df -k - what am i missing here - besides any meaningful prior experience of aix :-) ?

Sprellarinn - Now that's cool. Thats nice and easy.

I quite like this AIX approach to LVM. It seems pretty clean and sensible (even if i'm not yet familiar with the commands to make it tick).
# 5  
Old 06-21-2007
One is in multiples of 1024 (kb "df -k"), the number you used is in blocks of 512. As Sprellarinn said it's easier for humans to deal with MB than blocks.
# 6  
Old 06-21-2007
That's excellent.
-c
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. 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

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

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

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

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

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