hi all...
I have a 3 disks raidz1 array with useless data. I'd like to test zfs recovery capabitlities by simulating silent corruption on one disk.
Of course I can mount the disk in another system (another pc or just a bootable cd), but if I could do it from freenas it would be quicker.
I have tried something like this:
but this was the result:
any way to bypass this? Another method for writing raw data on disks would be welcome as well.
I have a 3 disks raidz1 array with useless data. I'd like to test zfs recovery capabitlities by simulating silent corruption on one disk.
Of course I can mount the disk in another system (another pc or just a bootable cd), but if I could do it from freenas it would be quicker.
I have tried something like this:
Code:
[root@freenas] ~# dd if=/dev/random of=/dev/ada1 bs=4k count=100
but this was the result:
Code:
dd: /dev/ada1: Operation not permitted
any way to bypass this? Another method for writing raw data on disks would be welcome as well.