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 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

USAGE

21       vgmknodes
22           [    --ignorelockingfailure ]
23           [    --refresh ]
24           [    --reportformat basic|json|json_std ]
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           [    --devices PV ]
38           [    --devicesfile String ]
39           [    --driverloaded y|n ]
40           [    --journal String ]
41           [    --lockopt String ]
42           [    --longhelp ]
43           [    --nohints ]
44           [    --nolocking ]
45           [    --profile String ]
46           [    --version ]
47

OPTIONS

49       --commandprofile String
50              The  command  profile  to  use  for  command configuration.  See
51              lvm.conf(5) for more information about profiles.
52
53       --config String
54              Config settings for the command. These override lvm.conf(5) set‐
55              tings.   The  String arg uses the same format as lvm.conf(5), or
56              may use section/field syntax.  See lvm.conf(5) for more informa‐
57              tion about config.
58
59       -d|--debug ...
60              Set debug level. Repeat from 1 to 6 times to increase the detail
61              of messages sent to the log file and/or syslog (if configured).
62
63       --devices PV
64              Restricts the devices that are visible  and  accessible  to  the
65              command.  Devices not listed will appear to be missing. This op‐
66              tion can be repeated, or accepts a comma separated list  of  de‐
67              vices. This overrides the devices file.
68
69       --devicesfile String
70              A file listing devices that LVM should use.  The file must exist
71              in /etc/lvm/devices/ and is managed with the lvmdevices(8)  com‐
72              mand.   This  overrides  the lvm.conf(5) devices/devicesfile and
73              devices/use_devicesfile settings.
74
75       --driverloaded y|n
76              If set to no, the command will not attempt to use device-mapper.
77              For testing and debugging.
78
79       -h|--help
80              Display help text.
81
82       --ignorelockingfailure
83              Allows  a command to continue with read-only metadata operations
84              after locking failures.
85
86       --journal String
87              Record information in the systemd journal.  This information  is
88              in  addition  to information enabled by the lvm.conf log/journal
89              setting.  command: record information about the  command.   out‐
90              put: record the default command output.  debug: record full com‐
91              mand debugging.
92
93       --lockopt String
94              Used to pass options for special cases to  lvmlockd.   See  lvm‐
95              lockd(8) for more information.
96
97       --longhelp
98              Display long help text.
99
100       --nohints
101              Do  not  use the hints file to locate devices for PVs. A command
102              may read more devices to find PVs when hints are not  used.  The
103              command will still perform standard hint file invalidation where
104              appropriate.
105
106       --nolocking
107              Disable locking. Use with caution, concurrent commands may  pro‐
108              duce incorrect results.
109
110       --profile String
111              An alias for --commandprofile or --metadataprofile, depending on
112              the command.
113
114       -q|--quiet ...
115              Suppress output and log messages. Overrides --debug  and  --ver‐
116              bose.   Repeat  once  to  also  suppress any prompts with answer
117              'no'.
118
119       --refresh
120              If the LV is active, reload its metadata.  This is not necessary
121              in  normal  operation,  but  may be useful if something has gone
122              wrong, or if some form of manual LV sharing is being used.
123
124       --reportformat basic|json|json_std
125              Overrides current output format for  reports  which  is  defined
126              globally  by  the  report/output_format  setting in lvm.conf(5).
127              basic is the original format with columns and rows.  If there is
128              more  than  one report per command, each report is prefixed with
129              the report name for identification. json produces report  output
130              in  JSON  format. json_std produces report output in JSON format
131              which is more compliant with JSON  standard.   See  lvmreport(7)
132              for more information.
133
134       -t|--test
135              Run  in  test  mode. Commands will not update metadata.  This is
136              implemented by disabling all metadata writing  but  nevertheless
137              returning  success to the calling function. This may lead to un‐
138              usual error messages in multi-stage operations if a tool  relies
139              on reading back metadata it believes has changed but hasn't.
140
141       -v|--verbose ...
142              Set  verbose level. Repeat from 1 to 4 times to increase the de‐
143              tail of messages sent to stdout and stderr.
144
145       --version
146              Display version information.
147
148       -y|--yes
149              Do not prompt for confirmation interactively but  always  assume
150              the  answer  yes.  Use with extreme caution.  (For automatic no,
151              see -qq.)
152

VARIABLES

154       VG     Volume Group name.  See lvm(8) for valid names.
155
156       LV     Logical Volume name.  See lvm(8) for valid names.  An  LV  posi‐
157              tional  arg  generally  includes  the  VG name and LV name, e.g.
158              VG/LV.
159
160       Tag    Tag name.  See lvm(8) for information about tag names and  using
161              tags in place of a VG, LV or PV.
162
163       String See the option description for information about the string con‐
164              tent.
165
166       Size[UNIT]
167              Size is an input number that accepts an  optional  unit.   Input
168              units are always treated as base two values, regardless of capi‐
169              talization, e.g. 'k' and 'K' both refer to  1024.   The  default
170              input unit is specified by letter, followed by |UNIT.  UNIT rep‐
171              resents other possible input units: b|B is bytes, s|S is sectors
172              of  512  bytes,  k|K is KiB, m|M is MiB, g|G is GiB, t|T is TiB,
173              p|P is PiB, e|E is EiB.  (This should not be confused  with  the
174              output  control  --units, where capital letters mean multiple of
175              1000.)
176

ENVIRONMENT VARIABLES

178       See lvm(8) for information about environment  variables  used  by  lvm.
179       For example, LVM_VG_NAME can generally be substituted for a required VG
180       parameter.
181

SEE ALSO

183       lvm(8), lvm.conf(5), lvmconfig(8), lvmdevices(8),
184
185       pvchange(8), pvck(8), pvcreate(8), pvdisplay(8), pvmove(8),
186       pvremove(8), pvresize(8), pvs(8), pvscan(8),
187
188       vgcfgbackup(8), vgcfgrestore(8), vgchange(8), vgck(8), vgcreate(8),
189       vgconvert(8), vgdisplay(8), vgexport(8), vgextend(8), vgimport(8),
190       vgimportclone(8), vgimportdevices(8), vgmerge(8), vgmknodes(8),
191       vgreduce(8), vgremove(8), vgrename(8), vgs(8), vgscan(8), vgsplit(8),
192
193       lvcreate(8), lvchange(8), lvconvert(8), lvdisplay(8), lvextend(8),
194       lvreduce(8), lvremove(8), lvrename(8), lvresize(8), lvs(8), lvscan(8),
195
196       lvm-fullreport(8), lvm-lvpoll(8), blkdeactivate(8), lvmdump(8),
197
198       dmeventd(8), lvmpolld(8), lvmlockd(8), lvmlockctl(8), cmirrord(8),
199       lvmdbusd(8), fsadm(8),
200
201       lvmsystemid(7), lvmreport(7), lvmraid(7), lvmthin(7), lvmcache(7)
202
203
204
205Red Hat, Inc.        LVM TOOLS 2.03.18(2)-git (2022-11-10)        VGMKNODES(8)
Impressum