Query Metrics
1
Database Queries
1
Different statements
28.25 ms
Query time
0
Invalid entities
0
Cache hits
0
Cache misses
0
Cache puts
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
28.25 ms (100.00%) |
1 |
INSERT INTO messenger_messages (body, headers, queue_name, created_at, available_at) VALUES(?, ?, ?, ?, ?)
Parameters:
[ "{"payload":"{\"@context\":[\"https:\/\/join-lemmy.org\/context.json\",\"https:\/\/www.w3.org\/ns\/activitystreams\"],\"actor\":\"https:\/\/lemmy.ml\/c\/linux\",\"to\":[\"https:\/\/www.w3.org\/ns\/activitystreams#Public\"],\"object\":{\"id\":\"https:\/\/sh.itjust.works\/post\/49570141\",\"actor\":\"https:\/\/sh.itjust.works\/u\/muusemuuse\",\"type\":\"Page\",\"attributedTo\":\"https:\/\/sh.itjust.works\/u\/muusemuuse\",\"to\":[\"https:\/\/lemmy.ml\/c\/linux\",\"https:\/\/www.w3.org\/ns\/activitystreams#Public\"],\"name\":\"help me wrap my head around bcachefs\",\"cc\":[],\"content\":\"<p>I\u2019m redoing my home server. I\u2019m moving from arch to fedora server to force myself to learn that stuff.<\/p>\\n<p>I also want to use the bcachefs subvolume and compression features. I am presented with a couple issues I need smarter people to explain to me though.<\/p>\\n<p>subvolumes: My understanding is subvolumes in bcachefs dont get mounted separately like you would expect. they are just folders that you can isolate a snapshot to. so I dont need to mount a subvolume, just mount the filesystem it exists in already and it comes along for the ride. but what happens if I want to rollback? Lets same I want to rollback to a previous snapshot on the \/ but not mess with anything in the subvolume \/home\/thatuser. wouldn\u2019t rolling back to the previous root also rollback the subvolumes contained within? perhaps I should create a separate partition just for root afterall.<\/p>\\n<p>mount: I can mount with<\/p>\\n<p><code>mount -t bcachefs \/dev\/device1:\/dev\/device2:\/dev\/device3<\/code><\/p>\\n<p>and everything works. However, if I mount with<\/p>\\n<p><code>mount -t bcachefs UUID=(externalUUIDfromshow-super)<\/code><\/p>\\n<p>not all devices in the pool will attach. some stay detached. so how am I supposed to mount them all at boot? I can\u2019t just refer to them by device path because if I add more drives later, those paths may change.<\/p>\\n<p>compression: the documentation is kind of out-of-sync on different sites but what I was able to piece together is you can set different rules for compression recursively for different directories\/subvolumes like this\u2026<\/p>\\n<p><code>sudo bcachefs set-file-option \/mnt\/tempy\/ --compression=zstd:3 --background_compression=zstd:12<\/code><\/p>\\n<p>then read back what was already set with\u2026<\/p>\\n<p><code>getfattr -d -m \u2018bcachefs_effective\\\\.\u2019 \/mnt\/tempy<\/code><\/p>\\n<p>so while the above makes sense for a root or user home folder, for VM disk images, I might want to set\u2026<\/p>\\n<pre style=\\\"background-color:#ffffff;\\\">\\n<span style=\\\"color:#323232;\\\">sudo bcachefs set-file-option \/mnt\/tempy\/vmstorage\/ --compression=none --background_compression=none --nocow\\n<\/span><\/pre>\\n<p>or even do something similar without the nocow for media folders within the compressed home user folder\u2026<\/p>\\n<pre style=\\\"background-color:#ffffff;\\\">\\n<span style=\\\"color:#323232;\\\">sudo bcachefs set-file-option \/mnt\/tempy\/home\/thatuser --compression=zstd:3 --background_compression=zstd:12\\n<\/span><span style=\\\"color:#323232;\\\">sudo bcachefs set-file-option \/mnt\/tempy\/home\/thatuser\/media --compression=none --background_compression=none\\n<\/span><\/pre>\\n<p>mount at boot: okay, I know I need the DKMS and userspace tools installed as separate packages since Kent was naughty and got his project booted out of the kernel. but I\u2019m not entirely certain how to convey to fedora I it needs to bundle those pieces with the initiramfs. I know arch uses something different from fedora to do that, with fedora using dracut. I need to learn how to use dracut.<\/p>\\n<p>install: this I have no idea what to do. Fedora\u2019s anaconda expects something very different and will not eat what I\u2019m trying to feed it. so I need to find a way to bootstrap a fedora server install on to this system. Supposedly theres a way to do that with DNF.<\/p>\\n<p>Anyway, could someone explain the subvolume puzzle to me and maybe give pointers on bootstrapping fedora server and teaching it to mount all the devices in the pool at boot?<\/p>\\n\",\"mediaType\":\"text\/html\",\"source\":{\"content\":\"I'm redoing my home server. I'm moving from arch to fedora server to force myself to learn that stuff.\\n\\nI also want to use the bcachefs subvolume and compression features. I am presented with a couple issues I need smarter people to explain to me though.\\n\\nsubvolumes: My understanding is subvolumes in bcachefs dont get mounted separately like you would expect. they are just folders that you can isolate a snapshot to. so I dont need to mount a subvolume, just mount the filesystem it exists in already and it comes along for the ride. but what happens if I want to rollback? Lets same I want to rollback to a previous snapshot on the \/ but not mess with anything in the subvolume \/home\/thatuser. wouldn't rolling back to the previous root also rollback the subvolumes contained within? perhaps I should create a separate partition just for root afterall.\\n\\nmount: I can mount with\\n\\n`mount -t bcachefs \/dev\/device1:\/dev\/device2:\/dev\/device3`\\n\\nand everything works. However, if I mount with\\n\\n`mount -t bcachefs UUID=(externalUUIDfromshow-super)`\\n\\nnot all devices in the pool will attach. some stay detached. so how am I supposed to mount them all at boot? I can't just refer to them by device path because if I add more drives later, those paths may change.\\n\\ncompression: the documentation is kind of out-of-sync on different sites but what I was able to piece together is you can set different rules for compression recursively for different directories\/subvolumes like this...\\n\\n`sudo bcachefs set-file-option \/mnt\/tempy\/ --compression=zstd:3 --background_compression=zstd:12`\\n\\nthen read back what was already set with....\\n\\n`getfattr -d -m 'bcachefs_effective\\\\.' \/mnt\/tempy`\\n\\nso while the above makes sense for a root or user home folder, for VM disk images, I might want to set...\\n\\n```\\nsudo bcachefs set-file-option \/mnt\/tempy\/vmstorage\/ --compression=none --background_compression=none --nocow\\n```\\n\\nor even do something similar without the nocow for media folders within the compressed home user folder...\\n\\n```\\nsudo bcachefs set-file-option \/mnt\/tempy\/home\/thatuser --compression=zstd:3 --background_compression=zstd:12\\nsudo bcachefs set-file-option \/mnt\/tempy\/home\/thatuser\/media --compression=none --background_compression=none\\n```\\n\\nmount at boot: okay, I know I need the DKMS and userspace tools installed as separate packages since Kent was naughty and got his project booted out of the kernel. but I'm not entirely certain how to convey to fedora I it needs to bundle those pieces with the initiramfs. I know arch uses something different from fedora to do that, with fedora using dracut. I need to learn how to use dracut.\\n\\ninstall: this I have no idea what to do. Fedora's anaconda expects something very different and will not eat what I'm trying to feed it. so I need to find a way to bootstrap a fedora server install on to this system. Supposedly theres a way to do that with DNF.\\n\\nAnyway, could someone explain the subvolume puzzle to me and maybe give pointers on bootstrapping fedora server and teaching it to mount all the devices in the pool at boot?\",\"mediaType\":\"text\/markdown\"},\"attachment\":[],\"sensitive\":false,\"published\":\"2025-11-10T20:42:58.435416Z\",\"language\":{\"identifier\":\"en\",\"name\":\"English\"},\"audience\":\"https:\/\/lemmy.ml\/c\/linux\",\"tag\":[{\"href\":\"https:\/\/sh.itjust.works\/post\/49570141\",\"name\":\"#linux\",\"type\":\"Hashtag\"}]},\"cc\":[\"https:\/\/lemmy.ml\/c\/linux\/followers\"],\"type\":\"Announce\",\"id\":\"https:\/\/lemmy.ml\/activities\/announce\/page\/0a33a546-97eb-457c-9c9f-0a43bf26a7ee\"}","request":{"host":"kbin.spritesserver.nl","method":"POST","uri":"\/f\/inbox","client_ip":"54.36.178.108"},"headers":{"content-type":["application\/activity+json"],"host":["kbin.spritesserver.nl"],"date":["Mon, 10 Nov 2025 20:43:20 GMT"],"digest":["SHA-256=Qm5ImruJLTE9B1Z5paCNI3qvSZCGdu6e1Kd4wWJ3fDc="],"signature":["keyId=\"https:\/\/lemmy.ml\/c\/linux#main-key\",algorithm=\"hs2019\",headers=\"(request-target) content-type date digest host\",signature=\"SK9tN7PkvVQkm\/sGxLFXEtb6AKI4ui+t5ErYYYltqJtHAqXCSJ1BfXgktRs9s7ZAWluQSlULvDLEO3K32wJ\/f8pOvpocnDDRr2oqYlI1nLscloGKlTTlKLDCYYBA2E6bBhQf9Mi8+Mn27ee+bLfX1oXmUJaFR7BcIzxpF7xDFlFBNMclQ4PW8Y6ZJoew0+SP12R2W\/z\/gueA62KStS\/18hArTmOvfquOQxXlEvQTGXMPX4mFtpD9HBfAFe75iK6sky7kHF+Owt7mwbSropyo2gt2rgGuRnHxF8O6JXrs1Imd6yFL6stVjnVTDGaxJOCCRHy5fTba0WOq\/GgjwDjAPQ==\""],"accept":["*\/*"],"user-agent":["Lemmy\/0.19.13; +https:\/\/lemmy.ml"],"accept-encoding":["gzip"],"content-length":["7584"],"x-php-ob-level":["1"]}}" "{"type":"App\\Message\\ActivityPub\\Inbox\\ActivityMessage","X-Message-Stamp-Symfony\\Component\\Messenger\\Stamp\\BusNameStamp":"[{\"busName\":\"messenger.bus.default\"}]","Content-Type":"application\/json"}" "default" "2025-11-10 20:43:21" "2025-11-10 20:43:21" ] |
Database Connections
| Name | Service |
|---|---|
| default | doctrine.dbal.default_connection |
Entity Managers
| Name | Service |
|---|---|
| default | doctrine.orm.default_entity_manager |
Second Level Cache
0
Hits
0
Misses
0
Puts
Entities Mapping
No loaded entities.