Transfer zfs pool to new hardware

CyberLeo Kitsana cyberleo at cyberleo.net
Fri Dec 18 21:57:21 UTC 2009


mailinglists wrote:
> ...
> root at flappie:...home/rob#zpool list
> NAME   SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
> data      -      -      -      -  FAULTED  -

Try removing /boot/zfs/zpool.cache and rebooting to clear out the stale
zfs config pointing to the old device names, then re-importing the pool(s):

nas:~# zpool list
no pools available
nas:~# zpool import
  pool: data
    id: 12298073319825187638
 state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

        data        ONLINE
          raidz1    ONLINE
            ad0     ONLINE
            ad4     ONLINE
            ad6     ONLINE
            ad8     ONLINE
            ad10    ONLINE
nas:~# zpool import data
nas:~# zpool list
NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
data                    931G    721G    210G    77%  ONLINE     -

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo at CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/


More information about the freebsd-questions mailing list