No space in the file system


 
Thread Tools Search this Thread
Operating Systems AIX No space in the file system
# 1  
Old 12-25-2013
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

Last edited by Scott; 12-27-2013 at 11:56 AM.. Reason: Moved thread to AIX sub-forum
# 2  
Old 12-25-2013
"+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.
# 3  
Old 12-27-2013
As Scott suggested you need to specify the size

chfs -a size=+100M/G /<filesystem>
# 4  
Old 12-27-2013
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:-
Code:
fuser -duV /filesystem



I hope that this helps,


Robin
Liverpool/Blackburn
UK
# 5  
Old 12-28-2013
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


Moderator's Comments:
Mod Comment Use code tags, thanks.

Last edited by zaxxon; 12-29-2013 at 09:30 AM.. Reason: code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris file system space

Hi Experts, I have query regarding output of df command. $ df -k Filesystem 1024-blocks Used Available Capacity Mounted on rpool/ROOT/solaris-161 191987712 6004395 140577816 5% / /devices 0 0 0 0% /devices... (3 Replies)
Discussion started by: sai_2507
3 Replies

2. HP-UX

Increasing space in file system

Hi Friends, I want to cut space from one file system and add in another file system. For example I have 100 gb space in /oracle/TST/oraarch I wnat to cut 50 gb from this file system and add 50 in /oracle/TST/sapdata1. Please hel, How I can do it. Regards, Bhagawati Pandey (3 Replies)
Discussion started by: BPANDEY
3 Replies

3. Solaris

Solaris file system unable to use available space

Hi, The solaris filesystem /u01 shows available space as 100GB, and used space as 6 GB. The Problem is when iam trying to install some software or copy some files in this file system /u01 Iam unable to copy or install in this file system due to lack of space. ofcourse the software... (31 Replies)
Discussion started by: iris1
31 Replies

4. Linux

Allocating available space to file system

have a VMWARE machine, I have extended it from 20GB to 30GB for Linux box. The linux box shows this for df -hal: Filesystem Size Used Avail Use% Mounted on -dev-mapper-VolGroup00-LogVol00 19G 5.9G 12G 34% - proc 0 0 0 - -proc sysfs 0 0 0 - -sys devpts 0 0 0 - -dev-pts -dev-sda1 99M 13M... (1 Reply)
Discussion started by: mackman
1 Replies

5. Shell Programming and Scripting

Get free space of file system

Hi guys, I'm trying to get free space in GB of file system into parameter. I have the following code: > cat get_free_space_FS.ksh #! /bin/ksh FS=/dw/mar FreeSpace=`df -h | grep $FS | awk '{print $4}'` echo $FreeSpace > ./get_free_space_FS.ksh 362G My question is ,how can I cut in... (4 Replies)
Discussion started by: nir_s
4 Replies

6. UNIX for Dummies Questions & Answers

How to find a file whick is consuming larger disk space in file system

Hello, Can anybody please tell me the command to find out the filesystem or a file which is consuming larger disk space sing i want to find out the file and want to compress it please help me out any help would be appreciated (6 Replies)
Discussion started by: lokeshpashine
6 Replies

7. UNIX for Dummies Questions & Answers

free some space in file system

dear all, I have some problem in my file system : df -k result : ... /dev/md/dsk/d3 3101839 2736380 303423 91% /var ... it occupied around 2.7 gb but when I tried command du -sk /var 813991 /var so /var only have around 800Mb , Do you know why there is many difference... (6 Replies)
Discussion started by: fu4d
6 Replies

8. Solaris

swap space in veritas file system

hi every one , i know how to add swap space in ufs file system. but i m facing problem in veritas file system . i wants to know how will i create swap or add new swap space in existing swap space . Note: disk under veritas volume manager control . please help me to solve this issue . (5 Replies)
Discussion started by: samy123
5 Replies

9. Solaris

Lost space on file system

Hi everybody, I got a problem on my SUN server in Solaris 9. I'll try to explain, if somebody could help me. I have mounted some volumes in RAID 0+1, that is stripped slices and then mirror. To be clear the result of metastat d80 is as follow : d80: Mirror Submirror 0: d81 State:... (2 Replies)
Discussion started by: aribault
2 Replies

10. HP-UX

Root File system Space

Hi I'm using HP-UX 11.00, the root file system is as shown below. Several time it reach 100% used, to free some space I use to reboot the system. What can I do to free some space without rebooting the machine? Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 ... (2 Replies)
Discussion started by: cgege
2 Replies
Login or Register to Ask a Question