<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
<font size="3">I'm trying to create a disk and map some sectors to
have errors on them. <br>
<br>
I tried this,<br>
</font><font size="3">echo "0 100000 linear /dev/sdb 0 100000
480081250 error"| dmsetup create bad_disk <br>
</font><font size="3">device-mapper: reload ioctl failed: Invalid
argument<br>
</font><font size="3">Command failed</font><br>
<br>
<font size="3">I have put in the right arguments but not sure why it
fails.<br>
<br>
Could someone please guide me how I can do this.<br>
<br>
Thanks,<br>
Yathi<br>
</font>
</body>
</html>