Hi--
Were you trying to swap out a drive in your pool's raidz1 VDEV
with a spare device? Was that your original intention?
If so, then you need to use the zpool replace command to replace
one disk with another disk including a spare.
I would put the disks back to where they were and retry with the
zpool replace command.
See Example 4-7 in this section:
http://docs.sun.com/app/docs/doc/817-2271/gcvcw?a=view
Example 4–7 Manually Replacing a Disk With a Hot Spare
Thanks,
Cindy
On 02/01/10 08:02, Tonmaus wrote:
Hi all,
this is what I get from 'zpool status pool' after swapping 3 of 10 members of a zpool for testing purpose.
[i]u...@zfs2:~$ zpool status pool
pool: pool
state: ONLINE
scrub: scrub in progress for 0h8m, 4,70% done, 2h51m to go
config:
NAME STATE READ WRITE CKSUM
pool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
c7t1d0 ONLINE 0 0 0
c7t2d0 ONLINE 0 0 0
c7t3d0 ONLINE 0 0 0
c7t4d0 ONLINE 0 0 0
c7t5d0 ONLINE 0 0 0
c7t6d0 ONLINE 0 0 0
c7t7d0 ONLINE 0 0 0
c7t11d0 ONLINE 0 0 0
c7t8d0 ONLINE 0 0 0
c7t10d0 ONLINE 0 0 0
spares
c7t11d0 AVAIL
errors: No known data errors[/i]
Observe that disk %t11% is assigned as well as a member of the pool as as spare available.
The procedure was 'zpool export pool' > shutdow' > swap drives > boot > 'zpool import pool', without a hitch. As you see, scrub is running for peace of mind...
Ideas? TIA.
Cheers,
Tonmaus
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss