Forum Discussion

SKMangal's avatar
SKMangal
Level 3
11 years ago

How to recover root password (root disk is encapsulated and mirrored)

Hi Team, I have forgotten root password. I need to know the procedure to recover root password. My server has Veritas volume manager and root disk is encapsulated and mirrored. Note: I can't ...
  • g_lee's avatar
    11 years ago

    As Mike mentioned, when you boot from CD it shouldn't start volume manager processes.

    However, you will have issues when you go to reboot from disk after changing the password, as the shadow file will not be in sync between the two mirrors, so this could cause corruption.

    If you're purely trying to recover the root password and have access to perform vxvm operations, it would probably be easiest to:

    - detach/remove rootmirror plexes in rootdg

    - boot from cd to reset root password on rootdisk

    - boot from disk

    - recreate/reattach rootmirror to rootdg

    If you don't have access to perform vxvm operations, then you'll need to unencapsulate - see the following technote:

    TECH157465: 3 ways to unencapsulate (including manual unencapsulation)

    http://www.symantec.com/business/support/index?page=content&id=TECH157465

    You will need to reencapsulate once you've booted back onto disk.