Similarly kern/159045 # zpool status tank pool: tank state: DEGRADED status: One or more devices has been taken offline by the administrator. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Online the device using 'zpool online' or replace the device with 'zpool replace'. scan: scrub repaired 0 in 7h4m with 0 errors on Wed Jul 6 05:19:36 2011 config: NAME STATE READ WRITE CKSUM tank DEGRADED 0 0 0 raidz2-0 DEGRADED 0 0 0 ad8p1 ONLINE 0 0 0 ad12p1 ONLINE 0 0 0 ad16p1 OFFLINE 0 0 0 ad10p1 ONLINE 0 0 0 ad14p1 ONLINE 0 0 0 ad18p1 ONLINE 0 0 0 # gpart list ad16 gpart: No such geom: ad16. # gpart create -s gpt ad16 ad16 created # gpart add -t freebsd-zfs -l disk2-r ad16 ad16p1 added # gpart list ad16 Geom name: ad16 modified: false state: OK fwheads: 16 fwsectors: 63 last: 1465149134 first: 34 entries: 128 scheme: GPT Providers: 1. Name: ad16p1 Mediasize: 750156339712 (698G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 17408 Mode: r0w0e0 rawuuid: bf82fe0a-b7b2-11e0-a9dc-00e04d7b690c rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: disk2-r length: 750156339712 offset: 17408 type: freebsd-zfs index: 1 end: 1465149134 start: 34 Consumers: 1. Name: ad16 Mediasize: 750156374016 (698G) Sectorsize: 512 Mode: r0w0e0 # zpool status tank How-To-Repeat: Make degraded pool raidz, mark one of the hdd in the pool is offline. Pull out this hdd. Insert another hdd instead. Partition this hdd through gpart.
State Changed From-To: open->closed Duplicate of kern/159045.
Responsible Changed From-To: freebsd-bugs->freebsd-fs