Unable to varyonvg after copy vg from XIV


 
Thread Tools Search this Thread
Operating Systems AIX Unable to varyonvg after copy vg from XIV
# 1  
Old 04-04-2013
Unable to varyonvg after copy vg from XIV

Hi all,
I am not sure whether anyone of you using XIV to copy vg from one host to another. After I managed to copy all the respective vg over to destination vg, and map all vg to destination and when come to varyonvg, I got the following error

0516-510 varyonvg: Physical volume not found for physical volume
identifier 00f626989f51fcae.

Anyone encounter this before, hope you can share some idea why it happen and how to resolve this ?

Is this something I didn't perform before I varyonvg ?

Thanks in advance.
# 2  
Old 04-04-2013
before to try the varyonvg, could you check if lspv shows the same content in both nodes

I not have experience in XIV, but in another Storage Copies (EMC, HDS), probably you need clean the reservations that the original system put in the physical devices.

I think tyhat you need heck that the attributes on same nodes are the same, use lsattr -El hdiskX to review these, in special the reservation policy values.
# 3  
Old 04-05-2013
This does not have anything to do with the storage system used.

By copy, did you use a command like dd to make the copy? Or did you have LUNS active from both systems and use something like migratepv commands? If so, I am guessing that you removed the old LUN before doing a reducevg command.

Does lspv show a disk as PVMISSING?
If you are facing a PVMISSING disk you could look at my post from 2007 on HOWTO: Cleanup a PVMISSING disk

In any case, (i.e., even if you are not seeing a PVMISSING message) your message reads as if there is a PVID in the VGDA that needs to be removed before you can varyonvg the volume group. More details in the article above - however, here are the basics:

Code:
root@aix53:[/]lsvg -p vgExport  
0516-010 : Volume group must be varied on; use varyonvg command.
root@aix53:[/]varyonvg vgExport
PV Status:      hdisk1  00c39b8d69c45344        PVACTIVE
                hdisk2  00c39b8d043427b6        PVMISSING

Code:
root@aix53:[/]lqueryvg -p hdisk1 -vPt 
Physical:       00c39b8d69c45344                2   0  
                00c39b8d043427b6                1   0  
VGid:           00c39b8d00004c000000011169c45a4b

Get a list of all the logical volumes on the missing disk
Code:
root@aix53:[/]lspv -l -v 00c39b8d00004c000000011169c45a4b hdisk2
hdisk2:
LV NAME               LPs   PPs   DISTRIBUTION          MOUNT POINT
lvTest                512   512   109..108..108..108..79 /scratch
loglv00               1     1     00..00..00..00..01    N/A

If the last command does not list any logical volumes you can proceed to removing the disk from the volume group (i.e., remove from the VGDA) - otherwise you will need to remove the logical volumes from the volume group before removing the disk.

Code:
root@aix53:[/]ldeletepv -g 00c39b8d00004c000000011169c45a4b -p 00c39b8d043427b6
 
Note: there is no output for the above command when all proceeds accordingly.

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Is my XIV device open?

Hi there, I am trying to determine if a specific XIV LUN on AIX is in OPEN or CLOSED state. I would like tthe same info as I can get from pcmpath command on v7000 LUN-s. I would need this info to find out if I can safely delete a LUN or not. I tried fuser command, but no luck. It did not... (6 Replies)
Discussion started by: trifo75
6 Replies

2. AIX

Failed Disk,unable to varyonvg

Iam new to AIX I am unable varyonvg on the vios,some of the disk are reported as harware failure. I am going to replace the disk,Please tell me how to remove the disk without any corruption in the VG lspv -l hdiskx also didn't work (0 Replies)
Discussion started by: roayaix
0 Replies

3. Shell Programming and Scripting

Unable to copy contents

I am trying to move content of a folder usingls /backup/db_backups/INCREMENTAL/|while read file ; do mv $file /backup_LOCAL/db_backups/INCREMENTAL/ done...but when I run this command using a bash script I'm getting this error ./test.sh mv: cannot stat... (6 Replies)
Discussion started by: rocking77
6 Replies

4. Solaris

Solaris with Soft Errors in XIV

Hi guys, I had a solaris box, with veritas controled disk. 1 disc is showing soft errors, how can I repair the soft errors? Please help. Cheers; (4 Replies)
Discussion started by: Mujakol
4 Replies

5. Solaris

NIS slave unable to copy the data bases

Hi, I'm learning for my Solaris 10 sys-admin part 2. I'm now trying to get nis working because for the exercise. I run in to a problem. Setup: Three Systems solaris101 (client) Nothing wrong here havent made any config changes yet. solaris102 (master server) Interfaces ... (1 Reply)
Discussion started by: jld
1 Replies

6. AIX

Unable to execute varyonvg during importvg

Hello, On Aix 5.3, during importvg, the varyonvg fails: importvg -y vgtest hdisk20 0516-013 varyonvg: The volume group cannot be varied on because there are no good copies of the descriptor area. When i use manually the command varyonvg -u -b -t vgtest to force, the vg can... (3 Replies)
Discussion started by: dantares
3 Replies

7. AIX

AIX varyonvg PVMISSING

Hi all. I'm new to AIX, so... We are running a BCV process between two AIX 5 machines attached to EMC Clariion SAN. During the varyonvg portion of the BCV process, we experienced a failure due to the physical volume is marked missing (PVMISSING). What diagnostics can I run to see the missing... (2 Replies)
Discussion started by: KSFlyer
2 Replies

8. AIX

FastT600 - Cannot varyonvg on one server, but can varyonvg other server.

Good evening, Thanks a lot for your help, we appreciate it a bunch. Heres basically a summary of what we have (sorry Im adding some extra history as well): We have 2 Ibm Servers (Hag and Aki) that are running AIX Version 5. Each connect to a SAN device via 2 separate fiber paths. Hag seems to... (9 Replies)
Discussion started by: aix-olympics
9 Replies

9. UNIX for Dummies Questions & Answers

Unable to copy or move file

I am trying to move a file that is in the root directory. I suspect it is an old file created by someone when the system was installed. I am testing accessing the file by doing a copy but the command does not find the file. I am operating as root. We are HP-UX B.11.23 I do long listing and... (3 Replies)
Discussion started by: phcorn
3 Replies

10. UNIX for Advanced & Expert Users

Unable to varyonvg

Hello all, Strange problem on p5 520 server. I've created two volume groups, filesystems, etc.. Everything working fine, without any problem. After some tests with a DS4300 unit I wanted to remove the volume groups, change the DS4300 configuration, and re-create a new volumegroup. However, I'm... (0 Replies)
Discussion started by: EricBE
0 Replies
Login or Register to Ask a Question