Hi,
FreeNAS-9.10.2-U6
So I accidentally created a "stripe" children to a old pool, I was supposed to replace the spare not to add a new children to this pool called "tank".
Problem is that now I cannot import the pool anymore. The "12873158712951065836" was missing before.
So what can I do? Can recreate the pool with the raidz with those 4 drives? Also the disk I was using as a stripe was wiped after.
Can I remove the seconds children from the zpool?
Thanks.
FreeNAS-9.10.2-U6
So I accidentally created a "stripe" children to a old pool, I was supposed to replace the spare not to add a new children to this pool called "tank".
Problem is that now I cannot import the pool anymore. The "12873158712951065836" was missing before.
Code:
zpool import -f
pool: tank
id: 17510097276003850357
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://illumos.org/msg/ZFS-8000-6X
config:
tank UNAVAIL missing device
raidz1-0 DEGRADED
12873158712951065836 UNAVAIL cannot open
gptid/51fa6d00-1483-11e5-916a-38eaa7a1089e ONLINE
gptid/527bb44d-1483-11e5-916a-38eaa7a1089e ONLINE
gptid/52f801f8-1483-11e5-916a-38eaa7a1089e ONLINE
gptid/537ccd34-1483-11e5-916a-38eaa7a1089e ONLINE
Additional devices are known to be part of this pool, though their
exact configuration cannot be determined.
camcontrol devlist
<SAMSUNG HD103SJ 1AJ10001> at scbus0 target 0 lun 0 (pass0,ada0)
<SAMSUNG HD103SJ 1AJ10001> at scbus1 target 0 lun 0 (pass1,ada1)
<SAMSUNG HD103SJ 1AJ10001> at scbus2 target 0 lun 0 (pass2,ada2)
<SAMSUNG HD103SJ 1AJ10001> at scbus3 target 0 lun 0 (pass3,ada3)
<SAMSUNG HD103SJ 1AJ10001> at scbus4 target 1 lun 0 (pass4,ada4)
<SanDisk Ultra 1.00> at scbus7 target 0 lun 0 (pass5,da0)
zdb -e tank
Configuration for import:
vdev_children: 2
version: 5000
pool_guid: 17510097276003850357
name: 'tank'
state: 0
hostid: 1450604612
hostname: 'freenas.local'
vdev_tree:
type: 'root'
id: 0
guid: 17510097276003850357
children[0]:
type: 'raidz'
id: 0
guid: 2529236780203903894
nparity: 1
metaslab_array: 35
metaslab_shift: 35
ashift: 12
asize: 4990262312960
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 12873158712951065836
path: '/dev/gptid/7182c91e-1810-11e5-a12c-38eaa7a1089e'
whole_disk: 1
not_present: 1
DTL: 154
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 8027462612500639372
whole_disk: 1
DTL: 292
create_txg: 4
path: '/dev/gptid/51fa6d00-1483-11e5-916a-38eaa7a1089e'
children[2]:
type: 'disk'
id: 2
guid: 16794873086689590394
whole_disk: 1
DTL: 291
create_txg: 4
path: '/dev/gptid/527bb44d-1483-11e5-916a-38eaa7a1089e'
children[3]:
type: 'disk'
id: 3
guid: 7253343877656773164
whole_disk: 1
DTL: 290
create_txg: 4
path: '/dev/gptid/52f801f8-1483-11e5-916a-38eaa7a1089e'
children[4]:
type: 'disk'
id: 4
guid: 15546753461993826621
whole_disk: 1
DTL: 285
create_txg: 4
path: '/dev/gptid/537ccd34-1483-11e5-916a-38eaa7a1089e'
children[1]:
type: 'missing'
id: 1
guid: 0
zdb: can't open 'tank': No such file or directory
FS_DBGMSG(zdb):So what can I do? Can recreate the pool with the raidz with those 4 drives? Also the disk I was using as a stripe was wiped after.
Can I remove the seconds children from the zpool?
Thanks.