Sponsored Content
Full Discussion: AIX - stale partition
Operating Systems AIX AIX - stale partition Post 303038496 by rbatte1 on Wednesday 4th of September 2019 01:00:32 PM
Old 09-04-2019
My apologies for being away for a few days. There should be no difference with the process because they will both do the same thing. If the lost LUN is now available and visible to the volume group, then the sync, however it runs will have to read the appropriate physical partitions from the good side and copy them to the stale side if the PP has been updated. It will not copy the data if the PP has not updated, but for a large LV, this process can take some time to complete.

You should be able to monitor it from another session so you get an idea of progress and see the stale PP count reducing.




Robin
This User Gave Thanks to rbatte1 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix Stale Mounts

Is there an easy way to find all stale mounts on a system? (2 Replies)
Discussion started by: derf912
2 Replies

2. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

3. UNIX for Dummies Questions & Answers

removing stale partitions

hi, i was trying to mirror root volume group and the command i was using didnt respond for a long time mirrorvg -m rootvg hdisk1 I was checking rootvg and it gives below. how do i fix stale partitions?? it seems to be on hdisk1 LV NAME TYPE LPs PPs PVs LV STATE ... (2 Replies)
Discussion started by: karthikosu
2 Replies

4. HP-UX

Stale users and no process

HP-UX B.11.23 U ia64 I've got two users that show in "w" with long idle times but if I search for their processes I find nothing (ps -ef | grep username ) I'm not sure why "w" still sees them and if there is anything (short of a reboot) that I can do to clean them out. Ideas? (8 Replies)
Discussion started by: LisaS
8 Replies

5. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

6. AIX

AIX 5.3 using raw partition for Oracle 10g

Hellow friends, We are having AIX 5.3 total memory allotted to /Backup directory is 700GB actual used memory is 250GB ..but when i issue df -gt command to check space it is showing /Backup directory is 70% full ..how to identify root cause.? (1 Reply)
Discussion started by: umashankar1987
1 Replies

7. HP-UX

Bypass stale PE ?

Hello, I have an ancient HP-UX 11.11 system where I have a logical volume marked stale and I can't get it sync'd. I have tried lvsync and lvreduce/lvextend to no avail. It is just one 4Mb PE on the disk that I can't get current. # lvdisplay -v /dev/vg00/lvol5 | grep stale LV Status ... (17 Replies)
Discussion started by: port43
17 Replies

8. AIX

Hd6 is in stale condition

Hi friends, the paging lv hd6 is in stale condition hd6 paging 48 96 2 open/stale N/A And i'am getting the following alerts in the server 333BD283 0811044814 U S LVDD Bad block detected with no relocation al 333BD283 0811041114 U S LVDD ... (1 Reply)
Discussion started by: Mohamed Thamim
1 Replies

9. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

10. AIX

Stale PPs in AIX, failed disks.. how to replace?

I have a AIX 7.1 system that has 3 failed disks, 1 in rootvg and 2 in vg_usr1. Here is the output of lspv. # lspv hdisk0 00044d4dfbb11575 vg_usr1 active hdisk1 0000150179158027 vg_usr1 active hdisk2 ... (11 Replies)
Discussion started by: c3rb3rus
11 Replies
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.
All times are GMT -4. The time now is 03:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy