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
----------------------------------------------------------------------------------------------------------------------------- Disclaimer ----------------------------------------------------------------------------------------------------------------------------- "This message(including attachment if any)is confidential and may be privileged.Before opening attachments please check them for viruses and defects.MindTree Consulting Private Limited (MindTree)will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission." -----------------------------------------------------------------------------------------------------------------------------