Disk space error.


 
Thread Tools Search this Thread
Operating Systems AIX Disk space error.
# 1  
Old 11-14-2006
Disk space error.

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.

Thank You.
Aqeel Anwar
# 2  
Old 11-14-2006
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.
# 3  
Old 11-14-2006
# 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


# lsvg rootvg -l
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 1 1 closed/syncd N/A
hd6 paging 64 64 1 open/syncd N/A
hd8 jfslog 1 1 1 open/syncd N/A
hd4 jfs 2 2 1 open/syncd /
hd2 jfs 24 24 1 open/syncd /usr
hd9var jfs 2 2 1 open/syncd /var
hd3 jfs 9 9 1 open/syncd /tmp
hd1 jfs 200 200 1 open/syncd /home
hd10opt jfs 1 1 1 open/syncd /opt
lv00 jfs 47 47 1 closed/syncd /ptf
loglv00 jfs2log 1 1 1 open/syncd N/A
fslv00 jfs2 48 48 1 open/syncd /bea
lvora jfs2 81 81 1 open/syncd /oracle
ptcl2_redo01 raw 8 8 1 closed/syncd N/A
ptcl2_redo02 raw 8 8 1 open/syncd N/A
ptcl2_redo03 raw 8 8 1 closed/syncd N/A
lvbill jfs2 32 32 1 open/syncd /bill


# df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 128.00 92.93 28% 2018 4% /
/dev/hd2 1536.00 24.34 99% 31878 9% /usr
/dev/hd9var 128.00 12.62 91% 610 2% /var
/dev/hd3 576.00 481.65 17% 279 1% /tmp
/dev/hd1 3072.00 20.90 100% 15126 2% /home
/proc - - - - - /proc
/dev/hd10opt 64.00 28.31 56% 626 4% /opt
/dev/fslv00 3072.00 1208.51 61% 19071 7% /bea
/dev/lvora 5184.00 412.23 93% 16058 15% /oracle
/dev/lvoradata 37120.00 1488.08 96% 26 1% /oradata
/dev/lvbill 2048.00 1099.20 47% 3637 2% /bill
/dev/lvjfdata 29312.00 8252.37 72% 27601 2% /jfdata


# du -sm /home
878.23 /home

Last edited by system-admin; 11-14-2006 at 08:16 AM..
# 4  
Old 11-14-2006
This does not add up!

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?
# 5  
Old 11-14-2006
# lspv|grep rootvg
hdisk0 000cec8e2ce9663e rootvg active

yes we have total 3 HDs installed in this system.

# lspv
hdisk0 000cec8e2ce9663e rootvg active
hdisk1 000cec8ec654d5ba datavg active
hdisk2 005b68ec33ac7a01 datavg active

We are using this server as database (oracle) and application server.
# 6  
Old 11-15-2006
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!
# 7  
Old 11-15-2006
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Subject: value out of range error on a disk with free 40 GB space

Hi, I installed RHEL 6.0 OS on vmware with CREATE CUSTOM LAYOUT option. And I gave the space to different mount points as mentioned below: / 15360MB /boot 200MB /tmp 3072 MB swap 1024 MB fdisk -cul command shows the disk size as 64.4 GB. But when I try to create partion of 10 GB with... (1 Reply)
Discussion started by: GAURAV SRIVASTA
1 Replies

2. UNIX for Dummies Questions & Answers

How much disk space?

Hi, I have this : uname -a Linux servername 2.6.18-194.11.3.el5PAE #1 SMP Mon Aug 23 15:57:10 EDT 2010 i686 i686 i386 GNU/Linux df -k Sys. de fich. 1K-blocs Occupied Disponible Capacity Monted on /u01/applis 10321208 3190160 6606760 33% /applis Does it mean... (1 Reply)
Discussion started by: big123456
1 Replies

3. Solaris

Disk Space

Hi, I am installing TAM-eb components in solaris V10.o, unfortunately am running out of space. when I -df i come across a lot of directories. i would like to know whether there is any way to free some disk space. (10 Replies)
Discussion started by: ichwaiznicht
10 Replies

4. Shell Programming and Scripting

Error while executing disk space script in AIX

#!/bin/ksh for AIX used=0 mount=${1:-"/mountpoint"} threshold=${2:-80} #message="hello" #SUBJECT="Disk Space Alert" #EMAIL="xyz@abcinc.com" used=`df -k $mount | grep % | awk '{print $5}' | sed 's/%//g'` #echo "Free Space available under \"$mount\" is `expr 100 - $used`%.\n">$message ... (6 Replies)
Discussion started by: rajeshw61
6 Replies

5. Red Hat

disk space

when i check /export directory of my machine gets filled up (85%) i removed some old logs. but after cleaning df -k command still shows that /export is still 85% full. Is there a way to force df to reflect actual free space without rebooting? My machine is a production one and can't... (8 Replies)
Discussion started by: aboorkuma
8 Replies

6. HP-UX

Disk Space

Hi Experts. I had 100% disk full , even though i have removed 2 GB space still dbf command shows 100%. How to rectify that. Appreciate your prompt help. Thanks (1 Reply)
Discussion started by: test10002
1 Replies

7. Filesystems, Disks and Memory

disk space

Hi experts i am new in unix and informix and would like to ask 2 questions 1) my server shows when using df -k fs 1024-block used available /usr 10079072 3668670 6381144 does this mean i have 10GB, and used up 3.7GB and available 6.3GB ??? is... (3 Replies)
Discussion started by: kingsto88
3 Replies

8. Solaris

Disk space?

I'm a Unix newbie running Solaris 9. After installing a fresh copy on a 40GB drive I noticed the available disk space is 2% free or approximately 200MB available. Is that possible? Did I do something wrong? (4 Replies)
Discussion started by: jbarbuto
4 Replies

9. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies

10. UNIX for Dummies Questions & Answers

Out of disk space?

Hi I'm trying to install gcc and the installation program tells me that I'm out of disk space! I have just installed the os (using the default settings for partitions and sizes) and have only installed apache on the machine. Can it really be out of disk space already? How do I check how much... (4 Replies)
Discussion started by: alfabetman
4 Replies
Login or Register to Ask a Question