Operating System - HP-UX
1833780 Members
2465 Online
110063 Solutions
New Discussion

lvol can't be mounted after problem on san switch

 
irt_1
Frequent Advisor

lvol can't be mounted after problem on san switch

Hi All,

We are using R7410 with HP/UX 11i. We have a strange problem on lvm/storage.

We have 1 vg: vg07 with three lvol: d01, d02, d05. Those lvols were mounted ok until we encountered some problem on the san switch. After the switch fixed, the lvol d05 can be mounted but the other two:d01,d02 can not be mounted.

If we do the mount -a this is the result:
...
mount: /dev/vg07/d05 is already mounted on /d05
vxfs mount: /dev/vg07/d02 no such device
vxfs mount: /dev/vg07/d01 no such device
...
(..the d05 was already mounted before..)

We already see by the vgdisplay, lvdisplay and everythings looks like OK. Just we can not mount it.

BTW there is another vg behaves like that, some lvol can be mounted some can not.

Why this one is happened?

Thank you Iwan.
8 REPLIES 8
KapilRaj
Honored Contributor

Re: lvol can't be mounted after problem on san switch

It looks like the minor number got changed ! Why don;t you export then import the vg and then give it a try

Regds,

Kaps
Nothing is impossible
G. Vrijhoeven
Honored Contributor

Re: lvol can't be mounted after problem on san switch

Hi Iwan,

Could it be that you did not define all alternate paths in your vg?
Can you post the output of a
# vgdisplay -v vg07
# lvdisplay -v /dev/vg07/d02

Or do you have all the device files on the server?

# ll /dev/vg07

HTH,

Gideon
generic_1
Respected Contributor

Re: lvol can't be mounted after problem on san switch

Was the switch replaced? I was wondering if maybee some of the disks are not being seen properly due to some switch settings that may be different due to a hardware replacement.
Sanjay_6
Honored Contributor

Re: lvol can't be mounted after problem on san switch

Hi,

check your syslog.log file. I think your WWN number has changed. If it is so, take a look at the thread below and see if it helps.

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

The ITRC doc id is KBRC00007265

Hope this helps.

Regds
irt_1
Frequent Advisor

Re: lvol can't be mounted after problem on san switch

Thanks for the quick answers!

Kaps, the vgexport I will try after I got the chance.

Gideon, I have attached the result.

Regards,

Iwan
Sanjiv Sharma_1
Honored Contributor

Re: lvol can't be mounted after problem on san switch

Hello Iwan,

Your WWN has got changed:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062908600
Everything is possible
G. Vrijhoeven
Honored Contributor

Re: lvol can't be mounted after problem on san switch

Hi Iwan,

Sanjay is probebly right, but i think it is strange that one mountpoint is mounted fine. Since there is only one disk in vg07.
I assume you do not get I/O errors when you write to that disk

Can you do a:
#diskinfo -v /dev/dsk/c9t0d6
# dd if=/dev/dsk/c9t0d6 of=/dev/null bs=4086

To verify the disk.

HTH,

Gideon


irt_1
Frequent Advisor

Re: lvol can't be mounted after problem on san switch

I don't think the www address is change since the only thing we change is just the GBIC on the SAN switch. And one of the lvol also already mounted and the mount point is ok for read write.

Actually HP eng. also come but no clue yet. But we just decide to recreate the lvol and restore the content.

Anyway thanks you all to help me look at this problem.

Best Regards,

Iwan