#vgchange –a n /dev/vgXX #在cluster模式下去激活一个VG,仍然是用这个命令。3)并不是所有的场合,都不允许VG同时在两台以上的主机上被激活。在应用Oracle OPS时就是一个例外。这时卷组被以一种共享的方式激活,数据的完整性由应用程序(这里当然就是Oracle OPS)来保证。因为操作系统本身无法保证数据的完整...
要执行这个操作,你需要遵循vgchange的语法格式:vgchange [参数]。其中,一个常用的参数是"-a",它用于设置卷组的活动状态。例如,如果你想将卷组"vglinuxprobe"激活,可以在命令行输入如下命令:[root@linuxcool~]#vgchange -a y vglinuxprobe 这里的"y"表示将卷组设置为活动状态。通过这种方式,你...
应用VG的共享方式需要安装MC/SG OPS edition.,其控制命令是vgchange –a s/n vgXX 具体用法: #vgchange –c y –S y /dev/vgXX #设置VG为共享模式,设置成功后VG只能用vgchange –a s 激活,如果要用vgchange –a y激活,则必须先将VG的共享模式去掉(用vgchange –S n /dev/vgxx). #vgchange –a s...
Controls automatic backup of metadata after the change. See vgcfgbackup (8). Default is yes.-a, --available [e|l]{y|n} Controls the availability of the logical volumes in the volume group for input/output. In other words, makes the logical vol- umes known/unkn...
[root@localhost disks]# vgchange -an mirrors ; lvs -a mirrors 0 logical volume(s) in volume group "mirrors" now active LV VG Attr LSize Origin Snap% Move Log Copy% Convert [...] mirror4 mirrors mwi--- 52.00M mirror4_mlog [mirror4_mimage_0] mirrors Iwi-a- 52.00M [mirror4_mimag...
1, create a VG(volume group), the PE(physical extend) as 16M, name as xiongvg, then add the sda4 to the VG [root@localhost ~]# vgcreate -s 16M xiongvg /dev/sda{1,2,3} Volume group "xiongvg" successfully created [root@localhost ~]# vgscan ...
A symbolic link /dev/VGName/LVName pointing to the device node is also added/removed. All software and scripts should access the device through the symbolic link and present this as the name of the device. The location and name of the underlying device node may depend on the distribution,...