Operating System - HP-UX
1753963 Members
7330 Online
108811 Solutions
New Discussion юеВ

Re: LUN went to disconnected state in vxvm env-t.

 
Victor_95
Occasional Advisor

LUN went to disconnected state in vxvm env-t.

LUN was disconnected(line down). LUN was in raiddg disk group. LUN was "REPLACE" on itself in vxvm, but volumes on this LUN is in Stopped state, and not started. How I can started this volumes? Commands "Start" and "Recovery" were successful, but volumes not in normal state.(See attachment)
8 REPLIES 8
Victor_95
Occasional Advisor

Re: LUN went to disconnected state in vxvm env-t.

I recovered it. Thanks all.
If anybody need additional info put questions in this thread and I answer.
Alzhy
Honored Contributor

Re: LUN went to disconnected state in vxvm env-t.

You probably just simply did:

vxvol -g dgname startall

Right?

BTW, what array are you using? You're on HP-UX 11i right? And VxVM 3.5? Are you using VxVM Full license or the free base license?

How do you like VxVM? Compared with LVM?
Hakuna Matata.
Alzhy
Honored Contributor

Re: LUN went to disconnected state in vxvm env-t.

Victor,

I don't mind the 0 points good sir but I (as well as others) might be interested to know what fixed it - if at all my earlier reply was incorrect?

Graci.
Hakuna Matata.
Prashant Zanwar_4
Respected Contributor

Re: LUN went to disconnected state in vxvm env-t.

you probably did

vxdg -g dgname startall.

Or probably you have used

vxmend to recover on the volumes.

Or

vxconfigd -k to restrart your vxconfing daemon or

you have done a refresh on your config using

vxedit (I dont remember exact syntax)

Hope I am right somewhere

Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Victor_95
Occasional Advisor

Re: LUN went to disconnected state in vxvm env-t.

Array - EVA-5000
HW model - SD32000/9000/800
OS - HP-UX 11i(11.11)
VxVM - 3.2
License - Free Base

Zero points because I recovered it and your decision not worked in my situation
(-f option was not presented in Your answer).
For my situation better this command:
#vxvol -f -g dgname start vol???

But support transfer to me another decision:

1. Bring plex of volume vol000 in OFFLINE state.
#vxmend -o force off vol000-01

2. Bring plex of volume vol000 in STALE state.
#vxmend on vol000-01

3. Bring plex of volume vol000 in CLEAN state.
#vxmend fix clean vol000-01

4. start volume vol000.
#vxvol -g raiddg start vol000

Next two steps is for filesystem.
If You are using Raw-device next two steps
not needed.

5. fsck volume.
#fsck /dev/vx/rdsk/raiddg/vol000

6. mount volume (if needed)
#mount /dev/vx/dsk/raiddg/vol000
Prashant Zanwar_4
Respected Contributor

Re: LUN went to disconnected state in vxvm env-t.

Hi,
I dont mind that. I dont have it in my setup for now and thats the reason I cannot run through any practise on it. I am happy though that I guessed it somewhere right.
and sorry for vgdg -g dgname startall, rather I meant vxvol startall.
I know this doesnt work many times and then one has to bring the plexes offline, apply the fix and then start volume back.
Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Alzhy
Honored Contributor

Re: LUN went to disconnected state in vxvm env-t.

Thanks Viktor!

Ne'r mind the points.. everyone out there, VxVM is flexible and there are a variety of ways to get this done. For NewBies though - the VEA GUI will be your best friend .. such is avilable on HP-UX 11i releases that bundle VxVM 3.5.

Hooray.. another site using VxVM to protect EVA 5K's!!! You mentioned Base VxVM -- you can already do hostbased striping with that. Are you building VxVM volumes that are stripes of EVA LUNs from a single EVA or from different EVAs?

Hakuna Matata.
Victor_95
Occasional Advisor

Re: LUN went to disconnected state in vxvm env-t.

I have 1 EVA and 3 raid1(mirror) LUNs and 6 raid5 LUNs in it.

And Eva emergency disconnected some LUNs.