NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56008: Zpool lost when disk is moved to another bus



The following reply was made to PR kern/56008; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/56008: Zpool lost when disk is moved to another bus
Date: Tue, 23 Feb 2021 06:45:52 -0000 (UTC)

 greg-org-netbsd%akua.com@localhost writes:
 
 >1. Shutdown 
 >2. Moved to USB enclosures. USB-SATA, USB-M.2-SATA
 >3. Inserted new M.2 NVMe
 >4. Booted (from mSATA)
 >5. One Zpool was there, the other not.
 
 The devices are cached by their path names (i.e. /dev/dk9), when
 the paths change the cache becomes invalid.
 
 Workaround is to export and re-import the pool. When there is no
 cache information left (after export), all disks are scanned for
 ZFS labels to find the pool disks.
 
 -- 
 -- 
                                 Michael van Elst
 Internet: mlelstv%serpens.de@localhost
                                 "A potential Snark may lurk in every tree."
 


Home | Main Index | Thread Index | Old Index