1829067 Members
2452 Online
109986 Solutions
New Discussion

Re: root disk problem

 
SOLVED
Go to solution
DAVID99_1
Advisor

root disk problem

Dear All experts ,
here i am attaching output as per you all request.i am not getting what the problem is
One harddisk(it's belongs to mirror)is not blinking currently the system doesn't have
ignite Please kindly advice on how to fix this problem?
Anybody can help on this issue?
Appreciate for your kind advice.

regards
david
24 REPLIES 24
DAVID99_1
Advisor

Re: root disk problem

sorry i forgot to attach output,
kindly you all get it here.
regards
david
Torsten.
Acclaimed Contributor
Solution

Re: root disk problem

Why opening a new thread and not continue the other???

However, looks like the disk was "absent" during boot; just try to do

# vgchange -a y vg00

and check with

# vgdisplay -v vg00

again.

If not successful, the disk may be bad and needs replacement.

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!   
Hakki Aydin Ucar
Honored Contributor

Re: root disk problem

BUPA IS
Respected Contributor

Re: root disk problem

Hello ,
It is likely that the missing disk is faulty. Please have a read of this document

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

it describes the procedures for replacing lvm disks

I hope this is of some use
Mike
Help is out there always!!!!!
SUDHAKAR_18
Trusted Contributor

Re: root disk problem

#dd if=/dev/dsk/c2t0d0 of=/dev/null bs=2048

Please check with this.

also check disk LED is blinking or not while running dd
Arunabha Banerjee
Valued Contributor

Re: root disk problem

Hello,

Please check following log files.

/var/adm/syslog/syslog.log &
/var/opt/resmon/log/event.log

Also you can check cstm log.

# cstm
cstm>map
cstm>sel dev
cstm>info
cstm>il

Then check in Error Logs section are there any Read Errors/Write Errors ...
AB
Chandrahasa s
Valued Contributor

Re: root disk problem

Hi,

Try

diskinfo /dev/rdsk/c2t0d0

dd if=/dev/dsk/c2t0d0 of=/dev/null bs=1024
ctrl+c

if diskinfo and dd works fine.


#lvdisplay -v -k /dev/vg00/lvol1

here you can get key for disk c2t0d0
lvreduce -k -m 0 /dev/vg00/lvol1 key

do same for all lv.

vgreduce -f vg00

take backup of /etc/lvmtab
rm /etc/lvmtab
vgscan -v

pvcreate -f /dev/rdsk/c2t0d0

vgextend vg00 /dev/dsk/c2t0d0

lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t0d0

do for all lvs.


Chandra

Bijeesh
Respected Contributor

Re: root disk problem

Hi,
Your current primary boot disk is c2t0d0. (which is now showing down/error).
Alternate boot disk path configured is 0/0/2/0.3.0 (which is not now in your ioscan -fn o/p)
The path of the root disk which is running is 0/1/1/1.2.0.(/dev/dsk/c3t2d0)
Check if it is a bootable disk.(because it is not showing in your lvlnboot -v o/p).
#lifls -l /dev/rdsk/c3t2d0
#lifcp /dev/rdsk/c3t2d0:AUTO -
If it is not, configure it as bootable disk,do following (LIF/BDRA configuration-steps till lvlnboot -v)
# mkboot -l /dev/rdsk/c3t2d0
# mkboot -a 'hpux -lq' /dev/rdsk/c3t2d0
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2
# lvlnboot -v

#setboot -b 0/1/1/1.2.0
Also keep backup of lvmtab and vg00.conf
#cp /etc/lvmtab /etc/lvmtab.bak
#cp /etc/lvmconf/vg00.conf /etc/vg00.conf.bak
After this, replace the bad disk and do,
# vgcfgrestore -n vg00 /dev/rdsk/c2t0d0
# vgchange -a y vg00
Continue the LIF/BDRA configuration for the new disk.
If all previous steps were working fine,do
#vgsync vg00
DAVID99_1
Advisor

Re: root disk problem

Hi,

I tried all of yours advice up to Chandra.

the o/p of DD is
#dd if=/dev/dsk/c2t0d0 of=/dev/null bs=1024
/dev/dsk/c2t0d0: I/O error
dd:cannot open /dev/dsk/c2t0d0

please give me a conformation ,my hard disk is failed or not. if its failed

What i have to do, please guide me?
Customer have new hard disk with same configuration(GB and all)

regards
David Raj
Horia Chirculescu
Honored Contributor

Re: root disk problem

Hello David.

As I said on your other thread, there is a step by step document related to bad disk problems. Please read:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Best regards from Romania,
Horia.
DAVID99_1
Advisor

Re: root disk problem

Hi Horia

our Server Model is rp3440 and OS is 11.11.

as per above (o/p) can we conform wether the H/D Failed or Not.

Regards
david
Horia Chirculescu
Honored Contributor

Re: root disk problem

You must runn the steps provided on the pdf document, at
"Confirming Disk Failure" - page 12.

What about syslog? Any entries in the log about this disk?

Best regards,
Horia.
Best regards from Romania,
Horia.
DAVID99_1
Advisor

Re: root disk problem

hi horia

it clearly showing as claimed in ioscan
but
diskinfo,pvdisplay ...not
just give a conformation can i replace a disk according to that Document.
Is that document supports on 11.11
Horia Chirculescu
Honored Contributor

Re: root disk problem

>it clearly showing as claimed in ioscan
>but
>diskinfo,pvdisplay ...not

How about dd (read test)? And do you have any messages logged in syslog (cat /var/adm/syslog/syslog.log)?


>just give a conformation can i replace a >disk according to that Document.
>Is that document supports on 11.11


Yes, this document cover 11.11 and up both on PA-RISC and Integrity.

Best regards,
Horia.



Best regards from Romania,
Horia.
Chandrahasa s
Valued Contributor

Re: root disk problem

Hi,

As i said in earlier post did you conform disk status using dd and diskinfo.

if both output ok.

Then you can very will go head with my earlier steps.

This looks like vgid detais of vg00 is got removed from disk .

Chandra
DAVID99_1
Advisor

Re: root disk problem

thanks to Horia/Chandra..

as per Chandra's state the H/D is good right?
DAVID99_1
Advisor

Re: root disk problem

chandra it wont gives the
#diskinfo
#dd-----
Bijeesh
Respected Contributor

Re: root disk problem

>>>the o/p of DD is
#dd if=/dev/dsk/c2t0d0 of=/dev/null bs=1024
/dev/dsk/c2t0d0: I/O error
dd:cannot open /dev/dsk/c2t0d0

Try with the raw device,(rdsk),

#dd if=/dev/rdsk/c2t0d0 of=/dev/null bs=1024 count=100




Chandrahasa s
Valued Contributor

Re: root disk problem

Hi,

Whats error your getting when your using

dd
and
diskinfo

Chandra
DAVID99_1
Advisor

Re: root disk problem

hi
dd is giving
====
dd read error :I/O error
0+0 records in
0+0 records out
DAVID99_1
Advisor

Re: root disk problem

diskinfo is showing perfect and ioscan also shows claimed.
DAVID99_1
Advisor

Re: root disk problem

all lvm s are in stale position.
DAVID99_1
Advisor

Re: root disk problem

during the execution of dd command HardDisk is getting green led.
Chandrahasa s
Valued Contributor

Re: root disk problem

Hi,

Go ahead with procedure which mentioned in earlier post.

Chandra