Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Mirror Issue AIX

Posted on 2011-05-03
2
Medium Priority
?
1,947 Views
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

0
Comment
Question by:mnis2008
2 Comments
 
LVL 30

Expert Comment

by:Randy Downs
ID: 35514426
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 35514588
Hi,

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

Use

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).

wmp
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.
Suggested Courses

571 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