Page 1 of 1

[Help] Unable to delete files even from shell

Posted: 20 Aug 2025, 21:09
by bartmans99
Hi,

For future reference. I had a problem removing files from my volume. Even as root from the SSH it failed. Error message said the file was read-only. I checked the different posts in this forum on repairing BTRFS volumes. Nothing worked.

Finally found https://forums.urbackup.org/t/how-to-de ... on/6660/11

Executing

Code: Select all

btrfs subvolume list /Volume1 
revealed that the non-deletable directories where btrfs subvolumes. Removing them 1 by 1 with

Code: Select all

btrfs subvolume delete -c /Volume1/path/to/directories
finally deleted the files.

I came close to nuking my install to get rid of these files (as they were almost 1TB). So hopefully this helps someone else someday.