[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] Mapping sectors to have errors
- From: Joe Thornber <thornber redhat com>
- To: device-mapper development <dm-devel redhat com>
- Cc: Yathindra Naik <ydev cs utah edu>
- Subject: Re: [dm-devel] Mapping sectors to have errors
- Date: Fri, 28 Oct 2011 10:11:41 +0100
On Thu, Oct 27, 2011 at 08:31:00PM -0600, Yathindra wrote:
> Hi,
>
> I'm trying to create a disk and map some sectors to have errors on them.
>
> I tried this,
> echo "0 100000 linear /dev/sdb 0 100000 480081250 error"| dmsetup
> create bad_disk
> device-mapper: reload ioctl failed: Invalid argument
> Command failed
>
> I have put in the right arguments but not sure why it fails.
You have 2 target lines concatenated onto the same line there.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]