LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   release the space from system (https://www.linuxquestions.org/questions/linux-server-73/release-the-space-from-system-650013/)

ust 06-17-2008 08:54 PM

release the space from system
 
one of volumn in my server is 100% usage , I have already removed some files in this volumn , but the volumn is still 100% full , now I still can't install program to this volumn , can advise how can I release the space from the system ? thx

/dev/sda9 12154965 12015428 0 100% /

billymayday 06-17-2008 09:07 PM

Well aside from deleting files, you don't havea lot of choice. Typically an amount of space is kept free for essential system tasks, and that's why a small amount of deletion can leave things at 100%. How much is reserved depends on what you selected or your partitioner selected at install time.

ust 06-17-2008 09:25 PM

Quote:

Originally Posted by billymayday (Post 3187922)
Well aside from deleting files, you don't havea lot of choice. Typically an amount of space is kept free for essential system tasks, and that's why a small amount of deletion can leave things at 100%. How much is reserved depends on what you selected or your partitioner selected at install time.


thx reply ,

I have deleted 5G of data ( not small amount of deletion ) , but the server is still not release this space , except reboot, how to release the space ? thx

syg00 06-17-2008 10:29 PM

Files that are still open will not release the space till they are closed by every connected process.
"lsof" is usually the best way to sort this out.
Reboot of course has the same effect.

trickykid 06-18-2008 10:07 AM

Quote:

Originally Posted by syg00 (Post 3187972)
Files that are still open will not release the space till they are closed by every connected process.
"lsof" is usually the best way to sort this out.
Reboot of course has the same effect.

Reboots should always be last resort in *nix world. lsof should find the processes holding onto the files you deleted which will free up the space. Usually a simple restart of the process will do, no need to reboot the whole machine.


All times are GMT -5. The time now is 05:31 PM.