No space in the file system

A file system has reached 100%. I have tried adding space using chfs -a size=+100 command to that file system. However, the % used is not decreasing from 100%. Is there a way to add more space?
Also, can someone suggest a script to send a mail alert when a file system is reaching 90%.

G

"+100" would be 100 extents, no? How much space does that equate to? Maybe not much in terms of space or as a percentage depending on the extent size and the disk size (both of which lsvg and lslv can tell you) . You might want to add a size in Megabytes or Gigabytes.

To send an email notification, you can parse the output of df and use mailx to send a mail when your criteria is met.

As Scott suggested you need to specify the size

chfs -a size=+100M/G /<filesystem>

Your size=+100 without a unit size would be rounded up to a whole Physical Partition (size set by the volume group) and the space should be added. Did you get an error, or the message New Filesystem Size = xxxxxx ?

You most likely have a runaway process that has immediately grabbed the extra space, so added more & more will not solve your problem. You need to find the cause and stop it. Deleting large files that are open will have no effect on the space consumed. The space is only released when the process ends. You can try listing processes holding open deleted files on AIX with:-

fuser -duV /filesystem

I hope that this helps,

Robin
Liverpool/Blackburn
UK

Hi Gaya3,

first try to house keep the filesystem.
cd /fsname ----> your filesystem
du -max | sort -nr | head -10 ----> check top 10 high usage

If nothing to housekeep,
then Increase it.
chfs -a size=+yoursize /fsname -----> Increasing
If increasing fails then check your LV and VG.

Still facing problem?
Post your output of VG , LV details of that filesystem.
--------------------------------------------
For Mailing Purpose,
Use mailx or sendmail its up to your requirement.

Its better to use any Monitoring Tool for Production Env.

Nandri,
Thala