Linux - NewbieThis 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
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.
I'm running centos 4.9 and my drive is full of deleted files taking up space, and it also makes raid mirroring take forever. Is there a command that will completely erase all previously deleted files?
these deleted files are kind of taking space, because they're not truly deleted, they're just realocated to hide them from the file system. I have the ability to restore them which means they are still there and they're causing my raid mirroring to take around 14 hours. The machine I'm on has no gui, it's all command line so there is no trash bin. I need to "wipe completely" all files that have been previously deleted and I have to do it at the command line.
Are they in a hidden directory? How exactly do you know they are taking space? To have a "global command" that will wipe them all you need to know where they are.
What's the output of 'df -h'?
You need to provide more details to be able to diagnose anything.
its the deleted files! There's about 60Gb of deleted files on md6. raid mirroring doesn't just copy valid files it also copies deleted files, so that they could potentially be restored in the future. I don't want to restore them I want to wipe them away completely so the drive space is EMPTY.
I don't know much about RAID but either it's "reserved" some space or something is indeed not right here.
it probably is reserved space, I discussed this subject a few days ago with someone else. You're using a journaling file system like ext3 or ext4? And not surprisingly, it's about the same percentage again, roughly 5..6% of the partition.
reserved space? that doesn't sound right and doesn't align with previous raid mirroring I've done. It's the deleted files it's the deleted files it's the deleted files. Is there a command that will show them and let me completely erase them?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.