• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2103
  • Last Modified:

Mirror Issue AIX

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
mnis2008
Asked:
mnis2008
1 Solution
 
woolmilkporcCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now