4.3.14. Recreating a Volume Group Directory

To recreate a volume group directory and logical volume special files, use the vgmknodes command. This command checks the LVM2 special files in the /dev directory that are needed for active logical volumes. It creates any special files that are missing and removes unused ones.
You can incorporate the vgmknodes command into the vgscan command by specifying the mknodes argument to the vgscan command.