Mirror Issue AIX

Posted on 2011-05-03
Last Modified: 2013-11-17
I have 3 PV on my AIX server and the rootvg resides on hdisk0

# lspv
hdisk0          00cdfb543365cd2c                    rootvg          active
hdisk1          none                                           None
hdisk2          00cdfb548772e311                    None

Now when I run a mirror command I am getting this error
 # mirrorvg rootvg hdisk0 hdisk1
0516-304 getlvodm: Unable to find device id 00000000000000000000000000000000 in the Device
        Configuration Database.
0516-014 mirrorvg: []: The physical volume appears to belong to another
        volume group.
0516-1200 mirrorvg: Failed to mirror the volume group.

This server was rebuilt so there might be a volume group on hdisk1, How should I clean it up and mirror the disks

Question by:mnis2008
    LVL 29

    Expert Comment

    by:Randy Downs
    LVL 68

    Accepted Solution


    you must add the disk to rootvg before placing a mirror on it.


    extendvg rootvg hdisk1

    then continue with mirrorvg.

    By the way, this hdisk1 has never been a member of a VG, since it doesn't carry a PVID (as opposed to hdisk2, which has indeed one).


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
    Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now