On Mon, November 23, 2009 11: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
3. Use dd to a raw device to corrupt small random parts of the disks supporting the zpool. > I think both these have issues in simulating a sudden failure Probably now it's "all three" :-(. -- David Dyer-Bennet, d...@dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss