Import disk group failure
Hello everyone! When I finished disk group configuration, I cannot find disk group until I imported by manual,but after rebooting server,I couldn't find the disk group only if I imported again.following are my operations.Also the RVG was DISABLED until I started it,but it's still DISABLED after rebooting.Any help and suggestion would be appreciate
[root@u31_host Desktop]# vxdisk list
DEVICE TYPE DISK GROUP STATUS
sda auto:none - - online invalid
sdb auto:cdsdisk - - online
sdc auto:cdsdisk - - online
sdd auto:cdsdisk - - online
[root@u31_host Desktop]# vxdg list
NAME STATE ID
[root@u31_host Desktop]# cd /dev/vx/dsk/
[root@u31_host dsk]# ls
[root@u31_host dsk]# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
sda auto:none - - online invalid
sdb auto:cdsdisk - (netnumendg) online
sdc auto:cdsdisk - (netnumendg) online
sdd auto:cdsdisk - (netnumendg) online
[root@u31_host dsk]# vxdg import netnumendg
[root@u31_host dsk]# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
sda auto:none - - online invalid
sdb auto:cdsdisk netnumendg01 netnumendg online
sdc auto:cdsdisk netnumendg02 netnumendg online
sdd auto:cdsdisk netnumendg03 netnumendg online
[root@u31_host dsk]# vxprint -rt |grep ^rv
rv netnumenrvg 1 DISABLED CLEAN primary 2 srl_vol
[root@u31_host dsk]# vxrvg -g netnumendg start netnumenrvg
[root@u31_host dsk]# vxprint -rt |grep ^rv
rv netnumenrvg 1 ENABLED ACTIVE primary 2 srl_vol
After reboot the server
[root@u31_host Desktop]# vxprint
[root@u31_host Desktop]# vxdg list
NAME STATE ID
[root@u31_host Desktop]# vxdisk list
DEVICE TYPE DISK GROUP STATUS
sda auto:none - - online invalid
sdb auto:cdsdisk - - online
sdc auto:cdsdisk - - online
sdd auto:cdsdisk - - online
[root@u31_host Desktop]# vxprint -rt |grep ^rv
[root@u31_host Desktop]# cd /dev/vx/dsk/
[root@u31_host dsk]# ls
[root@u31_host dsk]# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
sda auto:none - - online invalid
sdb auto:cdsdisk - (netnumendg) online
sdc auto:cdsdisk - (netnumendg) online
sdd auto:cdsdisk - (netnumendg) online
If you also have VCS on the system, then VCS will change the noautoimport to on, so that that it doesn't import - you can check this by:
vxprint -mg cvm-dg | grep autoimport
To enable the RVG run:
vxrvg -g netnumendg start netnumenrvg
Mike