Am 20.10.10 17:53, schrieb Cassandra Pugh:
well, I was expecting/hoping that this command would work as expected:

zpool create testpool vdeva vdevb vdevc

*zpool replace testpool vdevc vdevd.*

# zpool status reports the disk is reslivered.

This obviously worked since the device you were about to replace was still accessible, which isn't the case if a device inside a vdev fails and the vdev itself it not redundant.


On a (non-mirror or raid) test pool i just created, this command works.
However, when the disk failed, all I/o was suspended, and I could not replace it as above.
Even if I forced the command with -f.

If this were a raidz pool, would the zpool replace command even work?

Yes this would work in raidz pool, since you have a redundancy of 1, so one device may go offline, before the vdev fails.


--
Stephan Budach
Jung von Matt/it-services GmbH
Glashüttenstraße 79
20357 Hamburg

Tel: +49 40-4321-1353
Fax: +49 40-4321-1114
E-Mail: stephan.bud...@jvm.de
Internet: http://www.jvm.com

Geschäftsführer: Ulrich Pallas, Frank Wilhelm
AG HH HRB 98380

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to