I had to expand the partition on the SSD where I have the Docker system and the Docker Compose stuff. I was afraid of loosing data, so I copied everything from the ext4 partition to a larger NTFS partition (I have my around 200K MP3s there, and I chose NTFS so I could copy the files to it from the server on the first, full sync). After the Gparted run everything was still OK, so I wanted to delete the backups…and ran into a brick wall. I just can’t delete files under overlay2. I have tried rm, running pcmanfm as sudo, and they just won’t budge. When I try to delete them, the error messages is “no such file or directory”. Even if I can see the files, as in this screenshot.
I have a sneaking suspicion that it’s because of the colon in the files not playing nice with NTFS, but they won’t let me rename them either. Do I have to take the SSD out of the boat and to my server, backup the data I want to keep (around 1,5TB) and format the partition to get rid of them, or is there another way to do it?
That was indeed a mistake. overlay2 is not compatible with ntfs. When you want to save Linux filesystems on Windows, you should archive the folders to a tar file first. In fact you copied the filesystem of the Linux images and containers to a Windows filesystem. So I’m not even sure how you could restore a filesystem like that, but if you want to delete it, that’s another question. If you could save it on Linux, you should be able to delete it on Linux. If the gui doesn’t let you, try from the terminal as root.
Thanks for answering! I have tried rm from the terminal as sudo, but it didn’t work. I guess the SSD will have to go from the boat to the server again. And I’ll remember this next time!
“Killed”. I backed up the data I needed from the same and the other partitions on the SSD, connected it to a Windows PC and ran checkdisk. That fixed the invalid filenames, and then I could just delete the directories. So lesson learned.