1

There is the:

 btrfs subvolume delete <subvolume>

command for deleting snapshots, but is there any solution if you need to delete a single directory from 60 snapshots?

Not possible with rm -rf it will say Read-only file system.

Thanks

1

Maybe your snapshot is read only. Try to enable read/write using the following command:

btrfs property set -ts /path/to/snapshot ro false

Also, double check than when mounting the snapshot it is not mounted in read-only mode (ro mount option)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.