Importing a vdev copied zpool from file

Attila Nagy bra at fsn.hu
Wed Mar 25 23:29:56 UTC 2020


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


More information about the freebsd-fs mailing list