Sponsored Content
Full Discussion: removing stale partitions
Top Forums UNIX for Dummies Questions & Answers removing stale partitions Post 302096553 by karthikosu on Thursday 16th of November 2006 08:44:41 AM
Old 11-16-2006
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

Code:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
hd5                 boot       1     1     1    closed/syncd  N/A
hd6                 paging     128   256   2    open/syncd    N/A
hd8                 jfs2log    1     2     2    open/syncd    N/A
hd4                 jfs2       1     2     2    open/syncd    /
hd2                 jfs2       15    30    2    open/syncd    /usr
hd9var              jfs2       8     16    2    open/stale    /var
hd3                 jfs2       16    32    2    open/stale    /tmp
hd1                 jfs2       1     2     2    open/stale    /home
hd10opt             jfs2       2     4     2    open/stale    /optlg_dump
lv           sysdump    16    16    1    open/syncd    N/A
loglv00             jfslog     1     2     2    open/stale    N/A
lv00                jfs        63    126   2    open/stale    /usr/sys/inst.images
lv01                jfs        63    126   2    open/stale    /tmp/stats
fslv00              jfs2       2     4     2    open/stale    /opt/Tivoli


Last edited by Yogesh Sawant; 01-27-2011 at 09:54 AM.. Reason: added code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Stale NFS file handle

Hi, I get an error saying "Stale NFS file handle" how can I solve this? Is it possible to do this with a umount/ mount command? (5 Replies)
Discussion started by: rein
5 Replies

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

3. HP-UX

lov4 stale found in lvdisplay

hi All I have one RP 3410 server with hp-ux 11.23 mirror disk it's lvdislay -v /dev/vg00/lvol4 shows stale in some location Actual is current pls help me to resolve the probem I have check with lvsync command and vgsync but not working re Rajesh (1 Reply)
Discussion started by: rajeshtt32
1 Replies

4. UNIX and Linux Applications

Stale NFS file handle

There are a filesystem /GWD/appbase/projects/GRIDDB Under this filesystem there is a directory called backup. But When I am trying to access the backup directory ,it is showing me the following error: # cd /GWD/appbase/projects/GRIDDB # cd backup -bash: cd: backup: Stale NFS file handle ... (3 Replies)
Discussion started by: alphasahoo
3 Replies

5. Linux

grub error 22,after removing linux partitions only windows is threre.Pc not booting.i

hi, in my pc linux and windows was there with 2 hdd in raid.i removed linux partititons.Now my ps is not booting giving grub error 22.Nothing works.I hace my data in windows.Hard disks are RAID.when tried to go to recovery mode from windoes boot cd,it says hard disk not detected.when tried with... (2 Replies)
Discussion started by: pankajd
2 Replies

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

7. Solaris

Stale lock installed for pkgadd

Any package that I try to install, is giving an error of 'lock': # pkgadd -d openssl-1.0.0g-sol10-sparc-local The following packages are available: 1 SMCossl openssl (sparc) 1.0.0g Select package(s) you wish to process (or 'all' to process all packages).... (2 Replies)
Discussion started by: poyato
2 Replies

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

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

10. AIX

AIX - stale partition

Hi everybody, I have a little problem with my AIX 6.1, PowerHA 6.1 LVM mirror. After problem with SAN pathing of our one Datacenter, I have LV at stale state. # lsvg cpsdata2vg VOLUME GROUP: cpsdata2vg VG IDENTIFIER: 00fb518c00004c0000000169445f4c2c VG STATE: ... (6 Replies)
Discussion started by: Necronomic
6 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 06:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy