So I had a spare storage system that I really only used on my DMZ, to swap data to for machines I was working on that weren't allowed on my main network. Basically an ancient dell, with 4 spare drives I had laying around. I did this a few years ago, so I have forgotten exactly how I had it set up. but I *think* what I did was 3 drives in ZFS RAIDZ1, (250GB apiece) and a 4th drive that was 750GB set up as a mirror to the vdev. One of the drives is completely dead, the one I thought was the mirror. However upon booting the system I was getting "status unavailable" for everything. I decided to try and detach the zpool and reattach it, and now I am even more confused. Let me paste what I can see now and maybe someone can help me shed light on it?
Code:
[root@DMZNAS] ~# zpool status
no pools available
[root@DMZNAS] ~# zpool import
pool: TANK
id: 1936822090422793928
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see: http://www.sun.com/msg/ZFS-8000-6X
config:
TANK UNAVAIL missing device
raidz1-0 ONLINE
ada0p2 ONLINE
ada1p2 ONLINE
ada2p2 ONLINE
Additional devices are known to be part of this pool, though their
exact configuration cannot be determined.
[root@DMZNAS] ~# zdb -e TANK
Configuration for import:
vdev_children: 2
version: 28
pool_guid: 1936822090422793928
name: 'TANK'
state: 0
hostid: 1375593374
hostname: 'DMZNAS.local'
vdev_tree:
type: 'root'
id: 0
guid: 1936822090422793928
children[0]:
type: 'raidz'
id: 0
guid: 1201893195064143088
nparity: 1
metaslab_array: 23
metaslab_shift: 32
ashift: 9
asize: 593691672576
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 1110348436019
phys_path: '/dev/ada0p2'
whole_disk: 0
DTL: 34
path: '/dev/dsk/ada0p2'
children[1]:
type: 'disk'
id: 1
guid: 18009700714485737566
phys_path: '/dev/ada1p2'
whole_disk: 0
DTL: 33
path: '/dev/dsk/ada1p2'
children[2]:
type: 'disk'
id: 2
guid: 7830532914506800351
phys_path: '/dev/ada3p2'
whole_disk: 0
DTL: 32
path: '/dev/dsk/ada2p2'
children[1]:
type: 'missing'
id: 1
guid: 0
zdb: can't open 'TANK': File exists
[root@DMZNAS] ~#