Operating System - HP-UX
1753481 Members
4513 Online
108794 Solutions
New Discussion юеВ

Re: Internal disk unavailable !!

 
SOLVED
Go to solution
Anand Sreenivasan
Regular Advisor

Internal disk unavailable !!

I have a internal disk gone bad in my /dev/vg00. I have 2 disks and they are mirrored. I knew which disk in going bad and want to remove it from VG00 to replace it but when I do lvlnboot -v, This is what I get

lvlnboot -v
lvlnboot: Couldn't query physical volume "/dev/dsk/c3t2d0":
The specified path does not correspond to physical volume attached to
this volume group

The other disk in the volumegroup is /dev/dsk/c1t2d0.

Here is the output from the vgdisplay -v /dev/vg00

--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 19
Open LV 19
Max PV 16
Cur PV 2
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 8
Total PE 4340
Alloc PE 4331
Free PE 9
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 16
Allocated PE 32
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/stale
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 1024
Used PV 1

LV Name /dev/vg00/lvol6
LV Status available/stale
LV Size (Mbytes) 128
Current LE 16
Allocated PE 32
Used PV 1

LV Name /dev/vg00/lvol7
LV Status available/stale
LV Size (Mbytes) 1024
Current LE 128
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol8
LV Status available/stale
LV Size (Mbytes) 1024
Current LE 128
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol9
LV Status available/stale
LV Size (Mbytes) 1024
Current LE 128
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol10
LV Status available/stale
LV Size (Mbytes) 1024
Current LE 128
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol11
LV Status available/stale
LV Size (Mbytes) 1504
Current LE 188
Allocated PE 376
Used PV 1

LV Name /dev/vg00/lvol12
LV Status available/stale
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 1024
Used PV 1

LV Name /dev/vg00/lvol13
LV Status available/stale
LV Size (Mbytes) 504
Current LE 63
Allocated PE 126
Used PV 1

LV Name /dev/vg00/lvol14
LV Status available/stale
LV Size (Mbytes) 504
Current LE 63
Allocated PE 126
Used PV 1

LV Name /dev/vg00/lvol15
LV Status available/stale
LV Size (Mbytes) 1024
Current LE 128
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol17
LV Status available/stale
LV Size (Mbytes) 504
Current LE 63
Allocated PE 126
Used PV 1

LV Name /dev/vg00/lvol18
LV Status available/stale
LV Size (Mbytes) 256
Current LE 32
Allocated PE 64
Used PV 1

LV Name /dev/vg00/lvol19
LV Status available/stale
LV Size (Mbytes) 520
Current LE 65
Allocated PE 130
Used PV 1

LV Name /dev/vg00/lvoltmp
LV Status available/stale
LV Size (Mbytes) 5000
Current LE 625
Allocated PE 1250
Used PV 1

LV Name /dev/vg00/lvol4
LV Status available/stale
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 1024
Used PV 1

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

LV Name /dev/vg00/lvol3
LV Status available/stale
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 1024
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
PV Status available
Total PE 4340
Free PE 9
Autoswitch On

How can I make sure that the system would come up with the other disk. Any help would be appreciated !! Thanks
20 REPLIES 20
Torsten.
Acclaimed Contributor

Re: Internal disk unavailable !!

So you need to replace /dev/dsk/c3t2d0 - do you know how?


When boot you need to boot with LVM quorum mode:

ISL> hpux -lq

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
stephen peng
Valued Contributor

Re: Internal disk unavailable !!

A.S.,
try this WP,you will get what you need,completely!
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
read it carefully, and give your own try, you will be smarter about this issue.
besides, your problem is an smooth one among all these.

regards
Anand Sreenivasan
Regular Advisor

Re: Internal disk unavailable !!

Thanks for the followup. I do have that document but was thinking if there is anyway to make the other disk included in the boot list before bringing the system down. That way I dont have to boot manually !! Is it possible to make the other disk show up on the lvlnboot command ?.
R.O.
Esteemed Contributor

Re: Internal disk unavailable !!

Hi,

You have the same problem I had last week. See this post:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1426656

Regards,
"When you look into an abyss, the abyss also looks into you"
Anand Sreenivasan
Regular Advisor

Re: Internal disk unavailable !!

Only question is how did you get the system to reboot with the other disk ? Is there a way I can make sure that the system is going to use the other disk when I bring the system down to replace the faulty disk or the only option is to boot manually and then do a vgcfgrestore ? Thanks again for the help !!!
R.O.
Esteemed Contributor

Re: Internal disk unavailable !!

Hi,

I replaced the disk online, without rebooting. Are your disks hot swappable? If so and your disk is completely dead, you can replace it online. Anyway, you should read the document "When good disk go bad" linked in a post above.

Regards,
"When you look into an abyss, the abyss also looks into you"
stephen peng
Valued Contributor

Re: Internal disk unavailable !!

A.S.,
what do you mean you don't have to boot manually? use mkboot after pvcreate c3t2d0(you would be guide at the WP!),then it would be appear at lvlnboot -v, marked as boot disk. man setboot about your boot list issue.
Anand Sreenivasan
Regular Advisor

Re: Internal disk unavailable !!

I dont think my disks are hot swappable. I have to bring the system down to replace it. Looks like booting through the lvm quorum mode is the only option on the table ?.
R.O.
Esteemed Contributor

Re: Internal disk unavailable !!

Hi,

If you have to bring your system down, as said, boot from isl with "hpux -lq", to override the quorum requirement and let you activate the vg with one disk. After that, do the steps of vgcfgrestore, etc on the new disk.

Regards,
"When you look into an abyss, the abyss also looks into you"