Ryan on Nostr: This might not be pollution reasons but I encountered a problem with ZFS about six ...
This might not be pollution reasons but I encountered a problem with ZFS about six months ago where copying files and running a du command to find the number of blocks that the files use on disk would return the wrong value (low by a lot) if I ran it within a couple seconds of copying the files. Ext4 doesn’t exhibit this issue. This was causing issues with GitLab CI on a particular project that was using the blocks used on disk as a metric for creating a file system large enough to include the copied files. It took a while to figure that out and the eventual workaround was to make the CI runners run on ext4 on top of ZFS. I guess we could have modified the project code being compiled in CI to wait 5 or 10 seconds before getting the block count, but my thought was I shouldn’t have to modify the Makefile to workaround this issue.
Published at
2024-10-12 21:05:32Event JSON
{
"id": "7a1ab4af2fbe0cf340025778735f254d5df50eb1c2b61e459c9e879fdb3ba88d",
"pubkey": "cc97551f4c883c9d2f027d95f76eb50448865b5f174ad0c46368fad7c7a3c8f1",
"created_at": 1728767132,
"kind": 1,
"tags": [
[
"e",
"4102796b93a362b5adc06ed35f299ac96e9f2f4968a2dd2f8699c916fae7627e",
"",
"root"
],
[
"p",
"52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
]
],
"content": "This might not be pollution reasons but I encountered a problem with ZFS about six months ago where copying files and running a du command to find the number of blocks that the files use on disk would return the wrong value (low by a lot) if I ran it within a couple seconds of copying the files. Ext4 doesn’t exhibit this issue. This was causing issues with GitLab CI on a particular project that was using the blocks used on disk as a metric for creating a file system large enough to include the copied files. It took a while to figure that out and the eventual workaround was to make the CI runners run on ext4 on top of ZFS. I guess we could have modified the project code being compiled in CI to wait 5 or 10 seconds before getting the block count, but my thought was I shouldn’t have to modify the Makefile to workaround this issue.",
"sig": "ddbed2e046e71c85d91e49183698e5f84d64a05d064bb22bee9d2546af4349815412620ee87fbc94cf80b552a499d45641369ece2647d8102c9636590ec03f4b"
}