Hi Hal,
You might try the raw (/dev/rdsk/...) path. If that doesn't work,
you can avoid that ioctl by giving scrub the disk size on the
command line (-s size). Also, make sure the device is not
currently mounted.
If you're trying to overwrite a disk partition, -X isn't what you
want. It is used to fill a mounted file system and requires a path
to a directory which it will create and fill with files.
If none of this helps, write back and please include the version
of scrub you're running and what system (uname -a output will do).
Regards,
Jim