I'm trying to mount a zfs pool created on a different machine. To test out this scenario I have created two virtual machines in Virtualbox. The OS is Ubuntu 16.04.1 server in both cases. Machine1 has 5 virtual disks (one for the OS, the other four for the zpool).
nas1.vdi
VirtualDisk1.vdi
VirtualDisk2.vdi
VirtualDisk3.vdi
VirtualDisk4.vdi
I created a pool on the VirtualDisk*.vdi
s and everything works as expected. The output of zpool status
on machine1:
pool: bigdata
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
bigdata ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
sdd ONLINE 0 0 0
sde ONLINE 0 0 0
I created a second machine to test importing/mounting the zpool created on machine1:
nas2.vdi
VirtualDisk1.vdi
VirtualDisk2.vdi
VirtualDisk3.vdi
VirtualDisk4.vdi
where the VirtualDisk*.vdi
s are the exact same disks from machine1 holding the zpool and nas2.vdi
is the disk to hold the os. However no pool is detected; zpool list
gives no pools available
, zpools import
gives no pools available to import
.
The special devices /dev/sdb
, /dev/sdc
, /dev/sdd
and /dev/sde/
are there.
What am I missing? Many thanks in advance!