Op woensdag 28 augustus 2019 16:30:21 CEST schreef Matthias Brugger:
Hi,
I'm trying to delete snapshots in /.snapshots from my HDD using the rescue disk. mount shows me the partition mounted as rw but if I try to delete a file by hand it says:
rm: cannot remove '<path-to-file>': Read-only file system
I also tried snapper --no-dbus -r /mnt rm 44
I tried mounting the partition in the following ways: mount /dev/sda6 /mnt mount -o subvol=.snapshots /dev/sda6 /mnt mount -o recovery,nospace_cache,clear_cache /dev/sda6 /mnt
But nothing helps. How can I get rid of the snapshots or any other files?
Regards, Matthias You need to do that from the running system, using snapper. sudo snapper list sudo remove ####-#### where #### reprents snapshot index numbers.
And re mounting: Rather create a chroot into the install mount /dev/sda6 /mnt mount --bind /dev /mnt/dev mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys chroot /mnt mount -a snapper list snapper remove #### (-####) -- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org