Bug#775988: kpartx: Incompatible libdevmapper $GARBAGE and kernel driver

Ritesh Raj Sarraf rrs at researchut.com
Thu Jan 22 12:58:39 UTC 2015


On 01/22/2015 05:52 PM, Jakub Wilk wrote:
>
> I tried to run kpartx as a normal user. Unsurprisingly, this failed,
> but the error message contained some garbage:
>
> $ /sbin/kpartx -l /dev/zero
> /dev/mapper/control: open failed: Permission denied
> Failure to communicate with kernel device-mapper driver.
> Incompatible libdevmapper đÄG÷ and kernel driver
> last_lba(): I don't know how to handle files with mode 21b6
> llseek error
> llseek error
> llseek error
> llseek error 
rrs at learner:~$ kpartx -l
/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper � and kernel driver
usage : kpartx [-a|-d|-l] [-f] [-v] wholedisk
        -a add partition devmappings
        -r devmappings will be readonly
        -d del partition devmappings
        -u update partition devmappings
        -l list partitions devmappings that would be added by -a
        -p set device name-partition number delimiter
        -g force GUID partition table (GPT)
        -f force devmap create
        -v verbose
        -s sync mode. Don't return until the partitions are created


kpartx expects a block device as an argument.

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20150122/5488be40/attachment.sig>


More information about the pkg-lvm-maintainers mailing list