Issue with kpartx
Hi
Getting the below issue while running the kpartx command. Any one can suggest to get out of this issue? Thanks in advance.
Error Details:
[root@localhost mapper]# kpartx -a /dev/sda3 device-mapper: reload ioctl on sda3p1 failed: Invalid argument create/reload failed on sda3p1 device-mapper: reload ioctl on sda3p2 failed: Invalid argument create/reload failed on sda3p2
Metadata may be needed:
[root@localhost mapper]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 100G 0 disk ├─sda1 8:1 0 300M 0 part /boot ├─sda2 8:2 0 3.9G 0 part [SWAP] └─sda3 8:3 0 95.8G 0 part / sr0 11:0 1 50M 0 rom sr1 11:1 1 3.6G 0 rom
[root@localhost mapper]# fdisk -l /dev/sda3 Disk /dev/sda3: 102.9 GB, 102864257024 bytes 255 heads, 63 sectors/track, 12505 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x3b947d86 Device Boot Start End Blocks Id System /dev/sda3p1 1 5000 40162468+ 83 Linux /dev/sda3p2 5001 10000 40162500 83 Linux
Responses