Sponsored Content
Full Discussion: Bypass stale PE ?
Operating Systems HP-UX Bypass stale PE ? Post 302905233 by port43 on Tuesday 10th of June 2014 01:05:35 PM
Old 06-10-2014
Ah, yes, there are three disks in use on each controller. Whoever initially set this up wasn't thinking and didn't keep the mirrors on distinct controllers since some volumes have data on both sides but the mirror on the other. For instance:
Code:
 # lvdisplay -v /dev/vg00/lvol5
--- Logical volumes ---
LV Name                     /dev/vg00/lvol5
VG Name                     /dev/vg00
LV Permission               read/write
LV Status                   available/stale
Mirror copies               1
Consistency Recovery        MWC
Schedule                    parallel
LV Size (Mbytes)            3584
Current LE                  896
Allocated PE                1792
Stripes                     0
Stripe Size (Kbytes)        0
Bad block                   on
Allocation                  strict
IO Timeout (Seconds)        default

   --- Distribution of logical volume ---
   PV Name            LE on PV  PE on PV
   /dev/dsk/c5t5d0    583       583
   /dev/dsk/c9t3d0    313       313
   /dev/dsk/c9t5d0    896       896

   --- Logical extents ---
   LE    PV1                PE1   Status 1 PV2                PE2   Status 2
   00000 /dev/dsk/c5t5d0    00818 current  /dev/dsk/c9t5d0    00818 current
   00001 /dev/dsk/c5t5d0    00819 current  /dev/dsk/c9t5d0    00819 current
   00002 /dev/dsk/c5t5d0    00820 current  /dev/dsk/c9t5d0    00820 current
   00003 /dev/dsk/c5t5d0    00821 current  /dev/dsk/c9t5d0    00821 current
   ... (more of the same until)
   00579 /dev/dsk/c5t5d0    02165 current  /dev/dsk/c9t5d0    01397 current
   00580 /dev/dsk/c5t5d0    02166 current  /dev/dsk/c9t5d0    01398 current
   00581 /dev/dsk/c5t5d0    02167 current  /dev/dsk/c9t5d0    01399 current
   00582 /dev/dsk/c5t5d0    02168 current  /dev/dsk/c9t5d0    01400 current
   00583 /dev/dsk/c9t3d0    00000 current  /dev/dsk/c9t5d0    01401 current
   00584 /dev/dsk/c9t3d0    00001 current  /dev/dsk/c9t5d0    01402 current
   00585 /dev/dsk/c9t3d0    00002 current  /dev/dsk/c9t5d0    01403 current
   00586 /dev/dsk/c9t3d0    00003 current  /dev/dsk/c9t5d0    01404 current
   ... (and still more up to the stale PE)
   00650 /dev/dsk/c9t3d0    00067 current  /dev/dsk/c9t5d0    01468 current
   00651 /dev/dsk/c9t3d0    00068 current  /dev/dsk/c9t5d0    01469 current
   00652 /dev/dsk/c9t3d0    00069 current  /dev/dsk/c9t5d0    01470 stale
   00653 /dev/dsk/c9t3d0    00070 current  /dev/dsk/c9t5d0    01471 current
   00654 /dev/dsk/c9t3d0    00071 current  /dev/dsk/c9t5d0    01472 current
   ... (and on until the bottom)
   00893 /dev/dsk/c9t3d0    00710 current  /dev/dsk/c9t5d0    01711 current
   00894 /dev/dsk/c9t3d0    00711 current  /dev/dsk/c9t5d0    01712 current
   00895 /dev/dsk/c9t3d0    00712 current  /dev/dsk/c9t5d0    01713 current

So if I lose controller 1/10/0 I lose lvol5. But that's a whole other issue.
 

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

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

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

6. AIX

how to remove the stale entry without a reboot??

my AIX server used to have scsi disk hdisk4. Now i removed that disk. But still it is still listed in lspv. So how can i remove the stale entry of it ? (6 Replies)
Discussion started by: navadeep
6 Replies

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

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

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
volfs(7FS)							   File Systems 							volfs(7FS)

