[SOLVED] Not Freeing up disk space after deleting files centos 5.6 bit 64
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44
Rep:
Not Freeing up disk space after deleting files centos 5.6 bit 64
Hi All,
We have 64 bit centos 5.6 mysql server. which disk was completely utilized to 100%. we stoped the mysql server & deleted bin logs, other unwanted logs file & data which were is GBs.
After deleting data we use sync command but still disk is showing 100% utilized. so we rebooted the server twice but still its not showing free space.
below are some links i tried but didn't solve the issue.
The ext2/3/4 filesystems reserve, by default, 5% of the total space for the root user. When df shows "100%" usage, that really means "100% (or more) of the 95% generally available", so if the disk were really 100% full, you would have to free up at least 6% of the total space in order to see that number drop below 100%.
To get the real picture, you need to run df without the "-h" or "-H" options and look at the numbers in the "1k blocks" and "Used" columns.
You should also make sure that the files you are deleting do not have more than one hard link. That link count needs to go to zero in order to release the space.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.