Unable to varyonvg


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Unable to varyonvg
# 1  
Old 07-29-2005
CPU & Memory 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 at this time unable to remove the VG. I tried with smitty vg, without success and also using command line, also without success. The error I get is:
0516-010 lqueryvg: Volume group must be varied on; use varyonvg command.
0516-882 reducevg: Unable to reduce volume group.
When I try to varyonvg the VG I get the following:
0516-008 varyonvg: LVM system call returned an unknown
error code (3).
Apparently, the VG is still 'seen' by the system, but since no more disks are attached to it, something went wrong.
I think I have to remove the VG in question directly from the ODM, but haven't got a clue on how to do this. Can anyone advice? All answers are greatly appreciated.

Kind regards,

Eric Van Steenbergen
Login or Register to Ask a Question

Previous Thread | Next Thread

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

3. Solaris

Unable to do su -

Hi, when I try to do " su - oradba" on my solaris box i get following error: Please let me know the proabbale cause and resolution to this. ===================== su - oradba Enter Local Unix Password: Login Error ----------- The user 'oradba' is not allowed to log direct into this host.... (2 Replies)
Discussion started by: Laxxi
2 Replies

4. Solaris

Unable to use df -h

Hi , On one of my solaris server I getan error whenever I use df -h as below. df: unknown option: h Usage: df But this works on other servers.Please advise. Regards, VN (2 Replies)
Discussion started by: narayanv
2 Replies

5. Solaris

Unable to take console

When trying to connect to console, I am getting the below error. plathwsvcd: Another instance is running. plathwsvcd: Another instance is running. plathwsvcd: Another instance is running. plathwsvcd: Another instance is running. INIT: Id "plhw" respawning too fast: disabled for 5 minutes ... (3 Replies)
Discussion started by: aksijain
3 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. Forum Support Area for Unregistered Users & Account Problems

Unable to register

I've tried three times. email: dpc (_a_t_) ucore.info username: dpc . ucore . info Browser: FF 3.0.17 on Solaris Why don't you let me in and consider me a spammer, ha? :) (2 Replies)
Discussion started by: imnotaspammer
2 Replies

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

10. Forum Support Area for Unregistered Users & Account Problems

Unable to

Unable to Activate ErnieS email id removed It just keeps sending me round in circles? And in true Unix fashion as soon as I post this it does.... Please ignore Thanks (1 Reply)
Discussion started by: ErnieS
1 Replies
Login or Register to Ask a Question
Commands Reference, Volume 5, s - u

syncvg_Command

  Purpose

   Synchronizes logical volume copies that are not current.

  Syntax

   syncvg [ -f ] [ -i ] [ -H ] [ -P NumParallelLps ] { -l |
   -p | -v } Name ...

  Description

   The syncvg command synchronizes the physical partitions, which
are copies
   of the original physical partition, that are not current.  The
syncvg
   command can be used with logical volumes, physical volumes, or
volume
   groups, with the Name parameter representing the logical  vol-
ume name,
   physical  volume  name, or volume group name. The synchroniza-
tion process
   can be time consuming, depending on the hardware  characteris-
tics and the
   amount of data.

   When  the  -f flag is used, a good physical copy is chosen and
propagated to
   all other copies of the logical partition, whether or not they
are stale.
   Using this flag is necessary in cases where the logical volume
does not
   have the mirror write consistency recovery.

   Unless disabled, the copies within a volume group are synchro-
nized
   automatically  when the volume group is activated by the vary-
onvg
   command.

   Note:
   For the sycnvg command to be successful,  at  least	one  good
copy of the
   logical  volume should be accessible, and the physical volumes
that
   contains this copy should be in ACTIVE state. If the -f option
is used,
   the above condition applies to all mirror copies.

   If the -P option is not specified, syncvg will check for the
   NUM_PARALLEL_LPS environment variable. The value of NUM_PARAL-
LEL_LPS will
   be used to set the number of logical partitions to be synchro-
nized in
   parallel.

  Flags

		     Specifies a good physical copy is chosen and
propagated
   -f		     to all other copies of  the  logical  parti-
tion, whether or
		     not they are stale.
		     Postpones	writes	for  this volume group on
other active
		     concurrent cluster nodes until this sync op-
eration is
   -H		      complete.  When  using  the -H flag, the -P
flag does not
		     require that all the nodes  on  the  cluster
support the -P
		     flag.  This  flag	is  ignored if the volume
group is not
		     varied on in concurrent mode.
   -i		     Reads the names from standard input.
   -l		     Specifies that the Name parameter represents
a logical
		     volume device name.
   -p		     Specifies that the Name parameter represents
a physical
		     volume device name.
		     Numbers of logical partitions to be synchro-
nized in
		     parallel. The valid range for NumParallelLps
is 1 to 32.
		     NumParallelLps must be tailored to  the  ma-
chine, disks in
		     the volume group, system resources, and vol-
ume group
		     mode.

   -P NumParallelLps When a volume group is varied on in  concur-
rent mode, all
		     other  cluster  nodes  that have this volume
group varied
		     must be at least AIX 4.3.0, otherwise syncvg
will ignore
		     this option and continue.

		     Note:
		     See Description above for more information.
   -v		     Specifies that the Name parameter represents
a volume
		     group device name.

  Examples

    1. To synchronize the copies on physical volumes hdisk04  and
hdisk05,
       enter:

	 syncvg
 -p hdisk04 hdisk05

    2.	To synchronize the copies on volume groups vg04 and vg05,
enter:

	 syncvg
 -v vg04 vg05

  Files

   /usr/sbin/syncvg Contains the syncvg command.
   /tmp 	     Directory	where  the  temporary  files  are
stored and while
		    the command is running.

  Related Information

   The varyonvg command.

   The Logical volumn storage in Operating system and device man-
agement
   explains the Logical Volume Manager, physical volumes, logical
volumes,
   volume  groups, organization, ensuring data integrity, and al-
location
   characteristics.

   The System management interface tool in Operating  system  and
device
   management  explains the structure, main menus, and tasks that
are done
   with SMIT.

________________________________________________________________________________

		      Commands Reference, Volume 5, s - u

syncvg_Command

  Purpose

   Synchronizes logical volume copies that are not current.

  Syntax

   syncvg [ -f ] [ -i ] [ -H ] [ -P NumParallelLps ] { -l |
   -p | -v } Name ...

  Description

   The syncvg command synchronizes the physical partitions, which
are copies
   of the original physical partition, that are not current.  The
syncvg
   command can be used with logical volumes, physical volumes, or
volume
   groups, with the Name parameter representing the logical  vol-
ume name,
   physical  volume  name, or volume group name. The synchroniza-
tion process
   can be time consuming, depending on the hardware  characteris-
tics and the
   amount of data.

   When  the  -f flag is used, a good physical copy is chosen and
propagated to
   all other copies of the logical partition, whether or not they
are stale.
   Using this flag is necessary in cases where the logical volume
does not
   have the mirror write consistency recovery.

   Unless disabled, the copies within a volume group are synchro-
nized
   automatically  when the volume group is activated by the vary-
onvg
   command.

   Note:
   For the sycnvg command to be successful,  at  least	one  good
copy of the
   logical  volume should be accessible, and the physical volumes
that
   contains this copy should be in ACTIVE state. If the -f option
is used,
   the above condition applies to all mirror copies.

   If the -P option is not specified, syncvg will check for the
   NUM_PARALLEL_LPS environment variable. The value of NUM_PARAL-
LEL_LPS will
   be used to set the number of logical partitions to be synchro-
nized in
   parallel.

  Flags

		     Specifies a good physical copy is chosen and
propagated
   -f		     to all other copies of  the  logical  parti-
tion, whether or
		     not they are stale.
		     Postpones	writes	for  this volume group on
other active
		     concurrent cluster nodes until this sync op-
eration is
   -H		      complete.  When  using  the -H flag, the -P
flag does not
		     require that all the nodes  on  the  cluster
support the -P
		     flag.  This  flag	is  ignored if the volume
group is not
		     varied on in concurrent mode.
   -i		     Reads the names from standard input.
   -l		     Specifies that the Name parameter represents
a logical
		     volume device name.
   -p		     Specifies that the Name parameter represents
a physical
		     volume device name.
		     Numbers of logical partitions to be synchro-
nized in
		     parallel. The valid range for NumParallelLps
is 1 to 32.
		     NumParallelLps must be tailored to  the  ma-
chine, disks in
		     the volume group, system resources, and vol-
ume group
		     mode.

   -P NumParallelLps When a volume group is varied on in  concur-
rent mode, all
		     other  cluster  nodes  that have this volume
group varied
		     must be at least AIX 4.3.0, otherwise syncvg
will ignore
		     this option and continue.

		     Note:
		     See Description above for more information.
   -v		     Specifies that the Name parameter represents
a volume
		     group device name.

  Examples

    1. To synchronize the copies on physical volumes hdisk04  and
hdisk05,
       enter:

	 syncvg
 -p hdisk04 hdisk05

    2.	To synchronize the copies on volume groups vg04 and vg05,
enter:

	 syncvg
 -v vg04 vg05

  Files

   /usr/sbin/syncvg Contains the syncvg command.
   /tmp 	     Directory	where  the  temporary  files  are
stored and while
		    the command is running.

  Related Information

   The varyonvg command.

   The Logical volumn storage in Operating system and device man-
agement
   explains the Logical Volume Manager, physical volumes, logical
volumes,
   volume  groups, organization, ensuring data integrity, and al-
location
   characteristics.

   The System management interface tool in Operating  system  and
device
   management  explains the structure, main menus, and tasks that
are done
   with SMIT.