create the volume group and activate it

本文介绍如何通过命令行创建卷组,包括创建目录、控制文件、指定物理卷等步骤,并验证创建结果。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

To create the volume group and activate it, enter commands similar to the following:

# /sbin/mknod /dev/vg_name/group c 64 0xnn0000

# /sbin/vgcreate /dev/vg_name /dev/dsk/cxtydz . . .

# /sbin/vgchange -a y vg_name

In this example:

vg_name is the name that you want to give to the volume group

0xnn0000 is a minor number that is unused on all nodes in the cluster

/dev/dsk/cxtydz... is a list of one or more block device names for the disks that you want to add to the volume group

1,为卷组创建一个目录,比如:

# mkdir /dev/vg01

2,为组创建一个控制文件:

# mknod /dev/vg01/group c 64 0x10000

3,创建卷组并指定它包含的物理卷:

# vgcreate /dev/vg01 /dev/dsk/c0t3d0 /dev/dsk/c0t4d0

4,vgdisplay命令查看是否创建成功:

# vgdisplay -v vg01

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22934571/viewspace-1048605/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/22934571/viewspace-1048605/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值