Operating System - HP-UX
1753882 Members
7745 Online
108809 Solutions
New Discussion юеВ

Problem to mount Logical volumes

 
CSP_ALGERIA
Frequent Advisor

Problem to mount Logical volumes

hello,

We have rp 7420 machine running under hpux 11i attached to DS2300 using Scsi pci Raid card, with in 02 volume groupe vg01 et VG02, when the server start, it is bloked when trying to mount logical volumes attached to vg01 and vg02and it take sevral times.

After TOC the machine, start with single user mode, we have change the AUTO ACTIVATE VG in file /etc/lvmrc from 1 to 0 to avoid activation for vg01 and VG02 and tape init 3 commande to go in level 3.

the system become up with only vg00.

try to activate vg01 and vg02 and it was successful, but when we try to mount logical volumes, we have no response.

when we try to run the commande fsck for a logical volume with full option we have no response.

The customer has not good backup,and the data are very importante.

Note that there is no error in DS2300, and all luns are claimed when running ioscan.

is there any issue the get the data.

Best regards

Omar

Nothing in the world can take the place of persistence.
10 REPLIES 10
Simon Hargrave
Honored Contributor

Re: Problem to mount Logical volumes

I would check syslog/EMS logs for any hardware errors. Also see if you can read directly from the devices: -

dd if=/dev/dsk/cXtYdZ of=/dev/null bs=1024 count=1024

Do this on the member disks in the volume group, to see if they all respond. After this, try the same with the LV devices: -

dd if=/dev/vg01/lvol1 of=/dev/null bs=1024 count=1024

Try to find the problem that way.

Scary that the data is "important" but they have "no good backup" though :O

John Waller
Esteemed Contributor

Re: Problem to mount Logical volumes

Do lvdisplay or vgdisplay show any stale lvols or unavailable disks, also check an ioscan -fnCdisjk for NO-HW messages.
Chris Wilshaw
Honored Contributor

Re: Problem to mount Logical volumes

Are you trying to mount individual volumes, or all volumes?

If all, check the entries in /etc/fstab to ensure that they're not commented out.

Also, check the output of

vgdisplay -v /dev/vg01
vgdisplay -v /dev/vg02

to see if that shows you any more details.
morganelan
Trusted Contributor

Re: Problem to mount Logical volumes

Hi,
See your /etc/lvmtab:
#strings /etc/lvmtab
Are there vg01 and vg02 in that lvmtab?

If exist:
Check all disk raw divices of vg01 and vg02.
Example:
Let say in lvmtab, your vg01 look2 like follow:
vg01
/dev/dsk/c3t0d1
/dev/dsk/c3t0d2

Does follow:
#diskinfo /dev/rdsk/c3t0d1
#diskinfo /dev/rdsk/c3t0d2

If the raw disk stiil good, it can show you some information.

Kamal Mirdad
Rajesh SB
Esteemed Contributor

Re: Problem to mount Logical volumes

Hi,

Why don't you verify the physical connectivity like cable. As once I faced such misbehave problem with VA7450+DS2300 like slow response and possible of timeout.

We replaced one of the Fibre Cable found faulty.

Good luck

Regards,
RAjesh
Bharat Katkar
Honored Contributor

Re: Problem to mount Logical volumes

Hi Omar ,
Probably your VG Configuration is gone bad. You can give it a try by using "vgcfgrestore" command.
See man vgcfgrestore for more details.

Also go thr' the follwoing outputs thorughly and look out for any unusual state/value:

# vgdisplay -v vg01
See if you are able to see all lv in this VG's.
# lvdisplay -v lv1/2/3/4

Hope that helps.
Regards,
You need to know a lot to actually know how little you know
CSP_ALGERIA
Frequent Advisor

Re: Problem to mount Logical volumes

Hello,

First many thanks for your help and contributions.

I have not tryed the commande dd because i am not on site now.
vgdisplay give all details about volume groupe vg01 and vg02 also for commande lvdisplay for logical volume
ioscan show all Luns claimed
We have try to mount individualy a logical volume or all of them but no way we have no response.
in /etc/lvmtab we have all things all right

vg00
/dev/dsk/cotod6

vg01
/dev/dsk/c4tod0

vg02
/dev/dsk/c4tod1
/dev/dsk/c4tod2

/dev/dsk/c4txdy is a Lun with 03 disks 146 Gb in raid five

We have no raw device all are file system

the commande diskinfo -v /dev/rdsk/c4txdy show all details for all Luns

the connection with the server is SCSI connection LVD SCSI3

Best regards

Omar


Nothing in the world can take the place of persistence.
Pedro Cirne
Esteemed Contributor

Re: Problem to mount Logical volumes

Hi Omar,

I've had a similar problem just a few days ago, I had all the PV claimed on ioscan, I could activate/deactivate the VG, but I had no acesse to lovls.

You must look for problems on the storage side, probably the LUNs are not enabled or are locked, may be on of the phisical disks is corrupted or any other kind of problems ocurred. Check the storage logs, I'm almost sure the problem is there.

Good Luck :)

Pedro
CSP_ALGERIA
Frequent Advisor

Re: Problem to mount Logical volumes

Hello

I had a look to the storage DS2300 using irm tool.

All disks attached to the luns are ONELINE no failure and no REBUILD is there.

Best regards

Omar



Nothing in the world can take the place of persistence.