Saturday, August 18, 2007

How to recover volume manager configuration after reinstall of Operating System

1. Disconnect all the disks other than root disk and reinstall OS

2. Add vxvm packages but do not run vxinstall

3. Add vxvm license

4. touch /etc/vx/reconfig.d/state.d/install-db

5. Shutdown system

6. Reattach the disks.

7. Reboot the system

8. Bring up the system in single user mode.

9. remove install-db file created above.

10. Start some Volume manager I/O daemons
#vxiod set 10

11. Start volume manager config daemon vxconfigd in disable mode
#vxconfigd –m disable

12. Initialize vxconfigd daemon
#Vxdctl init

13. Initialize the DMP subsystem
#vxdctl initdmp

14. Enable vxconfigd
#vxdctl enable

15. Reboot the system (Hot relocation daemon should not be running at this time when you are doing reconfiguration)

No comments:

Post a Comment