LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Remove big files (https://www.linuxquestions.org/questions/linux-newbie-8/remove-big-files-536039/)

Hep 03-09-2007 11:56 AM

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.

pixellany 03-09-2007 12:19 PM

I assume you used mv and not cp......

Is it possible that the filesystem stats don't get updated until you log out/in?

SciYro 03-09-2007 12:33 PM

What filesystems?

Tinkster 03-09-2007 12:45 PM

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...

Hep 03-09-2007 03:48 PM

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.

Tinkster 03-09-2007 06:08 PM

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

Hep 03-14-2007 11:13 AM

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.


All times are GMT -5. The time now is 02:37 AM.