Sponsored Content
Operating Systems AIX Stale PPs in AIX, failed disks.. how to replace? Post 302922693 by c3rb3rus on Monday 27th of October 2014 07:42:31 PM
Old 10-27-2014
Thanks for the reply bakunin.

Going down what you suggested, I ran...

Code:
# varyonvg -fnr vg_usr1
0516-1293 varyonvg: Volume group is currently in read-write mode.
        Use varyoffvg before varyon volume group in different mode.

So now I try.. "varyoffvg -s vg_usr1".

According to man varyoffvg, -s puts group in system maintenance mode..

But also no luck..

Code:
# varyoffvg -s vg_usr1
0516-012 lvaryoffvg: Logical volume must be closed.  If the logical
        volume contains a filesystem, the umount command will close
        the LV device.
0516-942 varyoffvg: Unable to vary off volume group vg_usr1.


So, keep going.. unmount /usr1 and I get..

Code:
umount: 0506-349 Cannot unmount /dev/lv_usr1: The requested resource is busy.

Figured out what resources are using /usr1 via fuser and got rid of them, was able to run varyoffvg -s vg_usr1 fine this time.

Next I ran varyoffvg -s vg_usr1, it worked but varyonvg still complained about read-write mode, so ran varyoffvg without the -s switch, it took it and was able to run varyonvg -fnr vg_usr1 fine.

Code:
# varyonvg -fnr vg_usr1
PV Status:      hdisk0  00044d4dfbb11575        PVACTIVE
                hdisk1  0000150179158027        PVACTIVE
                hdisk2  00001501791582c2        PVACTIVE
                hdisk3  000015013a9148db        PVMISSING
                hdisk4  00001501791587df        PVACTIVE
                hdisk5  0000150179158a75        PVACTIVE
                hdisk6  00001501792ff38b        PVACTIVE
                hdisk7  00001501792ff659        PVACTIVE
                hdisk8  000015019dbd4c34        PVACTIVE
                hdisk9  0000150178bb04a2        PVACTIVE
                hdisk22 000015019dbd4ed5        PVACTIVE
                hdisk24 00001501791bf1c6        PVACTIVE
                hdisk25 00001501791bf48f        PVACTIVE
                hdisk26 00001501791bf72e        PVACTIVE
                hdisk27 00001501791bfa40        PVACTIVE
                hdisk28 00001501791bfce5        PVACTIVE
                hdisk29 00001501791bff84        PVACTIVE
                hdisk30 00001501792ff909        PVACTIVE
                hdisk31 00001501792ffbcc        PVMISSING
                hdisk32 00001501caf49d70        PVACTIVE
                hdisk33 0000150179310ec5        PVACTIVE
                hdisk34 000015010dd840e2        PVACTIVE
varyonvg: Volume group vg_usr1 is varied on.

I have attached the "map.txt" file which is the output of lslv -m for lv_usr1.. any pointers on analyzing this file to check and see if data is missing?

Am I looking to see that a LP# is not on both failed disks?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Disks on AIX

Hello I've been working on AIX 5.3 ML3 on IBM pSeries520. That server has 6 HDD drives in 3 volume groups (1+mirror in each group). I must check which phisical disk is which disk in the system. For ex. I want to know that disk in 4th slot in the machine is marked as hdisk5 on AIX. Does anybody... (2 Replies)
Discussion started by: piooooter
2 Replies

2. AIX

Replace a Failed Root Disk in AIX

My root disk is failed and how to replace the root disk in AIX. Can u give a detailed explanation in step wise. Pls give the answer taking different scenarios. Regards Praveen (1 Reply)
Discussion started by: chinnu_mulakala
1 Replies

3. AIX

system disks on aix 5.3

hello i'm running on P570 box aix 5.3 8 cpus 24G ram there are 1850 users loged in to this box the problem is that the two sysytem disks busy all the time hdisk0 100% busy hdisk1 100% busy some one have an idea what writing to this disks? thanks ariec (9 Replies)
Discussion started by: ariec
9 Replies

4. AIX

Configurin EMC SAN disks on AIX

This may sound like an absolute rookie question, and it is. I have been working on Migrating our HP and Solaris servers to the new EMC SAN and know the routines backwards. Now we've suddenly got a new IBM server and I don't even know how to check if it is connected to the switch. Can someone... (1 Reply)
Discussion started by: ronellevan
1 Replies

5. AIX

Configuring new disks on AIX cluster

We run two p5 nodes running AIX 5L in a cluster mode (HACMP), both the nodes share external disk arrays. Only the primary node can access the shared disks at a given point of time. We are in the process of adding two new disks to the disk arrays so as to make them available to the existing... (3 Replies)
Discussion started by: dnicky
3 Replies

6. Solaris

Command to find the failed disks in SVM and VxVM

How to find & replace bad disks in solaris & VXVM?plz explain step by step? (2 Replies)
Discussion started by: xtreams
2 Replies

7. AIX

Issue with increasing size of SAN disks on AIX

HI, I have had an issue last night while trying to extend a filesystsem . chvg -g <vg> command cameback with an error 0516-1790 chvg: Failed bootinfo -s hdisk9. Ensure the physical volume is available and try again. 0516-732 chvg: Unable to change volume group u01vg. the VG has 1... (1 Reply)
Discussion started by: xmen01
1 Replies

8. AIX

How to reclaim hard disks and IP's in AIX?

Hello I recently received a request to reclaim hard disks and IP addresses within an AIX system(s). THe file systems are no longer in use and the client has indicated that it is OK to remove them and reclaim the disks and release the IP's. Now, since the file systems belong to a Volume group I... (8 Replies)
Discussion started by: Joseph Sabo
8 Replies

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

10. UNIX for Beginners Questions & Answers

DISKs are gone after shutting down and replace an FC card

Hi there, I had issue with one of MY FC cards on T4-2 servers so system team replace it and start the machine but when launch FORMAT command so I don't see my shared disks coming from storage controller. i have checked at the Fabric switch so WWN numbers are visible and zones are ok and after... (1 Reply)
Discussion started by: janakors
1 Replies
All times are GMT -4. The time now is 01:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy