Project

General

Profile

Bug #5236

duplicated vdev in the same pool

Added by Piotr Jasiukajtis about 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2014-10-16
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
needs-triage

Description

> ffffff070c7be580::spa -v
ADDR                 STATE NAME                                                
ffffff070c7be580    ACTIVE backup

    ADDR             STATE     AUX          DESCRIPTION                        
    ffffff06fc37c080 HEALTHY   -            root
    ffffff06ff066380 HEALTHY   -              raidz
    ffffff06ff0669c0 HEALTHY   -                /dev/dsk/c2t6d0s0
    ffffff071516a040 HEALTHY   -                /dev/dsk/c2t8d0s0
    ffffff071516a680 HEALTHY   -                /dev/dsk/c2t9d0s0
    ffffff071516acc0 HEALTHY   -                /dev/dsk/c2t11d0s0
    ffffff071516b300 HEALTHY   -                /dev/dsk/c2t4d0s0
    ffffff071516b940 HEALTHY   -                /dev/dsk/c2t12d0s0   <-- HERE
    ffffff071515f380 HEALTHY   -                /dev/dsk/c2t13d0s0
    -                -         -            spares
    ffffff07a0b79080 CANT_OPEN CORRUPT_DATA   /dev/dsk/c2t12d0s0     <-- HERE
    ffffff07a1c87000 HEALTHY   -              /dev/dsk/c2t2d0s0
    ffffff071515e700 HEALTHY   -              /dev/dsk/c2t3d0s0
    ffffff07a0b796c0 HEALTHY   -              /dev/dsk/c2t5d0s0

# cat zfs_dbgmsg.log | \\
    grep -v "^scanned dataset " | \\
    grep -v "^visited " | \\
    grep -v "^doing scan sync txg" 

spa=rpool async request task=1
txg 23186543 open pool version 14; software version 5000/5; uts  5.11 oi_151a8 i86pc
vdev /dev/dsk/c2t6d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t6d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t8d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t8d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t13d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t13d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t11d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t11d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t12d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t12d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t4d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t4d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t9d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t9d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t8d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t8d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t6d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t6d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t11d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t11d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t4d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t4d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t12d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t12d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t13d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t13d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t9d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t9d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t12d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t12d0s0, psize 299957908992, max_psize 299957908992
txg 22979043 open pool version 5000; software version 5000/5; uts XXX.XXX.com 5.11 oi_151a8 i86pc
spa=rpool async request task=16
restarting resilver txg=23186581
restarting scan func=1 txg=23186581
txg 23186581 scan setup func=1 mintxg=0 maxtxg=23186581
scanned 0 ddt entries with class_max = 1; pausing=0
spa=rpool async request task=16
restarting resilver txg=23186583
txg 23186583 scan done complete=0
spa=rpool async request task=8
restarting scan func=1 txg=23186583
txg 23186583 scan setup func=1 mintxg=0 maxtxg=23186583
scanned 0 ddt entries with class_max = 1; pausing=0
finished scan txg 23187132
txg 23187132 scan done complete=1
spa=rpool async request task=8
txg 23187232 detach vdev=/dev/dsk/c2t1d0s0
command: zpool detach rpool c2t1d0s0
restarting resilver txg=23187237
restarting scan func=2 txg=23187237
txg 23187237 scan setup func=2 mintxg=3 maxtxg=23187237
scanned 0 ddt entries with class_max = 1; pausing=0
txg 23187239 vdev attach attach vdev=/dev/dsk/c2t1d0s0 to vdev=/dev/dsk/c2t0d0s0
command: zpool attach -f rpool c2t0d0s0 c2t1d0s0
finished scan txg 23187967
txg 23187967 scan done complete=1
spa=rpool async request task=8
vdev /dev/dsk/c2t3d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t3d0s0, psize 299957908992, max_psize 299957908992
txg 5 create pool version 5000; software version 5000/5; uts XXX.XXX.com 5.11 oi_151a8 i86pc
command: zpool create -f test c2t3d0
command: zpool destroy test
vdev /dev/dsk/c2t5d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t5d0s0, psize 299957908992, max_psize 299957908992
txg 5 create pool version 5000; software version 5000/5; uts XXX.XXX.com 5.11 oi_151a8 i86pc
command: zpool create -f test c2t5d0
command: zpool destroy test
vdev /dev/dsk/c2t10d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t10d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t10d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t10d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t2d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t2d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t12d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t12d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t2d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t2d0s0, psize 299957908992, max_psize 299957908992
command: zpool add backup spare c2t2d0
vdev /dev/dsk/c2t3d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t3d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t12d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t12d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t2d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t2d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t3d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t3d0s0, psize 299957908992, max_psize 299957908992
command: zpool add backup spare c2t3d0
vdev /dev/dsk/c2t5d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t5d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t12d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t12d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t2d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t2d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t3d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t3d0s0, psize 299957908992, max_psize 299957908992
vdev /dev/dsk/c2t5d0s0, capacity 585871963, altern lba 585871963
capacity change: vdev /dev/dsk/c2t5d0s0, psize 299957908992, max_psize 299957908992
command: zpool add backup spare c2t5d0

Also available in: Atom PDF