Hi,
more than a year ago I created a mirrored ZFS-Pool consiting of 2x1TB
HDDs using the OSX 10.5 ZFS Kernel Extension (Zpool Version 8, ZFS
Version 2). Everything went fine and I used the pool to store personal
stuff on it, like lots of photos and music. (So getting the data back is
not time critical, but still important to me.)
Later, since the development of the ZFS extension was discontinued, I
tried to move the pool to FreeBSD 8, where I detached one of the drives
to use it in another way. (Yes, dumb idea, but I needed the disk and
thought I would be fine since it was a mirrored pool)
After that the pool was no longer importable - neither on OSX nor on
FreeBSD. Since then I tried to access my data with OpenSolaris (build
134), ZFS-Fuse on Ubuntu and FreeBSD 8.1 - so far without any success.
I am aware of the -F, -D, -d options of zpool and also tried symlinking
in order to match the path of the drives according to the labels. Beyond
that I didn?t do much because I was afraid to damage the data which to
my understanding should still be intact. I also have to admit that low
level filesystem-stuff is a bit above my head.
I really hope that someone here can give me a clue or at least a hint
about if its worth to continue trying...
Now here is what i tried on OpenSolaris:
(Drives connected via USB, ZFS Partitions: /dev/dsk/c4t0d0s1,
/dev/dsk/c4t0d1s1 ; Symlinks: /dev/da0p2 -> /dev/dsk/c4t0d1s1 ,
/dev/da2p2 -> /dev/dsk/c4t0d0s1)
jack at opensolaris:~# zpool import Media
cannot import ''Media'': one or more devices is currently
unavailable
Destroy and re-create the pool from
a backup source.
jack at opensolaris:~# zpool import -fF -d /dev/dsk
pool: Media
id: 6503452912318286686
state: FAULTED
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
see: http://www.sun.com/msg/ZFS-8000-5E
config:
Media FAULTED corrupted data
c4t0d0s1 FAULTED corrupted data
Labels:
jack at opensolaris:~# zdb -l /dev/dsk/c4t0d0s1
--------------------------------------------
LABEL 0
--------------------------------------------
version: 6
name: ''Media''
state: 1
txg: 262869
pool_guid: 6503452912318286686
hostid: 4220169081
hostname: ''mini.home''
top_guid: 18181370402585537036
guid: 18181370402585537036
vdev_tree:
type: ''disk''
id: 0
guid: 18181370402585537036
path: ''/dev/da0p2''
whole_disk: 0
metaslab_array: 14
metaslab_shift: 30
ashift: 9
asize: 999856013312
DTL: 869
(LABEL 1 - 3 identical)
jack at opensolaris:~# zdb -l /dev/dsk/c4t0d1s1
--------------------------------------------
LABEL 0
--------------------------------------------
version: 6
name: ''Media''
state: 0
txg: 0
pool_guid: 6503452912318286686
hostid: 4220169081
hostname: ''mini.home''
top_guid: 18181370402585537036
guid: 17772452695039664796
vdev_tree:
type: ''mirror''
id: 0
guid: 18181370402585537036
whole_disk: 0
metaslab_array: 14
metaslab_shift: 30
ashift: 9
asize: 999856013312
children[0]:
type: ''disk''
id: 0
guid: 8869551029051110993
path: ''/dev/da0p2''
whole_disk: 0
DTL: 869
children[1]:
type: ''disk''
id: 1
guid: 17772452695039664796
path: ''/dev/da2p2''
whole_disk: 0
DTL: 868
create_txg: 0
(LABEL 1 - 3 identical)
Thanks,
Norbert