Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2020 00:29:10 +0100
From:      Attila Nagy <bra@fsn.hu>
To:        freebsd-fs@freebsd.org
Subject:   Importing a vdev copied zpool from file
Message-ID:  <CAM2hQG_iREkW=tsX=rF8XCOe1CFxumbftr7am6uZ0X6u-YFKQw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm wondering, why this doesn't work and what could be done to make it work?

# zpool status disk0
  pool: disk0
 state: ONLINE
  scan: none requested
config:

NAME        STATE     READ WRITE CKSUM
disk0       ONLINE       0     0     0
 da0       ONLINE       0     0     0

errors: No known data errors
# zpool export disk0
# dd if=/dev/da0 of=/data/da0
# zpool import -d /data disk0
   pool: disk0
     id: 13816971982532029716
  state: UNAVAIL
 status: One or more devices contains corrupted data.
 action: The pool cannot be imported due to damaged devices or data.
   see: http://illumos.org/msg/ZFS-8000-5E
 config:

disk0                   UNAVAIL  insufficient replicas
 10876703685892021104  UNAVAIL  corrupted data



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM2hQG_iREkW=tsX=rF8XCOe1CFxumbftr7am6uZ0X6u-YFKQw>