Oracle Solaris ZFS File System (MOSC)

MOSC Banner

How to inject faults in a mirrored pool configured with files as vdevs

edited Nov 4, 2014 8:49PM in Oracle Solaris ZFS File System (MOSC) 2 commentsAnswered ✓

Hi all,

I'm doing some tests/configurations...I was testing the usage of files to create easily a mirrored pool and easily inject faults on it.

I created ZFSTST pool using two 100m files /export/device1 and /export/device2:

Then I verified the different behaviour : removing one of the file, renaming it or corrupting one of them with dd:

After the fault injection I ran some I/O workload to run out-of-space and I  ran a scrub to force a check.

Well only the dd was able to put the pool in DEGRADED and detect the unavailability of the corrupted device.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center