[dm-devel] Error while creating mapped device...
Manu Tayal
manut at mindtree.com
Wed Jun 1 04:20:59 UTC 2005
Hi,
I wanted to create a mapped device for all the physical partitions on my
disk. Following is the partition information:
/dev/hda1 /boot
/dev/hda2 /
/dev/hda3 /home
/dev/hda5 swap
I am using device-mapper to create the mapped device. I execute the following
command:
#echo 0 $(blockdev --getsize /dev/hda1) linear /dev/hda1 0
| dmsetup create hda1
I am doing the same thing for all the devices. I am able to create mapped
devices for /dev/hda2 and /dev/hda3. But /dev/hda1 and /dev/hda5 give me the
following error:
device-mapper ioctl cmd 9 failed: Invalid argument
I am unable to understand as to why should hda1 and hda5 behave differently.
Any help is appreciated.
Regards,
Manu
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disclaimer.txt
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20050601/e39af903/attachment.txt>
More information about the dm-devel
mailing list