NetBSD-Users archive

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

Re: zfs wedges



On Tue, Jun 02, 2020 at 06:01:25PM +0100, Mike Pumford wrote:
> 
> 
> On 02/06/2020 17:36, Michael van Elst wrote:
> 
> > Another method is to export and import the zpool. Importing scans disks
> > for ZFS labels and doesn't need the cached device paths. That's similar
> > to how LVM works.
> > 
> Oddly enought I was curious and went googling and found:
> 
> https://forums.freebsd.org/threads/zfs-confused-by-renamed-devices.51234/
> 
> That seems to suggest exporting and re-importing as well.  :)

Thank you Michael & Mike!


# zpool export ssdpool
# zpool import ssdpool
cannot import 'ssdpool': pool may be in use from other system
use '-f' to import anyway
# zpool import -f ssdpool
# zpool status ssdpool
  pool: ssdpool
 state: ONLINE
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        ssdpool     ONLINE       0     0     0
          dk19      ONLINE       0     0     0

errors: No known data errors


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index