I have a FreeBSD drive that I want to retrieve a file from with Ubuntu 14.04 desktop.
I installed ubuntu-zfs
from this PPA and have been through several tutorials, all of which have covered installing Ubuntu to ZFS or establishing a ZFS RAID, but all I want to do is mount a drive and retrieve a file.
I seem to be stuck on step one, where I can't even get Ubuntu to see a zpool, much less mount the drive.
More info:
# dmesg | egrep "\<sd[a-g]|SPL|ZFS"
[ 1.525674] sd 2:0:0:0: [sda] 15465744 512-byte logical blocks: (7.91 GB/7.37 GiB)
[ 1.525747] sd 2:0:0:0: [sda] Write Protect is off
[ 1.525751] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.525782] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.526605] sd 2:0:1:0: [sdb] 293046768 512-byte logical blocks: (150 GB/139 GiB)
[ 1.526885] sda: sda1
[ 1.526885] sda1: <bsd:bad subpartition - ignored
[ 1.526885] sda5 >
[ 1.526937] sd 2:0:1:0: [sdb] Write Protect is off
[ 1.526942] sd 2:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 1.526968] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.527275] sd 2:0:0:0: [sda] Attached SCSI disk
[ 1.536835] sdb: sdb1 sdb2 < sdb5 >
[ 1.537272] sd 2:0:1:0: [sdb] Attached SCSI disk
[ 29.183853] SPL: Loaded module v0.6.5.3-1~trusty
[ 29.383056] ZFS: Loaded module v0.6.5.3-1~trusty, ZFS pool version 5000, ZFS filesystem version 5
[ 37.384244] EXT4-fs (sdb1): mounting ext2 file system using the ext4 subsystem
[ 37.414432] EXT4-fs (sdb1): mounted filesystem without journal. Opts: (null)
sda1: <bsd:bad subpartition - ignored
. Anyway, what sayszpool import /dev/sda1
andzpool import /dev/sda5
? – jlliagre Nov 07 '15 at 03:08cannot import '/dev/sda1' : no such pool available
(sda5
for other partition). – Paul Nov 07 '15 at 03:11od -c /dev/sda | grep "\a v e r s i o n"
and post its output Note that there should be three spaces between each letter in the string: a...v...e...r...s...i...o...n. – jlliagre Nov 07 '15 at 04:40