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 ac‐
15 tive 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 un‐
106 usual error messages in multi-stage operations if a tool relies
107 on reading back metadata it believes has changed but hasn't.
108
109 -v|--verbose ...
110 Set verbose level. Repeat from 1 to 4 times to increase the de‐
111 tail of messages sent to stdout and stderr.
112
113 --version
114 Display version information.
115
116 -y|--yes
117 Do not prompt for confirmation interactively but always assume
118 the answer yes. Use with extreme caution. (For automatic no,
119 see -qq.)
120
122 VG
123 Volume Group name. See lvm(8) for valid names.
124
125 LV
126 Logical Volume name. See lvm(8) for valid names. An LV posi‐
127 tional arg generally includes the VG name and LV name, e.g.
128 VG/LV.
129
130 Tag
131 Tag name. See lvm(8) for information about tag names and using
132 tags in place of a VG, LV or PV.
133
134 String
135 See the option description for information about the string con‐
136 tent.
137
138 Size[UNIT]
139 Size is an input number that accepts an optional unit. Input
140 units are always treated as base two values, regardless of capi‐
141 talization, e.g. 'k' and 'K' both refer to 1024. The default
142 input unit is specified by letter, followed by |UNIT. UNIT rep‐
143 resents other possible input units: bBsSkKmMgGtTpPeE. b|B is
144 bytes, s|S is sectors of 512 bytes, k|K is KiB, m|M is MiB, g|G
145 is GiB, t|T is TiB, p|P is PiB, e|E is EiB. (This should not be
146 confused with the output control --units, where capital letters
147 mean multiple of 1000.)
148
150 See lvm(8) for information about environment variables used by lvm.
151 For example, LVM_VG_NAME can generally be substituted for a required VG
152 parameter.
153
155 lvm(8) lvm.conf(5) lvmconfig(8)
156
157 pvchange(8) pvck(8) pvcreate(8) pvdisplay(8) pvmove(8) pvremove(8)
158 pvresize(8) pvs(8) pvscan(8)
159
160 vgcfgbackup(8) vgcfgrestore(8) vgchange(8) vgck(8) vgcreate(8) vgcon‐
161 vert(8) vgdisplay(8) vgexport(8) vgextend(8) vgimport(8) vgimport‐
162 clone(8) vgmerge(8) vgmknodes(8) vgreduce(8) vgremove(8) vgrename(8)
163 vgs(8) vgscan(8) vgsplit(8)
164
165 lvcreate(8) lvchange(8) lvconvert(8) lvdisplay(8) lvextend(8) lvre‐
166 duce(8) lvremove(8) lvrename(8) lvresize(8) lvs(8) lvscan(8)
167
168 lvm-fullreport(8) lvm-lvpoll(8) lvm2-activation-generator(8) blkdeacti‐
169 vate(8) lvmdump(8)
170
171 dmeventd(8) lvmpolld(8) lvmlockd(8) lvmlockctl(8) cmirrord(8) lvmd‐
172 busd(8)
173
174 lvmsystemid(7) lvmreport(7) lvmraid(7) lvmthin(7) lvmcache(7)
175
176
177
178Red Hat, Inc. LVM TOOLS 2.03.11(2) (2021-01-08) VGMKNODES(8)