Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To 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 :)



> 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: