Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5698372
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2006-07-03 14:50:27

Physical volume commands:
pvcreate:
makes a disk an LVM disk(a physical volume)
pvdisplay:
Displays information about physical volumes in a volume group
pvchange:
Sets physical volume characteristics to allow or deny allocation of additional physical extents from this disk
pvmove:
Moves allocated physical extents from source to destination within a volume group
 
Volume Group Commands:
vgcreate:
Create a volume group
vgdisplay:
Displays information about volume groups
vgchange:
Activates or deactivates one or more volume groups. Allows a volume group to mount with or without a quorum
vgextend:
Extends a volume group by adding disks to it
vgreduce:
Reduces a volume group by removing one or more disks from it
vgscan:
Scans all disks and looks for logical volume groups
vgsync:
Synchronizes mirrors that are stale in one or more logical volumes
vgremove:
Removes definition of volume group from the system
vgexport:
Removes a volume group from the system without modifying the information found on the physical volume
vgimport:
Adds a volume group to the system by scanning physical volumes which have been exported using vgexport
vgcfgbackup:
Saves the configuration information for a volume group. Remember that a volume group is made up of one or more physical volumes group is made up of one or more physical volumes
vgcfgrestore:
Restores the configuration information for a volume group
 
Logical Volume Commands:
lvcreate:
Create a logical volume
lvdisplay:
Displays information about logical volumes
lvchange:
Changes characteristics of logical volume including availability, scheduling policy, permissions, block relocation policy, allocation policy, mirror cache availability
lvextend:
Increases disk space allocated to a logical volume
extendfs:
Extends the size of a filesystem residing on a logical volume
lvrecude:
Decreases disk space allocated to a logical volume
lvremove:
Removes one or more logical volumes from a volume group
lvsplit:
Splits a mirrored logical volume into two logical volumes
lvmerge:
Merges the lvsplit logical volumes into one logical volume
lvsync:
Synchronizes mirrors that are stale in one or more logical volumes
lvmmigrate:
Prepares a root file system for migration from partition to a logical volume
lvlnboot:
Used to set up a logical volume to be a root, primary, swap..
lvrmboot:
Use this if you don't want a logical volume to be a root, primary, sway, or dump volume
 
阅读(1607) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~