1VGMKNODES(8) System Manager's Manual VGMKNODES(8)
2
3
4
6 vgmknodes - Create the special files for volume group devices in /dev
7
9 vgmknodes
10 [ option_args ]
11 [ position_args ]
12
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
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 [ --nolocking ]
41 [ --profile String ]
42 [ --version ]
43
45 --commandprofile String
46 The command profile to use for command configuration. See
47 lvm.conf(5) for more information about profiles.
48
49 --config String
50 Config settings for the command. These override lvm.conf set‐
51 tings. The String arg uses the same format as lvm.conf, or may
52 use section/field syntax. See lvm.conf(5) for more information
53 about config.
54
55 -d|--debug ...
56 Set debug level. Repeat from 1 to 6 times to increase the detail
57 of messages sent to the log file and/or syslog (if configured).
58
59 --driverloaded y|n
60 If set to no, the command will not attempt to use device-mapper.
61 For testing and debugging.
62
63 -h|--help
64 Display help text.
65
66 --ignorelockingfailure
67 Allows a command to continue with read-only metadata operations
68 after locking failures.
69
70 --lockopt String
71 Used to pass options for special cases to lvmlockd. See lvm‐
72 lockd(8) for more information.
73
74 --longhelp
75 Display long help text.
76
77 --nolocking
78 Disable locking.
79
80 --profile String
81 An alias for --commandprofile or --metadataprofile, depending on
82 the command.
83
84 -q|--quiet ...
85 Suppress output and log messages. Overrides --debug and --ver‐
86 bose. Repeat once to also suppress any prompts with answer
87 'no'.
88
89 --refresh
90 If the LV is active, reload its metadata. This is not necessary
91 in normal operation, but may be useful if something has gone
92 wrong, or if some form of manual LV sharing is being used.
93
94 --reportformat basic|json
95 Overrides current output format for reports which is defined
96 globally by the report/output_format setting in lvm.conf. basic
97 is the original format with columns and rows. If there is more
98 than one report per command, each report is prefixed with the
99 report name for identification. json produces report output in
100 JSON format. See lvmreport(7) for more information.
101
102 -t|--test
103 Run in test mode. Commands will not update metadata. This is
104 implemented by disabling all metadata writing but nevertheless
105 returning success to the calling function. This may lead to
106 unusual error messages in multi-stage operations if a tool
107 relies on reading back metadata it believes has changed but
108 hasn't.
109
110 -v|--verbose ...
111 Set verbose level. Repeat from 1 to 4 times to increase the
112 detail of messages sent to stdout and stderr.
113
114 --version
115 Display version information.
116
117 -y|--yes
118 Do not prompt for confirmation interactively but always assume
119 the answer yes. Use with extreme caution. (For automatic no,
120 see -qq.)
121
123 VG
124 Volume Group name. See lvm(8) for valid names.
125
126 LV
127 Logical Volume name. See lvm(8) for valid names. An LV posi‐
128 tional arg generally includes the VG name and LV name, e.g.
129 VG/LV.
130
131 Tag
132 Tag name. See lvm(8) for information about tag names and using
133 tags in place of a VG, LV or PV.
134
135 String
136 See the option description for information about the string con‐
137 tent.
138
139 Size[UNIT]
140 Size is an input number that accepts an optional unit. Input
141 units are always treated as base two values, regardless of capi‐
142 talization, e.g. 'k' and 'K' both refer to 1024. The default
143 input unit is specified by letter, followed by |UNIT. UNIT rep‐
144 resents other possible input units: bBsSkKmMgGtTpPeE. b|B is
145 bytes, s|S is sectors of 512 bytes, k|K is kilobytes, m|M is
146 megabytes, g|G is gigabytes, t|T is terabytes, p|P is petabytes,
147 e|E is exabytes. (This should not be confused with the output
148 control --units, where capital letters mean multiple of 1000.)
149
151 See lvm(8) for information about environment variables used by lvm.
152 For example, LVM_VG_NAME can generally be substituted for a required VG
153 parameter.
154
156 lvm(8) lvm.conf(5) lvmconfig(8)
157
158 pvchange(8) pvck(8) pvcreate(8) pvdisplay(8) pvmove(8) pvremove(8)
159 pvresize(8) pvs(8) pvscan(8)
160
161 vgcfgbackup(8) vgcfgrestore(8) vgchange(8) vgck(8) vgcreate(8) vgcon‐
162 vert(8) vgdisplay(8) vgexport(8) vgextend(8) vgimport(8) vgimport‐
163 clone(8) vgmerge(8) vgmknodes(8) vgreduce(8) vgremove(8) vgrename(8)
164 vgs(8) vgscan(8) vgsplit(8)
165
166 lvcreate(8) lvchange(8) lvconvert(8) lvdisplay(8) lvextend(8) lvre‐
167 duce(8) lvremove(8) lvrename(8) lvresize(8) lvs(8) lvscan(8)
168
169 lvm-fullreport(8) lvm-lvpoll(8) lvm2-activation-generator(8) blkdeacti‐
170 vate(8) lvmdump(8)
171
172 dmeventd(8) lvmpolld(8) lvmlockd(8) lvmlockctl(8) cmirrord(8) lvmd‐
173 busd(8)
174
175 lvmsystemid(7) lvmreport(7) lvmraid(7) lvmthin(7) lvmcache(7)
176
177
178
179Red Hat, Inc. LVM TOOLS 2.03.02(2)-RHEL8 (2019-01-04) VGMKNODES(8)