AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  chfs: There is not enough free space to shrink the file system.????

    Posted Mon January 31, 2011 08:05 PM

    Originally posted by: SystemAdmin


    I have been trying to shrink my file system to 3 gigs. I have 21 gigs available. But everytime I try to shrink it I get this error "chfs: There is not enough free space to shrink the file system"
    I am trying to shink the filesystems listed below.

    myserver:root:/>df -g

    /dev/fslva1 68.00 21.59 69% 41 1% /oracle/SID/toomuchdata1
    /dev/fslva2 67.38 19.74 71% 31 1% /oracle/SID/toomuchdata2
    /dev/fslva3 66.50 21.70 68% 35 1% /oracle/SID/toomuchdata3
    /dev/fslva4 67.50 16.49 76% 51 1% /oracle/SID/toomuchdata4
    /dev/fslva5 74.25 23.59 69% 37 1% /oracle/SID/toomuchdata5
    /dev/fslva6 64.62 15.26 77% 33 1% /oracle/SID/toomuchdata6


  • 2.  Re: chfs: There is not enough free space to shrink the file system.????

    Posted Mon January 31, 2011 08:46 PM

    Originally posted by: unixgrl


    Are you trying to shrink TO 3Gb or BY 3Gb? If you are trying to reduce by 3Gb and have the correct syntax on your chfs command, you may have a filesystem that is fragmented. Also, is /tmp, /var/tmp or / close to full? Full root-level filesystems can cause lots of things to fail.


  • 3.  Re: chfs: There is not enough free space to shrink the file system.????

    Posted Tue February 01, 2011 03:51 PM

    Originally posted by: SystemAdmin


    My /tmp directory is at 3% used. I added 2 gigs to the /tmp directory as well and that did not resolve the issue. I also tried to reduce the files system by only 1PP (128M) and still no luck. I talked to IBM support and was not very comfortable with the answer I got. The guy told me to reduce the filesystem by 1M ......???????? That is a whole different story. So I am back to square 1.


  • 4.  Re: chfs: There is not enough free space to shrink the file system.????

    Posted Tue February 01, 2011 08:42 AM

    Originally posted by: Pharthiphan


    chfs -a size=-3G /oracle/SID/toomuchdata1


  • 5.  Re: chfs: There is not enough free space to shrink the file system.????

    Posted Tue February 01, 2011 03:56 PM

    Originally posted by: SystemAdmin


    I tried that and I also tried to shrink it down by 1gig increments at a time.