Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hdisk2 defined

Status
Not open for further replies.

biondo68

Technical User
Jul 4, 2003
103
IT
Hi,
have a problem with hdisk2 .. I remove the FO cable ( mistake )and also after the reboot I meet the following problem .

I do not know like resolving the problem.

help me ?

ITMILX01-ROOT /> lsdev -Cl hdisk2
hdisk2 Defined 09-08-02 MPIO Other FC SCSI Disk Drive

ITMILX01-ROOT /> lsattr -l hdisk2 -a hcheck_mode -R
enabled
failed
nonactive

lspath
Enabled hdisk0 scsi0
Enabled hdisk1 scsi0
Missing hdisk2 fscsi0
Missing hdisk2 fscsi1

lsdev -Cl fcs1
fcs1 Available 09-08 FC Adapter
lsdev -Cl fcs0
fcs0 Available 06-08 FC Adapter


Thanks

 
what returns

lsattr -El fscsi0 -a attach
lsattr -El fscsi1 -a attach

I guess should be 'switch'...- it is is 'switch' maybe enough would be to run "chpv -av hdisk2" (???)

if it is not 'switch' and you have no other used SAN disks in the system at the moment, I would reconfigure once again running:

rmdev -dl fcs0 -R
rmdev -dl fcs1 -R
cfgmgr
 
Hi khalidaa,

I have tried reboot and the cfgmgr -s , but the result has been equal ..

ITMILX01-ROOT /> lsattr -l hdisk2 -a hcheck_mode -R
enabled
failed
nonactive

ITMILX01-ROOT /> lspath
Enabled hdisk0 scsi0
Enabled hdisk1 scsi0
Missing hdisk2 fscsi0
Missing hdisk2 fscsi1

Any suggest ?

Thanks
 
Hi Ogniemi,

returns after reboot ..

lsattr -El fscsi0 -a attach
attach switch How this adapter is CONNECTED False
lsattr -El fscsi1 -a attach
attach switch How this adapter is CONNECTED False



thanks
 
If a disk can be accessed during a varyonvg it gets a PV state of active.

If a disk can’t be accessed during a varyonvg, but quorum is available, the failing disk gets a PV state missing.
If the disk can be repaired, for example, due to power failure, you just have to issue a varyonvg VGName to bring the disk into active state again. Any stale partitions will be synchronized.

If a disk can’t be accessed during a varyonvg and the quorum is lost, you can issue a varyonvg –f VGName. The failing disk gets a PV state of removed and it will not be used for quorum checking.
If you are able to repair the disk (for example after a power failure), executing a varyonvg alone doesn’t bring the disk back into the active state. It maintains the removed state.
At this stage you have to announce the fact that the failure is over by using:
# chpv –va hdiskX
This defines the disk hdiskX as active.
Note that you have to do a varyonvg VGName afterwards to synchronize any stale partitions.

Regards,
Khalid
 
this is result oh varyonvg

varyonvg onlinevg

PV Status: hdisk2 00c70e0d121da5d2 PVNOTFND
0516-013 varyonvg: The volume group cannot be varied on because
there are no good copies of the descriptor area.

Thanks..

regards,

Biondo68
 
In the onlinevg there is only one disk,hdisk2.

I don't know the quorum !!
In the lsvg command was " quorum 2 "

suggest me the command, please ?

Thanks khalid


Regards

Biondo68
 
Quorum: There should be more than 50 percent of VGDAs available in a volume group.

Each disk that is contained in a volume group contains at least one VGDA. The LVM always reserves space for two VGDAs on each disk.

If a VG consists of two disks, one disk contains two VGDAs, the other one contains only one.

If the disk with two VGDAs fails ? only 33% VGDAs available ? No quorum

If the disk with one VGDA fails ? 66% VGDAs available ? Quorum exists

If a VG consists of more than two disks, each disk contains one VGDA. Then if one disk fails, there will always be 66% of VGDAs available and the Quorum is fulfilled.

What happens if a quorum is lost?

In case of two disks VG and the disk with the two VGDAs fails:

If the VG is not varied on and the administrator tries to vary it on, then the varyon command will fail

If the VG is already varied on, the LVM will deactivate the VG:

There is no more access to any LV that is part of this VG.
LVM_SA_QUORCLOSE error message will be posted in the error log

The VG may still be listed as active (lsvg –o) but its LVs won’t be accessible. The VG is dropped from the active list once the last LV is closed.


Try

varyonvg -f onlinevg

Regards,
Khalid
 
HI Khalid,

Nothing to do.
I think that the problem is the cards fscs1 and fscs0 that don't see the disk , after to have detached them from the SUN..

But I don't know the way in order to reuse all without to inside lose the data of the hdisk2 ..

Thanks

Regards

Biond68
 
Can you look at the FO switch for those FO lights?

If you see the lights on the swtich then that means they are active!

what is the output of lsdev -C | grep fsc
 
Now, my colleague reconfigure the switch and the zones..

output lsdev :

lsdev -C | grep fsc
fscsi0 Available 06-08-02 FC SCSI I/O Controller Protocol Device
fscsi1 Available 09-08-02 FC SCSI I/O Controller Protocol Device


 
biondo68 said:
Now, my colleague reconfigure the switch and the zones..

Well, then your colleague needs to make sure that your server's zone is defined correctly and that you get access to your LUNs again...


HTH,

p5wizard
 
ok so now what is the output of lspv or lspath?

does it still show that hdisk2 missing after reconfiguring the swtich? I hope not! did you do cfgmgr -s after the swtich reconfiguration?

Regards,
Khalid
 
HI khalid

Excuse me for my later..

After reconfiguration and cfgmgr -s hdisk2 now is enable
Enabled hdisk0 scsi0
Enabled hdisk1 scsi0
Enabled hdisk2 fscsi0
Missing hdisk2 fscsi1

I did not know that my colleague had changed the switch(8 port) with a new switch(16) .
Now I connected one fo in one switch and one in the other

Thanks

Best regards
 
Good news! i can see that fscsi1 is still missing! I would guess that this has to do with the switch as well for the other scsi. I think you mentioned MPIO! so it must be an alternative path for your hdisk2! so you will be able to view the data for now at least.

Regards,
Khalid
 
Hi Khalid,

It,s OK..

Enabled hdisk0 scsi0
Enabled hdisk1 scsi0
Enabled hdisk2 fscsi0
Enabled hdisk2 fscsi1

hdisk0 Available 08-08-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 08-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 09-08-02 MPIO Other FC SCSI Disk Drive

The problem was the configuration of the new one switch, that it was completely wrong..

I have had to make rmpath and a cfgmgr -s in order to replace all .

thanks

Biondo68

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top