Provided by: lvm10_1.0.8-8_i386 bug


       vgmknodes - create volume group directory and special files


       vgmknodes  [-d|--debug]  [-h|--help]  [-v|--verbose] [VolumeGroupPath |


       vgmknodes creates the volume group directory and special files  for  an
       existing  volume  group.  This  is  to  restore  deleted special files.
       Owner, group and file permissions will not be restored.

       -d, --debug
              Enables additional debugging output (if compiled with DEBUG).

       -h, --help
              Print a usage message on standard output and exit  successfully.

       -v, --verbose
              Gives verbose information about vgmknode’s activities.


       "vgmknodes  /dev/vg02"  tries  to  remove  /dev/vg02  and all contained
       special files and then creates them again based on the VGDA.


       vgmknodes returns an exit code of 0 for success and > 0 for error:

       1  invalid volume group name
       2  error checking existence of volume group
       3  error removing volume group device special files
       4  error creating volume group device special files

       95 driver/module not in kernel
       96 invalid I/O protocol version
       97 error locking logical volume manager
       98 invalid lvmtab (run vgscan (8))
       99 invalid command line

See also

       lvm(8), vgcreate(8)


       Heinz Mauelshagen <>