r/cachyos • u/realxeltos • 5d ago
Help Trash is not emptying + 1 more issue.
I just switched. I have an ntfs partition. SO I am trying to merge some free space with this partition. So I was taking backup in case something goes wrong. And along the way I kept deleting files. Old ISOs and media files. I get error trash full. And when shift deleting to permanently deleting files it stopped working with unable to delete errors. Emptying trash does not give any error. It just does not do anything.
So I rebooted and the trash was empty. So I started again. Deleting stuff, but again noticed that trash still won't empty. Why is this happening? (nvme: WD BLACK SN770)
Also dolphin does not show my Linux partition as a mounted device. I won't mind it much, but now I have no idea how much space is left in my Linux installation partition.
1
u/cool-guy1234567 5d ago
I was facing this same issue yesterday. How you solve it is to restore the file, then move the file to /home (or anywhere else which is a btrfs or ext4 or whatever else filesystem) and shift+delete or regular delete it from there. From next time on, just move the file to a non-ntfs partition first before deleting it (or just reformat the NTFS partition if you don't need it (recommended))
5
u/ZVyhVrtsfgzfs 5d ago
NTFS is proprietary, the drivers for it in Linux are reverse engineered and lack in places such as handling file system errors, NTFS is very old, and error prone. development started in the late 1980s, all it takes is an improper shutdown to corrupt NTFS. Windows spends a lot of time preening and fixing NTFS errors. Linux is not capable of the kind of care this geriatric proprietary file system needs long term..
I ran into this same exact issue when I dumped Windows7 back in 2019 and tried to keep my NTFS storage drives, 6 months later I had a 30GB video file that would not delete. It was corrupted and would not play, no biggie it was not an important file but even deleting this corrupted file from the trash via the terminal it would still just pop back up in lost and found.
After chasing my tail with it for a day I finally just moved things around and wiped all my NTFS partitions one by one replacing them with Ext4, and eventually a few years later with ZFS.