Dear All,
I am working on AIX 5.2, and I have allocated 3072M disk space to /home filesystem. Now system has no free space at /home filesystem. But when I checked data on /home, I have only 900M data. Please if anybody can tell me about this difference and how this can be resolved.
Please run a df command and paste the result here. Also take a listing of rootvg (where I trust /home resides) use the command lsvg -l rootvg. Also lsvg rootvg. Paste all out put on your reply.
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 000cec8e00004c00000001042ce983d7
VG STATE: active PP SIZE: 64 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 542 (34688 megabytes)
MAX LVs: 256 FREE PPs: 5 (320 megabytes)
LVs: 17 USED PPs: 537 (34368 megabytes)
OPEN LVs: 13 QUORUM: 2
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
Your rootvg shows that the PP size is 64M and /home mounted on rootvg has 200 PPs. Therefore 200 * 64 = 12800 means you should have a filesystem which has 12.8GByte. Yet your df -m shows you have a /home filesystem which has only 3GByte. Something very peculiar here. The only thing I can see which is questionable is the Quorum being set to 2 when this is a single disk VG (I trust). Please run the command lspv | grep rootvg and paste the result here. What is this machine used for Oracle or something similar? I noticed the raw devices. Are there any other disks?
This still makes no sense. I have 2 questions and 1 request. The question when was the machine re-booted last? Are there any errors in the errpt? The request; is it possible to have an ls -l listing of /home? You are 9G adrift somewhere!
Are you using any type of fs manager that pools your data and then splits it into your mount points?
ie.. on our old digital platform we used advfs which pooled say 90gb but we could allocate 30gb across 3 mount points.
We found a reporting bug.. in that if one of the file systems reached 100%, even after cleaning up data, the df command did not report the free space.
Its possible that the native OS could have a similar reporting bug.
I don't use AIX so take this with a grain of salt... If I understand, hd1 is a logical volume that contains /home but it appears that /home is too small. With other OS's, taking HP-UX as an example, there is an lvextend command to grow a logical volume and there is an extendfs command to grow the filesystem. And it is possible to run the former and forget the latter, thus creating this very situation. Maybe that happened here?