[dm-devel] Logical volumes with persistent minor numbers

Yarangatta, Asha Ramamurthy (STSD) asha.yarangatta at hp.com
Tue Nov 28 11:52:00 UTC 2006


Hi,

Problem: In RHEL 4 U4, the dynamic logical volume device node is not
created with a persistent minor number.

Description:
Initially, no vg is active.  At this  point, the directory /dev/mapper
looked like the following:

#  ll /dev/mapper
total 0
crw-------  1 root root  10, 63 Nov 28 08:57 control

Volume group vg1 is created. Logical volume is created with persistent
minor number (lvcreate  -M y --major 253 --minor 51 -n lvol1 -L 100M
vg1).
This logical volume device node should be created with minor number
"51". But it is created with dynamic minor number.
                    
Expected Behavior: ll /dev/mapper should show "brw-------   1 root root
253, 51 22 Nov 28 15:06 vg1-lvol1

Actual Behavior: ll /dev/mapper should show "brw-------   1 root root
253, 0 22 Nov 28 15:06 vg1-lvol1

Please let me know if there is any solution or workaround for this
problem.

Thanks
Asha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20061128/fde8b55b/attachment.htm>


More information about the dm-devel mailing list