man VGCREATE
vgcreate - create a volume group/创建卷组
vgcreate [--addtag Tag] [--alloc AllocationPolicy] [-A|--autobackup {y|n}] [-c|--clustered {y|n}] [-d|--debug] [-h|--help] [-l|--maxlogicalvolumes MaxLogicalVol-
umes] [-M|--metadatatypetype] [-p|--maxphysicalvolumes MaxPhysicalVolumes] [-s|--physicalextentsize PhysicalExtentSize[kKmMgGtT]] [-t|--test] [-v|--verbose]
[--version] VolumeGroupName PhysicalVolumePath [PhysicalVolumePath...]
vgcreate[--addtag 标记] [--Alloc 分配策略] [-a--自动备份y|n][-c--群集y|n][-d|--调试] [-h|--help] [-l|--maxlogicalvolumes 最大逻辑值 ][-M|--元数据类型] [-p|--maxphysicalvolumes
最大物理体积] [-s|--physicalextentsize 物理张力大小 [kKmMgGtT]][-t--测试][-v--详细][-version]卷组名称 物理溶栓 [PhysicalVolumePath...]
DESCRIPTION/描述
vgcreate creates a new volume group called VolumeGroupName using the block special device PhysicalVolumePath previously configured for LVM with pvcreate(8).
vgcreate使用先前为带有pvcreate(8)的lvm配置的块专用设备physicalvolumepath创建一个名为volumegroupname的新卷组。
See lvm for common options./常见选项见LVM。
If clustered locking is enabled, this defaults to y indicating that this Volume Group is shared with other nodes in the cluster.
unavailable on a particular node at a particular time, you may still be able to use such Volume Groups.
-c, --簇状 {y|n}
如果启用群集锁定,则默认值为Y,表示此卷组与群集中的其他节点共享。如果新卷组仅包含在其他节点上不可见的本地磁盘,则必须指定--clustered n。
如果在特定时间某个节点上的群集基础结构不可用,则仍可以使用此类卷组。
Sets the maximum number of logical volumes allowed in this volume group. The setting can be changed with vgchange. For volume groups with metadata in lvm1
format, the limit and default value is 255. If the metadata uses lvm2 format, the default value is 0 which removes this restriction: there is then no
limit.
设置此卷组中允许的最大逻辑卷数。可以使用vgchange更改设置。对于元数据为lvm1格式的卷组,限制值和默认值为255。
如果元数据使用lvm2格式,则默认值为0,这消除了此限制:然后就没有限制。
Sets the maximum number of physical volumes that can belong to this volume group. The setting can be changed with vgchange. For volume groups with meta-
data in lvm1 format, the limit and default value is 255. If the metadata uses lvm2 format, the default value is 0 which removes this restriction: there is
then no limit. If you have a large number of physical volumes in a volume group with metadata in lvm2 format, for tool performance reasons, you should con-
sider some use of --metadatacopies 0 as described in pvcreate(8).
设置可以属于此卷组的物理卷的最大数量。可以使用vgchange更改设置。对于元数据为lvm1格式的卷组,限制值和默认值为255。
如果元数据使用lvm2格式,则默认值为0,这消除了此限制:然后就没有限制。
如果卷组中有大量物理卷,元数据为lvm2格式,出于工具性能的原因,您应该考虑使用--metadatacopies 0,如pvcreate(8)中所述。
Sets the physical extent size on physical volumes of this volume group. A size suffix (k for kilobytes up to t for terabytes) is optional, megabytes is the
default if no suffix is present. The default is 4 MB and it must be at least 1 KB and a power of 2.
ical volumes. However, if no extents need moving for the new value to apply, it can be altered using vgchange -s.
default of 4 MB leads to a maximum logical volume size of around 256GB.
impact on I/O performance to the logical volume. The smallest PE is 1KB.
设置此卷组的物理卷上的物理盘区大小。大小后缀(k表示千字节,t表示兆字节)是可选的,如果没有后缀,则默认为兆字节。默认值为4 MB,并且必须至少为1 KB和2的幂。
一旦设置了该值,就很难在不重新创建卷组的情况下更改该值,这将涉及备份和恢复任何逻辑卷上的数据。但是,如果不需要移动扩展数据块来应用新值,则可以使用vgchange-s对其进行更改。
如果卷组元数据使用lvm1格式,则扩展数据块的大小可以从8KB到16GB不等,并且每个逻辑卷中的扩展数据块限制为65534个。默认值为4 MB会导致最大逻辑卷大小约为256GB。
如果卷组元数据使用lvm2格式,则这些限制不适用,但具有大量扩展数据块将减慢工具速度,但不会影响逻辑卷的I/O性能。最小的PE是1KB。2.4内核的每个块设备限制为2tb。
To create a volume group named test_vg using physical volumes /dev/hdk1, and /dev/hdl1 with default physical extent size of 4MB:
要使用物理卷/dev/hdk1和/dev/hdl1(默认物理盘区大小为4MB)创建名为test_vg的卷组,请执行以下操作:
vg create test_vg/dev/sdk1/dev/sdl1
lvm(8), pvdisplay(8), pvcreate(8), vgdisplay(8), vgextend(8), vgreduce(8), lvcreate(8), lvdisplay(8), lvextend(8), lvreduce(8)
man VGCREATE的更多相关文章
- 物理卷操作命令:pvcreate,pvscan,pvdisplay.卷组操作命令:vgcreate,vgdisplay.
新硬盘创建LVM系统过程. 物理卷操作命令:pvcreate,pvscan,pvdisplay. 卷组操作命令:vgcreate,vgdisplay. 逻辑卷操作命令:lvcreate,lvdispl ...
- 物理卷操作命令:pvcreate,pvscan,pvdisplay.卷组操作命令:vgcreate,vgdisplay. (转)
新硬盘创建LVM系统过程. 物理卷操作命令:pvcreate,pvscan,pvdisplay. 卷组操作命令:vgcreate,vgdisplay. 逻辑卷操作命令:lvcreate,lvdispl ...
- LVM pvcreate,vgcreate,lvcreate,mkfs
首先介绍LVM的几个概念: 1. 物理卷Physical volume (PV):可以在上面建立卷组的媒介,可以是硬盘分区,也可以是硬盘本身或者回环文件(loopback file).物理卷包 ...
- vgcreate语法
vgcreate 用于创建LVM卷组 补充说明 vgcreate命令 用于创建LVM卷组.卷组(Volume Group)将多个物理卷组织成一个整体,屏蔽了底层物理卷细节.在卷组上创建逻辑卷时不用考虑 ...
- pvcreate vgcreate lvcreate 扩容
centos6 服务器磁盘扩容 1.创建物理卷 /dev/sdb #pvcreate /dev/sdb 参数:/dev/sdb 设备名 2.创建卷组 vg_02 #vgcreate vg_02 / ...
- LVM基本介绍与常用命令
一.LVM介绍LVM是 Logical Volume Manager(逻辑卷管理)的简写,它是Linux环境下对磁盘分区进行管理的一种机制LVM - 优点:LVM通常用于装备大量磁盘的系统,但它同样适 ...
- Linux平台oracle 11g单实例 + ASM存储 安装部署 快速参考
操作环境:Citrix虚拟化环境中申请一个Linux6.4主机(模板)目标:创建单机11g + ASM存储 数据库 1. 主机准备 2. 创建ORACLE 用户和组成员 3. 创建以下目录并赋予对应权 ...
- archlinux安裝手记(Win10+Arch、GPT+UEFI、lvm)
准备工具和设置制作启动盘连接网络硬盘分区规划分区LVM方案创建文件系统分区挂载激活lvm2钩子基础安装和配置配置镜像源基础系统安装fstab进入系统initramfs引导程序网络搭建使用环境用户管理用 ...
- LVM逻辑卷管理命令
显示分区信息: [root@localhost /]# fdisk -l PV:物理硬盘格式化为物理卷(PV): [root@localhost /]# pvcreate /dev/sdb /dev/ ...
随机推荐
- Understanding RequireJS for Effective JavaScript Module Loading
Modular programming is used to break large applications into smaller blocks of manageable code. Modu ...
- WCF - Hosting WCF Service 四种托管方式
https://www.tutorialspoint.com/wcf/wcf_hosting_service.htm After creating a WCF service, the next st ...
- React Native商城项目实战10 - 个人中心中间内容设置
1.新建一个MineMiddleView.js,专门用于构建中间的内容 /** * 个人中心中间内容设置 */ import React, { Component } from 'react'; im ...
- The Linux usage model for device tree data
Linux and the Device Tree The Linux usage model for device tree data Author: Grant Likely grant.like ...
- fedora bash shell 为什么不能使用ctrl+c了?
无法使用ctrl+c? 原来是因为, 在shell中, 为了选择和复制粘贴文字内容的方便, 对shell的快捷键进行了设置, 将复制设置为 ctrl+c了, 将zhantie设置为ctrl+v了 所以 ...
- 设置bios加快系统的启动
设置bios加快系统的启动 bois的设置错误, 还会引起系统的工作不正常 bios设置正确合理, 关系到系统的高效运行: 一般, 应该将bios中, 系统的各个cache 缓存开启,如cpu缓存, ...
- LinkedTransferQueue 源码分析
LinkedTransferQueue LinkedTransferQueue 能解决什么问题?什么时候使用 LinkedTransferQueue? 1)LinkedTransferQueue 是基 ...
- 阶段1 语言基础+高级_1-3-Java语言高级_08-JDK8新特性_第1节 常用函数接口_16_常用的函数式接口_Function接口中练习-自定义函数模型拼接
- delphi中的inpubox,如何能控制它的位置? 10
https://zhidao.baidu.com/question/153270855.html delphi中的inpubox,如何能控制它的位置? 10 RT ! 前辈!最好你就把那代码都拿出来吧 ...
- c# WPF——创建带有图标的TreeView
1.使用数据模板对TreeViewItem进行更改 2.xaml中重写TreeviewItem的控件模板 3.继承TreeViewItem(TreeView中的元素),后台进行控件重写.(介绍此方法) ...