Hello Everyone,
The scenario described below is on my playground PCs. I do all this to try things and gain experience. There is no valuable data involved.
I was recently given a 2-port 3Ware PCI SATA raid controller. Amongst many other things I tried, I used two identical make/model disks and confugured them as JBOD, then sliced them up, and created zmirrors from the slice pairs as follows: twe0s1+twe1s1 = zmirror1, twe0s2+twe1s2=zmirror2, twe0s3+twe1s3=zmirror3. I installed and booted FreeBSD 10.3R/amd64 to zmirror1 (I was unable to boot another FreeBSD 10.3R system from zmirror2 and zmirror3 due to the limitations of zfsboot). Most of the things I wanted to play with worked out as expected, then I run into this problem:
, yet
Attempting to access the zmirror1 data via conventional
When the disks are reconnected to the 3ware controller in PC1, everything works fine. But I am unable to access the zmirror1 data (or even just the empty volumes of zmirror2 or zmirror3) in PC2.
Regards,
Keve
The scenario described below is on my playground PCs. I do all this to try things and gain experience. There is no valuable data involved.
I was recently given a 2-port 3Ware PCI SATA raid controller. Amongst many other things I tried, I used two identical make/model disks and confugured them as JBOD, then sliced them up, and created zmirrors from the slice pairs as follows: twe0s1+twe1s1 = zmirror1, twe0s2+twe1s2=zmirror2, twe0s3+twe1s3=zmirror3. I installed and booted FreeBSD 10.3R/amd64 to zmirror1 (I was unable to boot another FreeBSD 10.3R system from zmirror2 and zmirror3 due to the limitations of zfsboot). Most of the things I wanted to play with worked out as expected, then I run into this problem:
- Assume a computer failure: The 3ware controller and the mother-board housing it is damaged.
- Task: recover data from zmirror1.
- Attempted solution: I removed the two disk drives from PC1, and connected one of them to PC2 (there is no 3ware adapter in PC2, so the disk is connected directly to the mother-board). Booted FreeBSD 10.3R/amd64 from the system disk that was originally in PC2.
Code:
gpart show ada2
Code:
zfs_enable="YES"
zpool list
or zpool status
shows no pools (the booted system is on UFS in a BSD schema). Also, zfs list
says there is no zfs filesystem available.Attempting to access the zmirror1 data via conventional
mount -t zfs -r /dev/ada2s1 /mydisk
fails, returning "no such device". Meanwhile ls -l /dev/ada2*
does show ada2s1 and all its other slices, and gpart show
lists them too.When the disks are reconnected to the 3ware controller in PC1, everything works fine. But I am unable to access the zmirror1 data (or even just the empty volumes of zmirror2 or zmirror3) in PC2.
- What am I missing?
- Why doesn't
zpool list
pick up the existing pool or zfs from ada2? - Is this because the vdevs were called
twe???
when the pool was created in PC1, and that same vdev in PC2 is now namedada2
?
Regards,
Keve
Last edited: