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/