1831340 Members
3573 Online
110024 Solutions
New Discussion

Logical Volume Error

 
Amit Dixit_2
Regular Advisor

Logical Volume Error

Hi,
I am having an HP-UX D Class 9000 series
server.
When I booted the server today I got an
error message
device /dev/vg03/lvol12 not repsonding.

How should I recover and If the disk is
damage will the new disk I will be installing
can be added to the exisiting volume.

Thanks,
Amit.
9 REPLIES 9
Bharat Katkar
Honored Contributor

Re: Logical Volume Error

try doing
# vgdisplay -v /dev/vg03
Locate the PV which is used by lvol12
the see if this works:
#lvdisplay -v /dev/vg03/lvol12


You need to know a lot to actually know how little you know
Amit Dixit_2
Regular Advisor

Re: Logical Volume Error

Hi,
When I give
vgdisplay -v /dev/vg03
It displays
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume
group "/dev/vg03".

Thanks,
Amit.
V.Tamilvanan
Honored Contributor

Re: Logical Volume Error

Hi,

#vgchange -a y /dev/vg03
#mount -a

Give the output .
Joseph Loo
Honored Contributor

Re: Logical Volume Error

hi,

check the logical volume again:

# lvdisplay -v /dev/vg03/lvol12 |grep stale
if there is some output, it means your disk may be corrupted.
# dmesg
to check if there are any messages like
.... lbolt ... or
SCSI reset ....

if the above is true, try also:

# ioscan -fnC disk
to check if any disk is unclaimed.

if all the above is true, the disk is so much as corrupted.

is the logical volume /dev/vg03/lvol12 equivalent to the whole disk?

regards.
what you do not see does not mean you should not believe
Shaikh Imran
Honored Contributor

Re: Logical Volume Error

Hi,
Please try this
vgchange -a y /dev/vg03 and then
Then do fsck and then try to mount the filesystems.

Regards
I'll sleep when i am dead.
Suresh Patoria
Super Advisor

Re: Logical Volume Error

Hi,

First check the dmesg and syslog logs
whether the disk got corrupt or not.

check the vgdisplay vg03 command

if the disk is completely dead then u need to replace and u need to restore the data from back. there is no other way to recover


Thanx
Bharat Katkar
Honored Contributor

Re: Logical Volume Error

Now amit try activating the VG
# vgchange -a y /dev/vg03
# fsck /dev/dsk/rlvol12

Then try mount the FileSyetm
Hope this works
You need to know a lot to actually know how little you know
Trond Haugen
Honored Contributor

Re: Logical Volume Error

You can't access the lvols if the vg hasn't been activated (vgchange -a y vg03). Normally all vg's are automatically activated during reboot. So if this was the cause you'll need to investigate why. Where other non-vg00 vg's activated?

If the activation was OK you can mount the filesystem(s). You may need to fsck them first.

You your disk is truly "gone" the procedure of replacing it depends on how the VG is configured (mirroring, number of disks,...). You have to acktivate the vg in order to add another disk to it. Bu at the end of the day you will probably have to get your backup.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Sanjay_6
Honored Contributor

Re: Logical Volume Error

Hi Amit,

Here is a step by step guide to replace a failed disk,

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066374050

The itrc doc id is KBAN00000347.

Print it and keep it for handy refernces.

Hope this helps.

regds