#subvolume

Sami Lehtinensl@pleroma.envs.net
2024-12-25
@angrylinus No, because it could also mean that all of the mounts need to have #subvolume reference. It might work. I had the #5 without subvolume identifier and others with name. But again, that's something which is best to check from code how it works, and make it generally sane. Currently it's problematic, but can be worked around. It's just annoying to spent time testing and figuring it out how it (might) work. #btrfs #trash #gvfs
Sami Lehtinensl@pleroma.envs.net
2024-12-22
@angrylinus @home @log But thank you. Because I swapped the drive a week ago, I didn't remember the exact original config. Now I've done so that all data is on the root volume / sub-directories as usual and the swap file is in subvolume, without additional subvol mount point. It works great. That's the configuration I had on previous SSD which did get tired and gave up it's data retention.

But when I recreated the system, I did create a #subvolume for data to be snapshotted and put #swap on a mount point root sub-directory. It does work just as well in other terms, except it breaks the #trash. #btrfs #linux
Sami Lehtinensl@pleroma.envs.net
2024-12-22

@angrylinus @home @log Oh, what do I mean. I mean exactly this. AFAIK .Trash is broken with every subvolume, even if the .Trash-UID would exist. But if there’s something I should do, please let me know. It works on every mountpoint which is NOT using subvol mount parameter. I did try basically everything I could find, and didn’t get it to work. If it does using some clever trick, at least it isn’t widely known.

$ echo "I mean this" > sample.txt
$ gio trash ./sample.txt 
gio: file:///mnt/data/@subvol/sample.txt: Trashing on system internal mounts is not supported
$ gio version
2.80.0

#btrfs #subvolume #trash

YoSiJo :anxde: :debian: :tor:YoSiJo@social.anoxinon.de
2022-07-08

Beschäftigung für den Admin im Zug? Ganz klar #archlinux auf dem Laptop neu aufsetzt. Mit gut 8 Jahren auf dem Laptop, hat sich das Arch tapfer geschlagen, aber ich will mal die ganzen altlasten loswerden.
Hätte durch #btrfs und #Snapper auch in einen #subvolume loslegen können, aber so hab ich jetzt auch #argon2id

DeaDSouL :fedora:DeaDSouL@fosstodon.org
2022-02-23

I used to #clonezilla the entire disk, just before doing any major upgrades.
But I guess I don’t need to anymore, thanks to #BtrFS and #Snapper.

#subvolume #snapshot #backup #rollback #fsf #restore #opensource #linux #filesystem #cow

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst