Code: Select all
gnop create -S 4096 /dev/ada0But why you keep .nop dvices after pool creation?
I mean it is safe to destroy ones immediatelly afer Pool creation
Code: Select all
zpool create -m /mnt/Pool Pool raidz /dev/ad1.nop /dev/ad2.nop /dev/ad3.nop
zpool export Pool
gnop destroy /dev/ada1.nop
gnop destroy /dev/ada2.nop
gnop destroy /dev/ada3.nop
zpool import Pool
And it will add pool stability in (rare) case of problems during replacing drive. In acording with my experiments on virtual machine if during disk replace both old and new disks will fail, zfs raidz1 on raw disks will survive
Code: Select all
nas4free:~# zpool status pool: Pool
state: DEGRADED
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scan: resilver in progress since Wed Mar 20 18:42:22 2013
6.69G scanned out of 7.29G at 1/s, (scan is slow, no estimated time)
257M resilvered, 91.72% done
config:
NAME STATE READ WRITE CKSUM
Pool DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
replacing-0 UNAVAIL 0 0 0
2050528262512619809 UNAVAIL 0 0 0 was /dev/ada3
14504872036416078121 UNAVAIL 0 0 0 was /dev/ada4
ada2 ONLINE 0 0 0
ada1 ONLINE 0 0 0
errors: No known data errorsCode: Select all
nas4free:~# zpool status
no pools available
nas4free:~# zpool import
pool: Pool
id: 8374523812252373009
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-3C
config:
Pool UNAVAIL insufficient replicas
raidz1-0 UNAVAIL insufficient replicas
replacing-0 ONLINE
ada1.nop ONLINE
ada2.nop ONLINE
15699628039254375131 UNAVAIL cannot open
13721477516992971685 UNAVAIL cannot open

