LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2007, 11:56 AM   #1
Hep
LQ Newbie
 
Registered: Dec 2005
Posts: 25

Rep: Reputation: 15
Remove big files


Hi, I move a big file from one partition to another, the file was about 13Gb but after move the file the space in the original partition didn't free up. Any suggestion?.

Thanks in advance.
 
Old 03-09-2007, 12:19 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I assume you used mv and not cp......

Is it possible that the filesystem stats don't get updated until you log out/in?
 
Old 03-09-2007, 12:33 PM   #3
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
What filesystems?
 
Old 03-09-2007, 12:45 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Hep
Hi, I move a big file from one partition to another, the file was about 13Gb but after move the file the space in the original partition didn't free up. Any suggestion?.

Thanks in advance.
Was it a log-file that was still being written to?

More info always helps...
 
Old 03-09-2007, 03:48 PM   #5
Hep
LQ Newbie
 
Registered: Dec 2005
Posts: 25

Original Poster
Rep: Reputation: 15
Hi, thanks for your answers and sorry for the lack of information.

I am sure I made a mv and not a cp and I log out and log in but the filesystems stats remain the same. It was a large log of apache server, I made a symlink to the new location and restart the apache server, do I need to restart the whole server?.

I use ext3 FS on Fedora Core 4.

Thanks.
 
Old 03-09-2007, 06:08 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Did you HUP apache or actually start and stop it?
That makes a huge difference. And had you stopped
apache first, then mv'ed the file and started apache
all should have been fine; there's normally no need
to restart the box.


Cheers,
Tink
 
Old 03-14-2007, 11:13 AM   #7
Hep
LQ Newbie
 
Registered: Dec 2005
Posts: 25

Original Poster
Rep: Reputation: 15
Hi, sorry for the late reply. After returning of the weekend the stats of the file systems show the free space correctly. When I moved the log file I stopped the apache server move the file and then started the server again.

Thanks.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting big files is really slow bruno321 Fedora 3 02-12-2007 08:22 PM
Find big files markvc Linux - General 4 12-05-2006 07:14 AM
How to print big files quickly husrah Linux - Newbie 4 08-30-2006 09:37 AM
ftp problem with uploading big files joeSVK Linux - Networking 2 05-10-2005 03:52 AM
How to handle big files > 2Go ??? 242VDM242 Linux - Newbie 9 04-06-2005 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration