Visit Our UNIX and Linux User Community


Unable to execute varyonvg during importvg


 
Thread Tools Search this Thread
Operating Systems AIX Unable to execute varyonvg during importvg
# 1  
Old 02-23-2010
Unable to execute varyonvg during importvg

Hello,

On Aix 5.3, during importvg, the varyonvg fails:

Code:
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 be active.

Code:
lsvg -o
rootvg
vgtest

But when the server reboot, the volume group can't activate automatically.

I am forced to reactivate the volume group manually.

When I activate manually the volume group all the physical volumes are active in the group volume.

Have you an idea?

Thank you for your answer

# 2  
Old 02-23-2010
What storage and which multipathing software do you use?
# 3  
Old 02-23-2010
We use HP Storage XP24k/12k with mpio.

The vgda seems wrong on several discs, how can I fix it?
# 4  
Old 02-24-2010
Quote:
Originally Posted by dantares
We use HP Storage XP24k/12k with mpio.
So you use plain MPIO but no SDDPCM. Furthermore there is a SCSI reservation problem with your VG. This VG originates from another host. You can use the VG after breaking and unlocking the VG but the problem returns after a reboot. Try this: a) Make sure you got the current device drivers for the HP Storage. These are not part of the OS but are supplied by HP. b) the next time you varyon the VG with -b -u issue a simple "varyonvg <yourvg>" immediately afterwards to create a reservation for the current host. Make sure the VG is set to autovaryon. Then reboot again and come back with the result.

Quote:
Originally Posted by dantares
The vgda seems wrong on several discs, how can I fix it?
What makes you think that the vgda is wrong on several disks?

Previous Thread | Next Thread
Test Your Knowledge in Computers #463
Difficulty: Medium
chrony is an implementation of the Network Time Protocol (NTP) and is a replacement for the ntpd.
True or False?

10 More Discussions You Might Find Interesting

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

2. Shell Programming and Scripting

Unable to execute glance from cronjob

Hi I am writing a script to get the CPU and memory utilization periodically from glance command. Wrote a script which consists of below two lines Script name : Utilization.sh #!/bin/sh glance -iterations 1 | sed -n '/Util/p/'| awk '!/Disk/'| awk '!/Swap/' >> file.txt I am able to run the... (5 Replies)
Discussion started by: Shravani
5 Replies

3. AIX

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... (2 Replies)
Discussion started by: ckwan
2 Replies

4. AIX

Unable to execute snap command

Hi Friends, I am not able to execute snap -a command in AIX 6 system. Could you please let me know how to make work this command and Path to be set. Thanks in Advance Siva. (4 Replies)
Discussion started by: sivakumarl
4 Replies

5. Solaris

Unable to execute any comman on a file

Hello everyone, I'm having a problem with a file. I can run any command on it : cp, mv, chmod,ln,more... Thanks for your help (13 Replies)
Discussion started by: adilyos
13 Replies

6. UNIX for Dummies Questions & Answers

unable to execute while loop

Hi everyone. I wanted to print numbers from 1 to 5 in reverse order. For this I used the following code: #!/bin/bash x=5 while do echo $x x=`expr $x - 1` echo "" done echo "" Well but on compiling the above code, it gives the following error. ... (3 Replies)
Discussion started by: grc
3 Replies

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

8. UNIX for Advanced & Expert Users

Unable to execute a function using trap

I have a script A which calls script B. I wrote a function in script A to be executed when Kill command is issued for script A and I invoke that function using the trap command.The function identifies all child process running under script A (in this case script B) and kills the child process and... (3 Replies)
Discussion started by: smohandass
3 Replies

9. UNIX for Advanced & Expert Users

unable to execute a .SH file

this is (11 Replies)
Discussion started by: angelina
11 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

Featured Tech Videos