Filippo Valsorda :go: on Nostr: I can't quite get my head around the zfs import/export concept. When I replace a ...
I can't quite get my head around the zfs import/export concept.
When I replace a drive I like to first resilver the new one as a USB drive, then swap it in. This changes the device name (even using by-id).
If I use the cache it will not find the formerly-USB drive, and immediately get it out of sync.
zfs is perfectly capable of assembling a pool by just looking at disks, but that's a "forced" import of a not-exported pool, which sounds bad?
What am I supposed to do?
When I replace a drive I like to first resilver the new one as a USB drive, then swap it in. This changes the device name (even using by-id).
If I use the cache it will not find the formerly-USB drive, and immediately get it out of sync.
zfs is perfectly capable of assembling a pool by just looking at disks, but that's a "forced" import of a not-exported pool, which sounds bad?
What am I supposed to do?