On Mon, Nov 23 at  9:44, sundeep dhall wrote:
All,

I have a test environment with 4 internal disks and RAIDZ option.

Q) How do I simulate a sudden 1-disk failure to validate that zfs / raidz 
handles things well without data errors

Options considered
1. suddenly pulling a disk out
2. using zpool offline

I think both these have issues in simulating a sudden failure

What is more sudden than yanking a live disk out when the system is
under load?  Maybe cut the non-wall end off a 120V power code, and
touch the exposed wiring to your drive's circuit board?

(don't try this at home without a good fire suppression system and eye
protection)

If you're really looking to shave a few milliseconds off the time to
fail, maybe build a digital toggle switch of some kind that will short
the Tx+/- pair inside your sata data cable?



--
Eric D. Mudama
edmud...@mail.bounceswoosh.org

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

Reply via email to