The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
disk space milkyway Filesystems, Disks and Memory 6 05-29-2009 02:01 AM
disk space kingsto88 Filesystems, Disks and Memory 3 12-06-2006 05:28 AM
available disk space on disk device??? alan UNIX for Dummies Questions & Answers 4 01-02-2004 03:06 AM
Disk Space - Docboyeee Filesystems, Disks and Memory 2 08-22-2002 11:46 AM
Out of disk space? alfabetman UNIX for Dummies Questions & Answers 4 10-03-2001 03:57 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-18-2009
aboorkuma aboorkuma is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 25
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 afford down time. My OS is Red Hat 6.2
Thanks!

Last edited by aboorkuma; 09-18-2009 at 04:15 PM..
  #2 (permalink)  
Old 09-18-2009
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 364
using lsof to find out what is keeping the file open could help. It will report the correct amount free when the last file handle is closed, I believe.
  #3 (permalink)  
Old 09-18-2009
aboorkuma aboorkuma is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 25
Thanks
how i can use this lsof command

rds
  #4 (permalink)  
Old 09-18-2009
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 364
lsof - examples and tips

Introduction to lsof
  #5 (permalink)  
Old 09-18-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,933
Quote:
Originally Posted by aboorkuma View Post
when i check
/export directory of my machine gets filled up (85%) i removed some old logs.
It's better to truncate log files than delete them. Deleting them won't actually free them until any handles to them are closed, but truncating them will free the space. You can do this like echo > /path/to/logfile
  #6 (permalink)  
Old 09-19-2009
aboorkuma aboorkuma is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 25
Thanks , I will check

rds

---------- Post updated at 04:28 PM ---------- Previous update was at 01:35 PM ----------

Hi
I run this command --- /usr/sbin/lsof|grep deleted
it show some file list , but it is some small trace file
and i use the follwoing command to remove that
and i get this error -- file /proc/23271/fd/2

this is the output

/proc/23271/fd/2: broken symbolic link to `/opt/bdump/upsd1_j001_23271.trc (deleted)'


still i am not able to claim the space

rds
  #7 (permalink)  
Old 10-09-2009
aboorkuma aboorkuma is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 25
I need some expert advise , how i can get my space back
still i am struggling for that

regrads
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0