Chapter 4. LVM Administration with CLI Commands
16
Found volume group "new_vg"
Creating new_vg-lvol0
Loading new_vg-lvol0 table
Resuming new_vg-lvol0 (253:2)
Clearing start of logical volume "lvol0"
Creating volume group backup "/etc/lvm/backup/new_vg" (seqno 5).
Logical volume "lvol0" created
You could also have used the
-vv
,
-vvv
or the
-vvvv
argument to display increasingly more details
about the command execution. The
-vvvv
argument provides the maximum amount of information at
this time. The following example shows only the first few lines of output for the
lvcreate
command
with the
-vvvv
argument specified.
#
lvcreate -vvvv -L 50MB new_vg
#lvmcmdline.c:913 Processing: lvcreate -vvvv -L 50MB new_vg
#lvmcmdline.c:916 O_DIRECT will be used
#config/config.c:864 Setting global/locking_type to 1
#locking/locking.c:138 File-based locking selected.
#config/config.c:841 Setting global/locking_dir to /var/lock/lvm
#activate/activate.c:358 Getting target version for linear
#ioctl/libdm-iface.c:1569 dm version OF [16384]
#ioctl/libdm-iface.c:1569 dm versions OF [16384]
#activate/activate.c:358 Getting target version for striped
#ioctl/libdm-iface.c:1569 dm versions OF [16384]
#config/config.c:864 Setting activation/mirror_region_size to 512
...
You can display help for any of the LVM CLI commands with the
--help
argument of the command.
commandname --help
To display the man page for a command, execute the
man
command:
man
commandname
The
man lvm
command provides general online information about LVM.
All LVM objects are referenced internally by a UUID, which is assigned when you create the object.
This can be useful in a situation where you remove a physical volume called
/dev/sdf
which is part
of a volume group and, when you plug it back in, you find that it is now
/dev/sdk
. LVM will still find
the physical volume because it identifies the physical volume by its UUID and not its device name. For
information on specifying the UUID of a physical volume when creating a physical volume, see see
Section 6.4, “Recovering Physical Volume Metadata”
.
4.2. Physical Volume Administration
This section describes the commands that perform the various aspects of physical volume
administration.
Содержание CLUSTER SUITE 4.7 - CLUSTER LVM ADMINISTRATORS
Страница 1: ...Red Hat Cluster Suite 4 7 Cluster Logical Volume Manager LVM Administrator s Guide ...
Страница 6: ...vi ...
Страница 12: ...xii ...
Страница 24: ...12 ...
Страница 62: ...50 ...
Страница 72: ...60 ...
Страница 82: ...70 ...
Страница 84: ...72 ...
Страница 86: ...74 ...
Страница 96: ...84 ...
Страница 103: ...91 Appendix E Revision History Revision History Revision 1 0 ...
Страница 104: ...92 ...
Страница 108: ...96 ...