ZFS: device vdev wandered faulting zpool

If the issue is related to device name only, you can re-import the pool with a stable name by issuing:

zpool import data -d /dev/disk/by-id/

However, you have two disk with FAULTED/corrupted data, which let me think you somewhat messed with the data themselves, rather than "only" with the real device name.

Please try the command suggested above and share any other output.

EDIT: the OP commented below:

zpool import data -d /dev/disks/by-id/ cannot import 'data': a pool with that name already exists use the form 'zpool import <pool | id> ' to give it a new name

root@boxey:~# zpool import data data2 -t cannot import 'data': no such pool available

This means the FAULTED vdev where discovered as such (by the system) during normal pool operation. Please do the following:

  • remove the cache file /etc/zfs/zpool.cache
  • reboot the system
  • show the output of zpool status before trying any import
  • if zpool status shows no pool imported, try issuing zpool import data -d /dev/disk/by-id/