Re: Can't Delete Large Files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> happen to cause some database corruption. I then started getting hundreds
> of zero size files being dumped into the events directory.
>
> I've cleaned up everything except now I can't delete the large directories.
> I have 6 directories totaling 180 GB of space. I've tried rm -rf to the
> directories and the system literally hangs for days and the directories
> still aren't deleted.

180GB of small files will take weeks to create, and weeks to delete. No
suprise there. Disks may have scaled by 3 orders of magnitude in size but
they've not gotten much faster.

rm -rf will delete the files before the directories from the leaf nodes
back so you may just need to leave it running for as long as it took to
create the mess in the first place.

One thing that may be useful is for those six directories to

mv dir dir.old
mkdir dir
rm -rf dir.old

as you can then recreate them before removing the old ones
I had a similar incidence with database directories.... after an fsck... was able to delete, etc..

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux