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/ ...
随机推荐
- 大牛整理最全Python零基础入门学习资料
大牛整理最全Python零基础入门学习资料 发布时间:『 2017-11-12 11:56 』 帖子类别:『人工智能』 阅读次数:3504 (本文『大牛整理最全Python零基础入门学习资料 ...
- telnet测试端口是否打开?
如何测试远程服务器的某个端口是否打开? 例如: telnet 192.168.1.1 5000 返回: Trying 127.0.0.1...Connected to 127.0.0.1.Escape ...
- 修改mac默认python版本 为python3
mac一般自带python2.7 可以修改 ~/.bash_profile (具体的path取决于你的python3安装路径): vi ~/.bash_profile # 添加这一行 alias py ...
- 微信小程序 form 组件
表单组件:将组件内用户输入的 <switch> <input> <checkbox> <slider> <radio> <picker ...
- MySQL主从复制之半同步模式
MySQL主从复制之半同步模式 MySQL半同步介绍: 一般情况下MySQL默认复制模式为异步,何为异步?简单的说就是主服务器上的I/O threads 将binlog写入二进制日志中就返回给客户端一 ...
- 自定义控件 - 字母索引 : LetterIndexView
实现字母列表,滑动列表显示当前选中字母,回调接口. 1.实现字母列表.初始化相关属性.计算每个字母所占宽高.绘制字母A-Z,#. private int itemWidth;//每个字母所占宽度 pr ...
- 职位-CIO:CIO
ylbtech-职位-CIO:CIO 首席信息官(又称CIO,是Chief Information Officer的缩写)中文意思是首席信息官或信息主管,是负责一个公司信息技术和系统所有领域的高级官员 ...
- 关于hadoop登陆kerberos时设置环境变量问题的思考
中心思想,设置kerberos环境变量时,发现JDK源码当中的一个问题,故描述如下. 在平时的使用中,如果hadoop集群配置kerberos认证的话,使用java访问hdfs或者hive时,需要先进 ...
- JMeter性能测试入门-不同类型线程组的使用
jmeter不同线程组的详解 在做性能测试之前,我们来了解一下JMeter多个不同线程组的应用.首先,JMeter提供了三个基本的线程组,分别为: Thread Group setUp Thread ...
- Nginx环境下设置zblog伪静态方法
Apache的环境非常简单.可以点击创建 .htaccess就可以了 Nginx环境下设置伪静态,并没有那个一键创建的按钮.只看到了这样的一个提示. 别的环境未测试.宝塔面板中 反正我是没找到. 宝塔 ...