Solaris not freeign up diskspace


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris not freeign up diskspace
# 1  
Old 12-04-2008
Solaris not freeign up diskspace

Hi, one of our drive was 100 utilized so I delete some files to free up some diskspace. However, when i check the diskspace, its still saying this drive is 100 % utilized. any suggestions?

btw, i'm using df -h to check the diskspace
# 2  
Old 12-04-2008
There might be some process which are still in execution, identify the process and try to restart it so get the correct status!
# 3  
Old 12-04-2008
to kill any process on a filesystem
#fuser -ck /opt

du shows you the disk usage in each subdirectory. To get a list of subdirectories in a filesystem, cd to the pathname associated with that filesystem, and run the following pipeline:

$ du | sort -r -n

Sometimes applications keep file descriptors open, this results in the space
remaining allocated even when the file is deleted. When the application
closes the descriptor, the space is freed.
This is most evident when applications are logging to a file, I have several
applications that do this. When moving/removing the log I have to restart
the application for the space to be freed.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Allocate diskspace AT&T SV R4

# Hello -all, I have a problem with the SV R4 install. During the floppy2 procedure I get the message that I allocated less than 35 Mb for UNIX. It's a clean install, no other OS. Just a clean PC with a 40Gb disk. I get the # prompt telling me to restart the installation to allocate more Mb's..... (2 Replies)
Discussion started by: raylier
2 Replies

2. Shell Programming and Scripting

DiskSpace Error

Hi, While am preparing the script for diskspace for different partitions different threshhold limit. am getting below error: ./test.sh: syntax error at line 5: `space=$' unexpected Script ==== #!/bin/sh df -h |grep -v '/oradata2'|grep -v '/orabkp' |grep -v '/oradata5' | awk '{ print $5... (7 Replies)
Discussion started by: Pavan83
7 Replies

3. Shell Programming and Scripting

[ask]elimination with diskspace

dear all, i want elimination file with disk space for example: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 62G 19G 41G 31% / /dev/sda1 99M 13M 82M 13% /boot tmpfs 1014M 0... (2 Replies)
Discussion started by: zvtral
2 Replies

4. Solaris

graphical diskspace analyzer

Hi all, recently I took over the admin task for a solaris 5.10 machine. Being a little bit familiar with debian systems Solaris is up to now a complete mystery to me. The first thing I would like to have is a graphical diskspace analyzer. I mean something like BaoBab under gnome. I there a... (2 Replies)
Discussion started by: sly_dunbar
2 Replies

5. Linux

how to get the correct reading of diskspace

What has happened. I beleive the diskpace is not showing the correct reading. Is there another command to use to get the diskspace without using du -h? Is there another command linux uses. The reason i am assuing this i cleared the log of a process that started using nohup for... (5 Replies)
Discussion started by: jonathan184
5 Replies

6. Shell Programming and Scripting

ASM Diskspace

Hi I want to check Oracle ASM disk status through a PERL script. Script flow would be like this ... 1. Its taking diskgroup name in the command line... 2. Connect to Oracle database 3. If connection error send a critical message. Plz replyyyyyyy...... (1 Reply)
Discussion started by: Harikrishna
1 Replies

7. Shell Programming and Scripting

to compute diskspace

Guys, have any idea for the script like this? also to compute w/ decimal. thanks a=10 b=20 c=30 d=40 if a < b then ( a -b)*1024 = free space b + (c -d) = total space if a > b then (b / d)*1024 = cpu (3 Replies)
Discussion started by: kenshinhimura
3 Replies

8. Shell Programming and Scripting

Limitation of DiskSpace Script

Hi, I'm a teacher in Germany and I want to set up a classroom with Linux 8.1 PCs. Every User should have a Max of 100 MB available space. Now I need a script which tells everyone how much diskspace is used in a certain subdirectory. It should work like that: User enters a command like... (1 Reply)
Discussion started by: Dansen
1 Replies

9. UNIX for Dummies Questions & Answers

Diskspace

Hi there, pls help me, i have a problem, how i can find out the disk amount of each harddisk per command (not the on label on the Harddisk) i need it on HP UX and Sun. can anybody helb me???? pls thanks Scotty (1 Reply)
Discussion started by: scotty
1 Replies

10. UNIX for Dummies Questions & Answers

diskspace usage info

Anybody can help me? I need to know a specified folder diskspace usage, that's how much bytes that folder and its files/folders below spend on my storage. Thanks (2 Replies)
Discussion started by: nusajunus
2 Replies
Login or Register to Ask a Question