Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   lvm    ( 8 )

инструменты LVM2 (LVM2 tools)

Команды (Commands)

The following commands implement the core LVM functionality.

pvchange Change attributes of a Physical Volume. pvck Check Physical Volume metadata. pvcreate Initialize a disk or partition for use by LVM. pvdisplay Display attributes of a Physical Volume. pvmove Move Physical Extents. pvremove Remove a Physical Volume. pvresize Resize a disk or partition in use by LVM2. pvs Report information about Physical Volumes. pvscan Scan all disks for Physical Volumes. vgcfgbackup Backup Volume Group descriptor area. vgcfgrestore Restore Volume Group descriptor area. vgchange Change attributes of a Volume Group. vgck Check Volume Group metadata. vgconvert Convert Volume Group metadata format. vgcreate Create a Volume Group. vgdisplay Display attributes of Volume Groups. vgexport Make volume Groups unknown to the system. vgextend Add Physical Volumes to a Volume Group. vgimport Make exported Volume Groups known to the system. vgimportclone Import and rename duplicated Volume Group (e.g. a hardware snapshot). vgimportdevices Add PVs from a VG to the devices file. vgmerge Merge two Volume Groups. vgmknodes Recreate Volume Group directory and Logical Volume special files vgreduce Reduce a Volume Group by removing one or more Physical Volumes. vgremove Remove a Volume Group. vgrename Rename a Volume Group. vgs Report information about Volume Groups. vgscan Scan all disks for Volume Groups. vgsplit Split a Volume Group into two, moving any logical volumes from one Volume Group to another by moving entire Physical Volumes. lvchange Change attributes of a Logical Volume. lvconvert Convert a Logical Volume from linear to mirror or snapshot. lvcreate Create a Logical Volume in an existing Volume Group. lvdisplay Display attributes of a Logical Volume. lvextend Extend the size of a Logical Volume. lvmconfig Display the configuration information after loading lvm.conf(5) and any other configuration files. lvmdevices Manage the devices file. lvmdiskscan Scan for all devices visible to LVM2. lvmdump Create lvm2 information dumps for diagnostic purposes. lvreduce Reduce the size of a Logical Volume. lvremove Remove a Logical Volume. lvrename Rename a Logical Volume. lvresize Resize a Logical Volume. lvs Report information about Logical Volumes. lvscan Scan (all disks) for Logical Volumes.

The following LVM1 commands are not implemented in LVM2: lvmchange, lvmsadc, lvmsar, pvdata. For performance metrics, use dmstats(8) or to manipulate the kernel device-mapper driver used by LVM2 directly, use dmsetup(8).