1VGMKNODES(8)                System Manager's Manual               VGMKNODES(8)
2
3
4

NAME

6       vgmknodes - Create the special files for volume group devices in /dev
7

SYNOPSIS

9       vgmknodes
10           [ option_args ]
11           [ position_args ]
12

DESCRIPTION

14       vgmknodes  checks  the  LVM  device  nodes  in /dev that are needed for
15       active LVs and creates any that are missing and removes unused ones.
16
17       This command should not usually be needed if all the system  components
18       are interoperating correctly.
19

USAGE

21       vgmknodes
22           [    --ignorelockingfailure ]
23           [    --refresh ]
24           [    --reportformat basic|json ]
25           [ COMMON_OPTIONS ]
26           [ VG|LV|Tag ... ]
27
28       Common options for lvm:
29           [ -d|--debug ]
30           [ -h|--help ]
31           [ -q|--quiet ]
32           [ -t|--test ]
33           [ -v|--verbose ]
34           [ -y|--yes ]
35           [    --commandprofile String ]
36           [    --config String ]
37           [    --driverloaded y|n ]
38           [    --lockopt String ]
39           [    --longhelp ]
40           [    --profile String ]
41           [    --version ]
42

OPTIONS

44       --commandprofile String
45              The command profile to use for command configuration.  See
46              lvm.conf(5) for more information about profiles.
47
48       --config String
49              Config settings for the command. These override lvm.conf set‐
50              tings.  The String arg uses the same format as lvm.conf, or may
51              use section/field syntax.  See lvm.conf(5) for more information
52              about config.
53
54       -d|--debug ...
55              Set debug level. Repeat from 1 to 6 times to increase the detail
56              of messages sent to the log file and/or syslog (if configured).
57
58       --driverloaded y|n
59              If set to no, the command will not attempt to use device-mapper.
60              For testing and debugging.
61
62       -h|--help
63              Display help text.
64
65       --ignorelockingfailure
66              Allows a command to continue with read-only metadata operations
67              after locking failures.
68
69       --lockopt String
70              Used to pass options for special cases to lvmlockd.  See lvm‐
71              lockd(8) for more information.
72
73       --longhelp
74              Display long help text.
75
76       --profile String
77              An alias for --commandprofile or --metadataprofile, depending on
78              the command.
79
80       -q|--quiet ...
81              Suppress output and log messages. Overrides --debug and --ver‐
82              bose.  Repeat once to also suppress any prompts with answer
83              'no'.
84
85       --refresh
86              If the LV is active, reload its metadata.  This is not necessary
87              in normal operation, but may be useful if something has gone
88              wrong, or if some form of manual LV sharing is being used.
89
90       --reportformat basic|json
91              Overrides current output format for reports which is defined
92              globally by the report/output_format setting in lvm.conf.  basic
93              is the original format with columns and rows.  If there is more
94              than one report per command, each report is prefixed with the
95              report name for identification. json produces report output in
96              JSON format. See lvmreport(7) for more information.
97
98       -t|--test
99              Run in test mode. Commands will not update metadata.  This is
100              implemented by disabling all metadata writing but nevertheless
101              returning success to the calling function. This may lead to
102              unusual error messages in multi-stage operations if a tool
103              relies on reading back metadata it believes has changed but
104              hasn't.
105
106       -v|--verbose ...
107              Set verbose level. Repeat from 1 to 4 times to increase the
108              detail of messages sent to stdout and stderr.
109
110       --version
111              Display version information.
112
113       -y|--yes
114              Do not prompt for confirmation interactively but always assume
115              the answer yes. Use with extreme caution.  (For automatic no,
116              see -qq.)
117

VARIABLES

119       VG
120              Volume Group name.  See lvm(8) for valid names.
121
122       LV
123              Logical  Volume  name.  See lvm(8) for valid names.  An LV posi‐
124              tional arg generally includes the VG  name  and  LV  name,  e.g.
125              VG/LV.
126
127       Tag
128              Tag  name.  See lvm(8) for information about tag names and using
129              tags in place of a VG, LV or PV.
130
131       String
132              See the option description for information about the string con‐
133              tent.
134
135       Size[UNIT]
136              Size  is  an  input number that accepts an optional unit.  Input
137              units are always treated as base two values, regardless of capi‐
138              talization,  e.g.  'k'  and 'K' both refer to 1024.  The default
139              input unit is specified by letter, followed by |UNIT.  UNIT rep‐
140              resents  other  possible  input units: bBsSkKmMgGtTpPeE.  b|B is
141              bytes, s|S is sectors of 512 bytes, k|K  is  kilobytes,  m|M  is
142              megabytes, g|G is gigabytes, t|T is terabytes, p|P is petabytes,
143              e|E is exabytes.  (This should not be confused with  the  output
144              control --units, where capital letters mean multiple of 1000.)
145

ENVIRONMENT VARIABLES

147       See  lvm(8)  for  information  about environment variables used by lvm.
148       For example, LVM_VG_NAME can generally be substituted for a required VG
149       parameter.
150

SEE ALSO

152       lvm(8) lvm.conf(5) lvmconfig(8)
153
154       pvchange(8)  pvck(8)  pvcreate(8)  pvdisplay(8)  pvmove(8)  pvremove(8)
155       pvresize(8) pvs(8) pvscan(8)
156
157       vgcfgbackup(8) vgcfgrestore(8) vgchange(8) vgck(8)  vgcreate(8)  vgcon‐
158       vert(8)  vgdisplay(8)  vgexport(8)  vgextend(8)  vgimport(8)  vgimport‐
159       clone(8) vgmerge(8) vgmknodes(8)  vgreduce(8)  vgremove(8)  vgrename(8)
160       vgs(8) vgscan(8) vgsplit(8)
161
162       lvcreate(8)  lvchange(8)  lvconvert(8)  lvdisplay(8)  lvextend(8) lvre‐
163       duce(8) lvremove(8) lvrename(8) lvresize(8) lvs(8) lvscan(8)
164
165       lvm-fullreport(8) lvm-lvpoll(8) lvm2-activation-generator(8) blkdeacti‐
166       vate(8) lvmdump(8)
167
168       dmeventd(8)  lvmetad(8)  lvmpolld(8) lvmlockd(8) lvmlockctl(8) clvmd(8)
169       cmirrord(8) lvmdbusd(8)
170
171       lvmsystemid(7) lvmreport(7) lvmraid(7) lvmthin(7) lvmcache(7)
172
173
174
175Red Hat, Inc.      LVM TOOLS 2.02.180(2)-RHEL7 (2018-07-20)       VGMKNODES(8)
Impressum