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?
Published at
2024-10-28 00:14:02Event JSON
{
"id": "154e35e6654608abab62dde850c30c822e6e2ff71afee6beb212893e514f267c",
"pubkey": "75c4441558d260c0ca589ce8fa89fd5052eccf0b09fca823796810a986ad1c8e",
"created_at": 1730074442,
"kind": 1,
"tags": [
[
"proxy",
"https://abyssdomain.expert/users/filippo/statuses/113382158651811946",
"activitypub"
]
],
"content": "I can't quite get my head around the zfs import/export concept.\n\nWhen 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).\n\nIf I use the cache it will not find the formerly-USB drive, and immediately get it out of sync.\n\nzfs 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?\n\nWhat am I supposed to do?",
"sig": "2ff580488700a06b454b724027b2c4403a3acfffb272a7e8434e1b3303a598477ceab9a0a8b966ea44a23dca7d10e1ce084efc0229686af736a56e2bcb8b2adc"
}