Operating System - HP-UX
1829913 Members
3012 Online
109993 Solutions
New Discussion

one disk of vg00 is unavailable.

 
SOLVED
Go to solution
praveen..
Super Advisor

one disk of vg00 is unavailable.

Hi All,
i am facing one problem that one disk of vg00 is unavailable.

#vgdisplay -v /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 13
Open LV 13
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 7890
Free PE 858
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/stale
LV Size (Mbytes) 128
Current LE 8
Allocated PE 16
Used PV 2

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 24576
Current LE 1536
Allocated PE 3072
Used PV 2

LV Name /dev/vg00/lvol3
LV Status available/stale
LV Size (Mbytes) 256
Current LE 16
Allocated PE 32
Used PV 2

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 256
Used PV 2

LV Name /dev/vg00/lvol5
LV Status available/stale
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 512
Used PV 2

LV Name /dev/vg00/lvol6
LV Status available/stale
LV Size (Mbytes) 2320
Current LE 145
Allocated PE 290
Used PV 2

LV Name /dev/vg00/lvol7
LV Status available/stale
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 512
Used PV 2

LV Name /dev/vg00/lvol8
LV Status available/stale
LV Size (Mbytes) 3072
Current LE 192
Allocated PE 384
Used PV 2

LV Name /dev/vg00/lvol9
LV Status available/stale
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 512
Used PV 2

LV Name /dev/vg00/oracle
LV Status available/stale
LV Name /dev/vg00/oracle
LV Status available/stale
LV Size (Mbytes) 8192
Current LE 512
Allocated PE 1024
Used PV 2

LV Name /dev/vg00/ora
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 128
Used PV 2

LV Name /dev/vg00/laoracle
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 512
Allocated PE 1024
Used PV 2

LV Name /dev/vg00/home
LV Status available/stale
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 128
Used PV 2


--- Physical volumes ---
PV Name /dev/dsk/c0t6d0
PV Status available
Total PE 4374
Free PE 429
Autoswitch On

PV Name /dev/dsk/c3t6d0
PV Status unavailable
Total PE 4374
Free PE 429
Autoswitch On




It is showing PV status unavailable.


# pvdisplay /dev/dsk/c3t6d0
--- Physical volumes ---
PV Name /dev/dsk/c3t6d0
VG Name /dev/vg00
PV Status unavailable
Allocatable yes
VGDA 2
Cur LV 13
PE Size (Mbytes) 16
Total PE 4374
Free PE 429
Allocated PE 3945
Stale PE 646
IO Timeout (Seconds) default
Autoswitch On


Please find the attached file for more server's details.

please suggest what should i do?

by using which command, i can try to make this disk available.

1. #vgchange -a y vg00
2. #dd if=/dev/rdsk/c3t6d0 of=/dev/null bs=1024k
3. #vgsync /dev/vg00


will the above commands will effect on my running server, i dont want to lose my vg00.

will i loose vg00 using above commands, i will OS installed in this VG.
8 REPLIES 8
Sandy Chen
Honored Contributor
Solution

Re: one disk of vg00 is unavailable.

Hi Praveen,

Seems to me you have your vg00 mirrored.
You should replace the disk /dev/dsk/c3t6d0 and then do:

# vcfgrestore /dev/vg00 /dev/dsk/c3t6d0
# vgsync /dev/vg00
I never think of the future. It comes soon enough.
sajeer_2
Regular Advisor

Re: one disk of vg00 is unavailable.


It seems disk /dev/dsk/c3t6d0 is faulty.

check ioscan -fnC disk
Check syslog for error message.Check the lights on Disks. is there any fault light on disk?.

If the disk is faulty,replace it.Otherwise try to activate the disk using
#vgchange -a y vg00 command.

once you replace the faulty disk,
do
ioscan -fnC disk (it will show you the disk available)
#vgcfgrestore -n /dev/vg00 /dev/rdsk/c3t6d0

#vgsync vg00




rariasn
Honored Contributor

Re: one disk of vg00 is unavailable.

Hi praveen,

If production, open "hardware" incident with to hp service.

- no vgcfgbackup.
- no extract disk

rgs,

ran
Tvs
Regular Advisor

Re: one disk of vg00 is unavailable.

hi

the disk is /dev/dsk/c3t6d0 a faulty disk.

try diskinfo /dev/rdsk/c3t6d0 . whether it is giving any info . and try ioscan -fnC disk, and check the status.

replace thd disk.

then

vgcfgrestore â n /dev/vg00 /dev/rdsk/c3t6d0
vgcahnge â ay /dev/vg00
vgsync /dev/vg00
mkboot /dev/rdsk/c3t6d0
mkboot â a â hpux â lq /stand/vmunix â /dev/rdsk/c3t6d0

for checking the disk and mirroring try to boot from the repalce disk.
praveen..
Super Advisor

Re: one disk of vg00 is unavailable.

# diskinfo /dev/rdsk/c3t6d0
SCSI describe of /dev/rdsk/c3t6d0:
vendor: HP 73.4G
product id: ST373307LC
type: direct access
size: 71687369 Kbytes
bytes per sector: 512


#diskinfo /dev/rdsk/c0t6d0
SCSI describe of /dev/rdsk/c0t6d0:
vendor: HP 73.4G
product id: ST373307LC
type: direct access
size: 71687369 Kbytes
bytes per sector: 512




I am going to replace the disk c3t6d0,

please let me know any precautions and the commands which i need to use after replace the disk.
James R. Ferguson
Acclaimed Contributor

Re: one disk of vg00 is unavailable.

Hi Praveen:

The best guide to disk replacement scenarios is this:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

Regards!

...JRF...
nanan
Trusted Contributor

Re: one disk of vg00 is unavailable.

Hi prveen
The device is OS mirror
I posted the procedure of OS mirror disk replacement

Regards
nanan
praveen..
Super Advisor

Re: one disk of vg00 is unavailable.

I have opened a new thread:
how to make the disk bootable?


Thanks