F10: something broken with lvm

Chuck Anderson cra at WPI.EDU
Thu Apr 30 19:12:58 UTC 2009


On Thu, Apr 30, 2009 at 02:55:56PM -0400, Gerry Reno wrote:
> This is till causing major headaches.
> Once a system has had its device names changed to /dev/dm-N style then  
> how are we supposed to know when there is a conflict with device  
> mounting.  /proc/mounts will show our LVM mounting by it's normal LVM  
> names such as /dev/mapper/VolGroup01-LogVol00 but 'blkid' will have no  
> listing for this device under that name any longer.  It will have  
> /dev/dm-N entries.  But how are we to correlate these devices?  If our  
> scripts attempt to mount /dev/dm-1 because it has no mount showing under  
> /proc/mounts the script gets an error because the same device is mounted  
> as /dev/mapper/VolGroup01-LogVol00.  How are we to tell that these  
> devices have the same UUID when 'blkid' only lists one of them?

Compare the device major/minor numbers.




More information about the devel mailing list