Operating System - HP-UX
1826916 Members
3256 Online
109705 Solutions
New Discussion

Re: LVM errors - POWERFAILED

 
SOLVED
Go to solution
clefeitosa
Regular Advisor

LVM errors - POWERFAILED

Hello!!

Please, I'm with the same problem of thread below and I open a new to submit news points to the experts.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1020787

I would to know what the best value to Increasing I/O timeout.

Please, could someone give me a help?

Thanks a lot!
11 REPLIES 11
Christian Tremblay
Trusted Contributor
Solution

Re: LVM errors - POWERFAILED

30 seconds is a very long time for a disk/array to respond. You may want to increase it to 45 or even 60 seconds but your disk/array should respond within 30 seconds.

In most cases a POWERFAILED message indicates a failed disk or disk array problem.

You should look for the reason why it will not respond within 30 secs instead of increasing that value.

Michael Steele_2
Honored Contributor

Re: LVM errors - POWERFAILED

Dear Clever:

# pvchange -t 180 /dev/dsk/c#t#d#

I'd start with 180. This is a common value reccommended with EMC. However, this doc uses 300:
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062972816

# lvchange -t 60 /dev/vg##/lv#
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062952613
Support Fatherhood - Stop Family Law
clefeitosa
Regular Advisor

Re: LVM errors - POWERFAILED

Hi Christian!

Thanks for reply!

Yes you are right! 30 sec is very long time but I don't know how can I do to find this problem.

What do you suggest?

Thanks!!!
Christian Tremblay
Trusted Contributor

Re: LVM errors - POWERFAILED

You can try to read from the disk using dd

dd if=/dev/dsk/c#t#d# of=/dev/null bs=2048

if you can't read from the disk this way then it's almost sure that it's bad.

You can also try diskinfo /dev/rdsk/c#t#d#
it should return disk brand, size etc.
clefeitosa
Regular Advisor

Re: LVM errors - POWERFAILED

Hi Michael,

Thanks for reply!
I'm sorry, but I can't to see this docs that you sent the link.

Please, could you send me if isn't to big???
clever.feitosa@gmail.com or if you could to attach here.

Thanks a lot
clefeitosa
Regular Advisor

Re: LVM errors - POWERFAILED

Michael,

sorry! I see the documents!

Thanks
clefeitosa
Regular Advisor

Re: LVM errors - POWERFAILED

Experts,

How can I see the current timeout???
I'm not sure If I'm using 30 seconds.

Christian, thanks to the tips!

Thanks!!
Michael Steele_2
Honored Contributor

Re: LVM errors - POWERFAILED

Dear Cleaver:

You can see the current timeout value with pvchange.

Here are the documents, which open up for me when I click on the links, so there might be a network bandwidth problem.
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: LVM errors - POWERFAILED

Dear Cleaver:

You can see the current timeout value with pvdisplay.

Here are the documents, which open up for me when I click on the links, so there might be a network bandwidth problem.
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: LVM errors - POWERFAILED

Dear Cleaver:

Disregard my first response; The pvchange response. Use pvdisplay. And here's the second doc attachment for lvchange timeouts. Note that the first was for pvchange timeouts. And that I included the lvchange timeout because its often overlooked.
Support Fatherhood - Stop Family Law
clefeitosa
Regular Advisor

Re: LVM errors - POWERFAILED

Hello!

Thanks for all answers!!!!
Was very useful.

Michael thanks a lot!!!

Clever