nitinku1
10 years agoLevel 2
reallocate the /etc/vx/cbr/bk , vg config backup file without any service restart ...
1. Create the directory to copy the vg config backup file .
# mkdir -p /tech/vgconfigbackup/bk ( please must create the "bk" directory )
2. Take the backup of scripts " /usr/lib/vxvm/voladm.d/lib/vxcbrlib.sh "
# cp /usr/lib/vxvm/voladm.d/lib/vxcbrlib.sh /usr/lib/vxvm/voladm.d/lib/vxcbrlib.sh_bkp<date>
3. Made the required change care fully in below script .
# vi /usr/lib/vxvm/voladm.d/lib/vxcbrlib
comment the existing line "CF_BKUP_BASE_PATH" and change CF_BKUP_BASE_PATH to point to a new location.
4. Delete the all old vg configuration file backup from default location .
5. Take the new vg configuration backup and test
6. Check the new vg configuration file backup in new location .