AIX

AIX

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


#Power
 View Only
Expand all | Collapse all

File size of the volume group does not decrease

  • 1.  File size of the volume group does not decrease

    Posted Thu September 03, 2015 03:11 AM

    Originally posted by: MikamiKumi


    Hi! all

    Free space does not decrease, but I have deleted 8% of file.

    "du"  :reduce space

    "lsvg":free space is 0 .

    OS:AIX ver 5

    How to reduce the vg size ?
    refer to the attached file for details.
     

    regards


    #AIX-Forum


  • 2.  Re: File size of the volume group does not decrease

    Posted Fri September 04, 2015 06:44 AM

    Originally posted by: Wouter Liefting


    Your VG contains Logical Volumes (LVs), which in turn contain filesystems (FS).

    If you delete files then you free up space in the FS. You can see that with df (*). But if you want to free up space in the VG, you need to reduce the size of the LVs and FSs. The command chfs will do that for you (chfs -a size=-2G /tmp for instance).

    (*) Note that df doesn't give absolute numbers. Rather, the numbers are based on a certain percentage of the total size, because it wants to reserve some space for root. So there may be space in the FS available even if df reports 100% usage.


    #AIX-Forum


  • 3.  Re: File size of the volume group does not decrease

    Posted Sat September 05, 2015 08:05 AM

    Originally posted by: MikamiKumi


    Thank you for ditals.
    After I reduce FS size ,Is there no problem in the online system?
    The system don't have backup media now.


     


    #AIX-Forum


  • 4.  Re: File size of the volume group does not decrease

    Posted Sat September 05, 2015 03:45 PM

    Originally posted by: Wouter Liefting


    You can just resize the LV/FS at will. There is no impact on the rest of the system, obviously until you shrink the FS to the point where things don't fit inside anymore.

    Having said that, it's a bad idea not to make any backups.


    #AIX-Forum


  • 5.  Re: File size of the volume group does not decrease

    Posted Sat September 05, 2015 09:45 PM

    Originally posted by: MikamiKumi


    Thank you for quick response.

    I was relieved to hear it.

    And I also think the backup system is important.

     

    I'm lucky,I can input at this forum.

    AIX v5 is off support.

    There is no place that I can get technical info except here.


    #AIX-Forum