How to reduce fil system size seen in bdf!


 
Thread Tools Search this Thread
Operating Systems HP-UX How to reduce fil system size seen in bdf!
# 1  
Old 05-02-2008
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?
# 2  
Old 05-02-2008
Paste the output you get from df and du alongwith the commands you are executing.
# 3  
Old 05-02-2008
Are you trying to make your filesystem smaller? Or are you trying to see how much space (freee and used) the filesystem has?
# 4  
Old 05-08-2008
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 #
# 5  
Old 05-08-2008
What is the output of this:

Code:
du -ks /home

# 6  
Old 05-08-2008
egt81,sys,root # du -ks /home
144769 /home
egt81,sys,root #
# 7  
Old 05-08-2008
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?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

How to reduce the LVM Size in RHEL/Centos 7 ?

Hi All, I have one logical volume with size as 900G and it is mounted as xfs file system. Now I want to reduce this partition to 500G. So I followed the below steps. unmount the mount point /home Reduced the volume using the command Now I remounted the partition. But the problem... (3 Replies)
Discussion started by: kalpeer
3 Replies

2. Red Hat

How to reduce inode size of /var?

Hi, inode size reached its 100% in /var Due to this i'am getting the error No space left on device my crond process is stopped and when i want to restart it it is showing the below error Starting crond: crond: can't open or create /var/run/crond.pid: No space left on device df -i o/p ... (3 Replies)
Discussion started by: Mohamed Thamim
3 Replies

3. AIX

AIX flag to reduce size of shared file

I am using xlC (Version: 11.01.0000.0011). While build i am using "-g" to have debug information in build. there are many object files (>500) due to which resultant shared file (.so) will have huge size. I can't reduce optimization level. Is there any way or flag is present by using which i... (2 Replies)
Discussion started by: Abhi04
2 Replies

4. UNIX for Dummies Questions & Answers

Unable to reduce the size of volume group?

My volume group of size 200 gb. out of which only 100 gb is used by 2 logical volumes /dev/vg00/lvol0 and /dev/vg00/lvol0 respectively (both are 50 gb each). Whenever i use vgreduce command to reduce the size of volume group i get below error. # vgreduce vg00 -a Physical volume... (16 Replies)
Discussion started by: pinga123
16 Replies

5. Shell Programming and Scripting

reduce pdf file size through multiple folders

Dear all, i have a lot of .pdf files that i need to reduce size with pdf2ps and ps2pdf app. I need a script which i can reduce file size of all .pdf files in every subfolder of WORKDIR folder. folder tree like: WORKDIR SUBBWORK DIR1 SUB_SUB_WORKDIR1 ... (1 Reply)
Discussion started by: migor78
1 Replies

6. Solaris

reduce hard drive size

I'm trying to reduce hard drive size (number of cylinders) in SPARC Solaris. Its easy to change last cylinder of last slice, but that cannot be done for slice2/backupslice because it insists on whole disk. If I try to change disk type/geometry, all slices get replaced with some 'default'... (1 Reply)
Discussion started by: orange47
1 Replies

7. SuSE

Reduce Size of serveur in LINUX-Suse

Hello, I do not know Linux. It is a black box. We have 2 virtuals servers (SAPVM01 and SAPVM06) in one physical server. The first virtual system (SAPVM01) has a total size of 420 Gb and a free space of 170 GB. A SAP system is running. The second virtual system (SAPVM06) has a total... (3 Replies)
Discussion started by: daniel04
3 Replies

8. Shell Programming and Scripting

command to reduce size of file/directory???

Hello, I want to compress any given file or directory. I used 1)gzip 2)zip But when I do "ls -l". I found that the zipped file is in fact greater in size than the original file. Can you please tell me the commands which will show me the difference in its size. (2 Replies)
Discussion started by: nsharath
2 Replies

9. Shell Programming and Scripting

How to reduce font size in a file

HPUX 11iv2 #!/bin/sh Hi all. I have a script that results in the creation of an ascii file which is ultimately emailed out to several people. The email wraps each line so I would like to reduce the font size of the ascii file. I looked at nroff and also tr but it wasn't clear to me how to do... (2 Replies)
Discussion started by: lyoncc
2 Replies

10. Solaris

How to reduce the size of a logical volume in solaris 9

Hi, I have the following problem. I just have a new machine with mirroring. The logical volume for /opt is dimensionned to 75 GB which is to much. I want a volume of 10 GB. How can I reduce the size ? I tried to reduce the size of the slice from 75 GB to 10 GB, but the size of the logical volume... (6 Replies)
Discussion started by: aribault
6 Replies
Login or Register to Ask a Question