[lvm-devel] lvrename changes link to direct /dev/dm-X

Zdenek Kabelac zkabelac at redhat.com
Fri Aug 30 09:12:12 UTC 2013


Dne 30.8.2013 11:09, Zdenek Kabelac napsal(a):
> Dne 29.8.2013 11:54, Oliver Rath napsal(a):
>> Hi list,
>>
>> I was able to reproduze the renaming issue on a gentoo-machine with lvm-git:
>>
>> heimserver ~ # lvcreate --name myoriginal -V 10M -T dmivg/winthinpool
>>    Rounding up size to full physical extent 12,00 MiB
>>    Logical volume "myoriginal" created
>> heimserver ~ # ls -l /dev/dmivg/myoriginal
>> lrwxrwxrwx 1 root root 28 29. Aug 11:46 /dev/dmivg/myoriginal ->
>> /dev/mapper/dmivg-myoriginal
>
> So Gentoo has broken udev rules as well probably.
> Links created by proper udev rules should be pointing directly to /dev/dm-x
>
>
> Have you been compiling lvm2 yourself ?
>
> Have you configured lvm2 package with --enable-udev_rules?
> (it's not enabled by default)

Sorry - here should be   '--enable-udev_sync'
(And for built-in thin support you also need  '--with-thin=internal')

Zdenek




More information about the lvm-devel mailing list