NAME
volfs - Volume Management file system DESCRIPTION
volfs is the Volume Management file system rooted at root_dir. The default location for root-dir is /vol, but this can be overridden using the -d option of vold (see vold(1M)). This file system is maintained by the Volume Management daemon, vold, and will be considered to be /vol for this description. Media can be accessed in a logical manner (no association with a particular piece of hardware), or a physical manner (associated with a particular piece of hardware). Logical names for media are referred to through /vol/dsk and /vol/rdsk. /vol/dsk provides block access to random access devices. /vol/rdsk provides character access to random access devices. The /vol/rdsk and /vol/dsk directories are mirrors of one another. Any change to one is reflected in the other immediately. The dev_t for a volume will be the same for both the block and character device. The default permissions for /vol are mode=0555, owner=root, group=sys. The default permissions for /vol/dsk and /vol/rdsk are mode=01777, owner=root, group=sys. Physical references to media are obtained through /vol/dev. This hierarchy reflects the structure of the /dev name space. The default per- missions for all directories in the /vol/dev hierarchy are mode=0555, owner=root, group=sys. mkdir(2), rmdir(2), unlink(2) (rm), symlink(2) (ln -s), link(2) (ln), and rename(2) (mv) are supported, subject to normal file and direc- tory permissions. The following system calls are not supported in the /vol filesystem: creat(2), only when creating a file, and mknod(2). If the media does not contain file systems that can be automatically mounted by rmmount(1M), users can gain access to the media through the following /vol locations: +-----------------------------------+------------------------------------+ | Location | State of Media | +-----------------------------------+------------------------------------+ |/vol/dev/diskette0/unnamed_floppy | formatted unnamed floppy-block | | | device access | +-----------------------------------+------------------------------------+ |/vol/dev/rdiskette0/unnamed_floppy | formatted unnamed floppy-raw | | | device access | +-----------------------------------+------------------------------------+ |/vol/dev/diskette0/unlabeled | unlabeled floppy-block device | | | access | +-----------------------------------+------------------------------------+ |/vol/dev/rdiskette0/unlabeled | unlabeled floppy-raw device access | +-----------------------------------+------------------------------------+ |/vol/dev/dsk/c0t6/unnamed_cdrom | CD-ROM-block device access | +-----------------------------------+------------------------------------+ |/vol/dev/rdsk/c0t6/unnamed_cdrom | CD-ROM-raw device access | +-----------------------------------+------------------------------------+ For more information on the location of CD-ROM and floppy media, see System Administration Guide: Basic Administration or rmmount(1M). Partitions Some media support the concept of a partition. If the label identifies partitions on the media, the name of the media becomes a directory with partitions under it. Only valid partitions are represented. Partitions cannot be moved out of a directory. For example, if disk volume 'foo' has three valid partitions, 0, 2, and 5, then: /vol/dsk/foo/s0 /vol/dsk/foo/s2 /vol/dsk/foo/s5 for block access and /vol/rdsk/foo/s0 /vol/rdsk/foo/s2 /vol/rdsk/foo/s5 for character access. If a volume is relabeled to reflect different partitions, the name space changes to reflect the new partition layout. A format program can check to see if there are others with the volume open and not allow the format to occur if it is. Volume Management, however, does not explicitly prevent the rewriting of a label while others have the volume open. If a partition of a volume is open, and the volume is relabeled to remove that partition, it will appear exactly as if the volume were missing. A notify event will be generated and the user may cancel the operation with volcancel(1), if desired. SEE ALSO
volcancel(1), volcheck(1), volmissing(1) rmmount(1M), vold(1M), rmmount.conf(4), vold.conf(4) System Administration Guide: Basic Administration SunOS 5.10 8 Feb 1995 volfs(7FS)
All times are GMT -4. The time now is 12:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy