Operating System - HP-UX
1753797 Members
7000 Online
108799 Solutions
New Discussion юеВ

LVM problem - commands not returning to shell prompt

 
SOLVED
Go to solution
Jim Wallace
Frequent Advisor

LVM problem - commands not returning to shell prompt

Hi gurus!

I seem to have a problem with LVM commands on a newly built UX 11.23 machine.

I can issue LVM commands (eg; lvextend/lvreduce) and they seem to execute okay, but never come back to the shell prompt!

I can't use interrupt and end up having to kill -9 the process from another screen/session.

Machine has been rebooted and problem persists.

Any suggestions much appreciated.

Thanks,
Doris
6 REPLIES 6
Torsten.
Acclaimed Contributor
Solution

Re: LVM problem - commands not returning to shell prompt

A possible reason could be a defective drive producing I/O errors and block the bus - commands will hang, because they cannot write to the disk.

Check the disks with "dd" and check the syslog for related messages.

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!   
Jim Wallace
Frequent Advisor

Re: LVM problem - commands not returning to shell prompt

Hi Torsten - Many thanks for that ... Hmmm a suspect disk ... could be the case, so I'll go find another one to try for the mirror.

Thanks,
"Doris".
Pete Randall
Outstanding Contributor

Re: LVM problem - commands not returning to shell prompt

Well, if kill -9 works then I would think that it's not waiting on a faulty disk. Usually a hung I/O request cannot be interrupted.

Do other LVM commands (vgdisplay, lvdisplay) work? Is it only command that involve this one particular disk?


Pete

Pete
Torsten.
Acclaimed Contributor

Re: LVM problem - commands not returning to shell prompt

Could you tell some more details about the hardware?

(server and storage model, connection type [scsi/fc], shared between servers, ...)

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!   
Tim Nelson
Honored Contributor

Re: LVM problem - commands not returning to shell prompt

Don't forget to simply check /var/adm/syslog/syslog.log.

Sometimes it has entries that tell you what the problem is.
Torsten.
Acclaimed Contributor

Re: LVM problem - commands not returning to shell prompt

Hi Tim, this is always one of the very first ideas ... (see above)


;-))



Maybe some more possibilities if we know more about the hardware and connection.

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!