Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am working on a unix server and I guess during some time in past the file system had been full. However, I need some solid data to prove it. Will there be any OS logs or something of that sort to confirm my assumption?

It's an AIX system.

share|improve this question
2  
Which flavour of UNIX? Depending on the flavour, you may or may not have some evidence of the issue in /var/log, /var/adm/, errpt, syslog, or some other locations. –  EightBitTony Oct 19 '12 at 16:51
    
If the filesystem is where the logs are stored is full, where would it log the condition? –  Zoredache Oct 19 '12 at 19:04
    
An easy way to test would be to create a VM with the minimum amount of space to install and just create a file via dd if=/dev/zero of=output.dat bs=1024 count=FILE_SIZE_IN_BYTES to fill up the rest of the space. –  jmathew Oct 19 '12 at 19:12

3 Answers 3

up vote 2 down vote accepted

On AIX, you will get entries in the standard error log if a filesystem operation fails due to a filesystem being full. You can view that error log with the errpt command.

You will see something like this,

IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
xxxxxxxx   xxxxxxxxx I O SYSJ2         UNABLE TO ALLOCATE SPACE IN FILE SYSTEM
share|improve this answer

I suspect without proof that there is a log entry sent to the console when a disk-full condition occurs. If so, alog -o -t console should show it to you. It should be easy to experiment: fill up a disk (on a non-production system!) and see what appears in alog.

share|improve this answer

I'll agree with EightBitTony with his answer. For a detailed description about which exact filesystem was full, you could go ahead with the following commands:

errpt | grep -i "unable to allocate to allocate space in filesystem"
errpt -aj identifier-code
df -gt mount-point

You could also pinpoint the exact date and time for it in the first command itself where you will know it from the timestamp given.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.