How to reduce fil system size seen in bdf!

When i execute bdf, /home direcory seems 100% full. But when i check /home with 'du', total used memory is 30 MB in 1,4 Gb. how can I reduce this 100% to its real state?

Paste the output you get from df and du alongwith the commands you are executing.

Are you trying to make your filesystem smaller? Or are you trying to see how much space (freee and used) the filesystem has?

egt81,sys,root # bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 262144 82544 168385 33% /
/dev/vg00/lvol1 127573 38819 82375 32% /stand
/dev/vg00/lvol8 786432 553072 219350 72% /var
/dev/vg00/lvol9 524288 1229 490375 0% /var/adm/crash
/dev/vg00/lvol7 1703936 1517468 174829 90% /usr
/dev/vg00/lvol20 196608 148615 45029 77% /usr/local/mysql-5.1.7-beta-hpux11.11-hppa2.0w-64bit
/dev/vg00/lvol19 262144 27960 219585 11% /usr/Systems/Global_Instance_7.1.6_Master
/dev/vg00/lvol17 3014656 1340934 1569530 46% /usr/Systems/1354RM_1_7.4.7_Master
/dev/vg00/lvol18 1245184 51814 1118846 4% /usr/Systems/1354RM_1_7.4.7_Master/maintenance
/dev/vg00/lvol15 2424832 781081 1541074 34% /usr/Systems/1353NM_1_7.4.4_Master
/dev/vg00/lvol16 1245184 171106 1006996 15% /usr/Systems/1353NM_1_7.4.4_Master/maintenance
/dev/vg00/lvol6 262144 5041 241050 2% /tmp
/dev/vg00/lvol5 2555904 2215281 319398 87% /opt
/dev/vg00/lvol14 393216 323176 65690 83% /opt/tao1.4l_p6
/dev/vg00/lvol13 3670016 3006134 622463 83% /opt/oracle10g
/dev/vg00/lvol12 196608 69591 119140 37% /opt/JacORB2.1.3.2
/dev/vg00/lvol4 1376256 1280889 10035 100% /home
/dev/vg00/lvol10 393216 216757 165454 57% /alcatel
/dev/vg00/lvol23 2097152 716990 1293929 36% /alcatel/OMSG
/dev/vg00/lvol22 16056320 7049260 8725624 45% /alcatel/DEPOT
/dev/vg00/lvol11 13631488 13014262 598032 96% /alcatel/8.1PL1
egt81,sys,root #

As you see from bdf, /home is 100%.

But in real state it has only 149 MB memory in /home directory:
egt81,sys,root # cd /home
egt81,sys,root # du -xsk * | sort -nr
111875 alcatel
13599 axadmin
12930 snml
1542 install
940 can
873 egt5
502 egt4
456 egt1
439 egt3
435 mustafa
429 egt2
386 egitim2
166 egitim4
162 egitim5
10 oracle
10 koray
10 eerbab
4 poseidon
0 swdl1692
0 lost+found
egt81,sys,root #

What is the output of this:

du -ks /home

egt81,sys,root # du -ks /home
144769 /home
egt81,sys,root #

That is very puzzling. I thought this could be due to some hidden files which may evade the '*' but du on /home should take care of that. Since you are running as root, all files will be taken into account. Your /home occupancy from bdf is 1.28 gig whereas du is showing 144+ MB.

Honestly nothing else comes to mind. Btw, I have not encountered bdf before on solaris - is it some sort of bsd variant?

yep, bdf is HP-UX-specific command.

It could be a problem with open files. Try running lsof (may need to install it) to search for open files in /home.
However, changing run levels or a reboot should fix this.

fuser is the HPUX command you want.

The space open files that request a lot of disk space may not show up until the syncer daemon runs every 30 seconds or so. If the problem persists for a couple of hours you have some else going on with the /home filesystem. Try a reboot, or if all else fails fsck_vxfs.

yes, i've ever had this kind of problem before:confused:, and reboot was the final way that i took :D, perhaps anyone can help what should we do in this kind of situation beside reboot

thanks

I have faced a similar problem in a Solaris box..Unmounting the filesystem and mounting it again solved the problem for me...