Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd September 2006, 03:26
lexcomputer lexcomputer is offline
Member
 
Join Date: Sep 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default I just have a problem with "rm" command, it cannot return space?

I use linux Fedora Core4. Normally, rm command will delete file(s) and then give me back a space. Yesterday, I deleted file "/home/www/web3/log/error.log" which was 17GB of its size. After deleting, the available size on my server (viewed by using "du -kh" ) was still the same as before deletion. Could anyone help me to solve this, and how can I do?
Reply With Quote
Sponsored Links
  #2  
Old 23rd September 2006, 14:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,333 Times in 4,184 Posts
Default

Please check with the commad "ls -la" that the file id really deleted.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th September 2006, 14:14
lexcomputer lexcomputer is offline
Member
 
Join Date: Sep 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sorry, I have made a mistake posting question :confused:

du -kh <-- this return the correct free space (current + deleted file).

BUT

df -h <--- this return the same amount of disk space before and after deletion.

How can I really free my space using "rm" command?
Reply With Quote
  #4  
Old 24th September 2006, 19:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,333 Times in 4,184 Posts
Default

Please answer my question above. Does the command "ls -la" shows the file or not?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 25th September 2006, 18:13
lexcomputer lexcomputer is offline
Member
 
Join Date: Sep 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default command "ls -la" didn't show the deleted file.

thank you very much, for your help
Reply With Quote
  #6  
Old 26th September 2006, 17:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Then it's gone. Does
Code:
df -h
still show the wrong results?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 30th September 2006, 04:08
lexcomputer lexcomputer is offline
Member
 
Join Date: Sep 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default That's right. "df -h" shows the wrong result.

Anyway "du -kh" show the correct. But the problem is, ISPConfig also shows the result which same as "df -h". And when there is 100% usage, user cannot receive email or upload file.

Upload via FTP program is OK.
Reply With Quote
  #8  
Old 1st October 2006, 12:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by lexcomputer
du -kh <-- this return the correct free space (current + deleted file).

BUT

df -h <--- this return the same amount of disk space before and after deletion.
Can you post the outputs of both commands?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
Postfix+MySQL Problem jasutton Installation/Configuration 1 15th June 2006 16:06


All times are GMT +2. The time now is 04:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.