Physical Volume Administration - Red Hat ENTERPRISE LINUX 5.1 - LVM ADMINISTRATION Manual

Table of Contents

Advertisement

Chapter 4. LVM Administration with CLI Commands
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
#lvmcmdline.c:916
#config/config.c:864
#locking/locking.c:138
#config/config.c:841
#activate/activate.c:358
#ioctl/libdm-iface.c:1569
#ioctl/libdm-iface.c:1569
#activate/activate.c:358
#ioctl/libdm-iface.c:1569
#config/config.c:864
...
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

4.2. Physical Volume Administration

This section describes the commands that perform the various aspects of physical volume
administration.
16
Processing: lvcreate -vvvv -L 50MB new_vg
O_DIRECT will be used
Setting global/locking_type to 1
File-based locking selected.
Setting global/locking_dir to /var/lock/lvm
Getting target version for linear
dm version
dm versions
Getting target version for striped
dm versions
Setting activation/mirror_region_size to 512
Metadata".
OF
[16384]
OF
[16384]
OF
[16384]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 5.1 cluster logical volume manager

Table of Contents