Why do I see the message "Ignoring supplied major ..." following a system recovery?
Following a Linux system recovery, when I query information related to LVM on the restored system the following message is displayed: "Ignoring supplied major 253 number - kernel assigns major numbers dynamically."
The SBAdmin recovery process will create logical volumes using the "--persistent" flag of "lvcreate". The major number used when creating the the logical volume is the major number of the "device-mapper" device at the time of recovery. It is possible for the major number to change depending on when the "dm_mod" module is loaded.
The warning message is harmless and should only be seen if the major number of the "device-mapper" device (as found in /proc/devices) differs from when the logical volume was created.
You may disable persistent major and minor numbers of the logical volume using the following command:
# lvchange --persistent n /dev/myvg/mylv