3 ms·
Lol, ZFS is supposed to be this super reliable filesystem that does your laundry. But if you hard drive disconnects for a moment tough luck.
by admax88qqq 3y ago
Lol, ZFS is supposed to be this super reliable filesystem that does your laundry. But if you hard drive disconnects for a moment tough luck.
- esoterae 3y agoLungs are usually pretty reliable, but they're still working on a long-term fix for when air becomes unavailable.
- throw0101b 3y agoZFS is a very reliable file system. At some point ZFS will give up and say "I cannot reliably save bits." It is your hardware where the unreliability lies and ZFS detects that. Would you rather prefer silent corruption?
- kreetx 3y agoTo be clear, I don't mind it getting suspended when there is a hardware failure. What I don't understand is why aren't there sane way (i.e some command sequence) to re-attach it. Otherwise the feature set seems great: both a volume manager and a file system, seamless compression, deduplication, COW and snapshots - what's not to love :)
- someplaceguy 3y ago> why aren't there sane way (i.e some command sequence) to re-attach it. But there is. It's `zpool clear <poolname>`. That said, you probably need to have created or imported the pool using stable device names (e.g. `zpool import -d /dev/disk/by-id` or `by-part-uuid`, for example). Otherwise, when reattaching the USB device it might get assigned a different device name (e.g. `/dev/sdb` instead of `/dev/sda`) and ZFS might think the device is still unavailable.
- davkan 3y agoYeah, super reliable in the enterprise. It’s not designed around hanging a single ssd of your rpi with a five dollar usb to m.2 adapter. It’s designed around having a disk shelf or at the very least a mirror.
- admax88qqq 3y ago> it's super reliable on high quality reliable hardware. Okay
- GrilledChips 3y agoThere's fuck all that ZFS can do if hardware lies about what has or hasn't been written to disk yet. There have to be points where ZFS blocks until something critical has been absolutely, totally, 100% written to disk before continuing. Unfortunately, USB devices lie all the time.