IanWorthington
Contributor
- Joined
- Sep 13, 2013
- Messages
- 144
I'm using badblocks to test a new drive, but regardless of what I specify it only writes x00, even in its normal -w mode where it should loop over 4 different values.
Anyone seen anything like this before?
Anyone seen anything like this before?
Code:
root@tools:~ # /uls/badblocks -t 0xff -b 65536 -c 65536 -s -v -w /dev/ada0 Checking for bad blocks in read-write mode From block 0 to 91570664 Testing with pattern 0x00: set_o_direct: Inappropriate ioctl for device ^C0.02% done, 0:07 elapsed. (0/0/0 errors) Interrupted at block 20038 root@tools:~ # /uls/badblocks -t 0x55 -b 65536 -c 65536 -s -v -w /dev/ada0 Checking for bad blocks in read-write mode From block 0 to 91570664 Testing with pattern 0x00: set_o_direct: Inappropriate ioctl for device ^C0.01% done, 0:02 elapsed. (0/0/0 errors) Interrupted at block 6262 root@tools:~ # /uls/badblocks -b 65536 -c 65536 -s -v -w -t 0xff /dev/ada0 Checking for bad blocks in read-write mode From block 0 to 91570664 Testing with pattern 0x00: set_o_direct: Inappropriate ioctl for device ^C0.00% done, 0:01 elapsed. (0/0/0 errors) Interrupted at block 4500 root@tools:~ # /uls/badblocks -b 65536 -c 65536 -s -v -w /dev/ada0 Checking for bad blocks in read-write mode From block 0 to 91570664 Testing with pattern 0x00: set_o_direct: Inappropriate ioctl for device done Reading and comparing: done Testing with pattern 0x00: 69.78% done, 31:40:39 elapsed. (0/0/0 errors)