LinuxQuestions.org
Register a domain and help support LQ
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, 12:56 PM   #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, 01:19 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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, 01: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, 01:45 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 04: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, 07:08 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 12:13 PM   #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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:22 PM
Find big files markvc Linux - General 4 12-05-2006 08:14 AM
How to print big files quickly husrah Linux - Newbie 4 08-30-2006 10:37 AM
ftp problem with uploading big files joeSVK Linux - Networking 2 05-10-2005 04:52 AM
How to handle big files > 2Go ??? 242VDM242 Linux - Newbie 9 04-06-2005 12:28 PM


All times are GMT -5. The time now is 11:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration