Hi all,
Im trying to replace broken LUN in pool using zpool replace -f <lun>,
but it fails. Physical disk is already replaced, and new lun has the
same address as broken one. But zpool detach/attach works.
This is simple configration:
pool: mypool
state: DEGRADED
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://www.sun.com/msg/ZFS-8000-9P
scrub: resilver completed after 0h0m with 0 errors on Thu Feb 4
23:16:21 2010
config:
NAME STATE READ WRITE CKSUM
mypool DEGRADED 0 0 0
mirror DEGRADED 0 0 0
c1t4d0 DEGRADED 0 0 28 too many errors
c1t5d0 ONLINE 0 0 0
c1t4d0 is physically replaced LUN. then I`m trying to replace it in pool.
r...@myhost:~# zpool replace -f mypool c1t4d0
invalid vdev specification
the following errors must be manually repaired:
/dev/dsk/c1t4d0s0 is part of active ZFS pool mypool. Please see zpool(1M).
zpool manual says: "-f Forces use of new_device, even if its appears
to be in use. Not all devices can be overridden in this manner."
c1t4d0 in use only in mypool.
What is the problem with "zpool replace" in my case? Accordingly to
zpool manual it should work.
Thanx you
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss