Disk Enclosures
1751933 Members
4955 Online
108783 Solutions
New Discussion юеВ

Fibre attached VG not activating

 
SOLVED
Go to solution
CGC Unix Team
Occasional Contributor

Fibre attached VG not activating

Setup:
EMC 8530 / Brocade 3800's / HPUX 10.20 on K420 @ current patch levels w/ A3404A fibre cards (arbitrated loop)

Problem:
At boot time, when the volume group vg01 is trying to activate, it complains about not being able to see the disk in the vg, so the vg doesn't get activated. After the box is up (run level 4), the vg can be activated and the file systems mounted without a problem.
It would appear that the fibre channel drivers are not loading early enough.

Thanks for any help,

Steve.
12 REPLIES 12
Bill McNAMARA_1
Honored Contributor

Re: Fibre attached VG not activating

What does /etc/rc.log say..

Later,
Bill
It works for me (tm)
Eugeny Brychkov
Honored Contributor
Solution

Re: Fibre attached VG not activating

Steve,
and what 'dmesg' says? Attach here
Eugeny
CGC Unix Team
Occasional Contributor

Re: Fibre attached VG not activating

/etc/rc.log doesn't say anything because the first entry there is for 'localmount'. Volume groups are activated by /sbin/bcheckrc which calls /sbin/lvmrc to do the work.

I have attached my dmesg ouput. Strange, it looks like it see's the disks?
Eugeny Brychkov
Honored Contributor

Re: Fibre attached VG not activating

Private loop, two HBAs (looks like direct connect), EMC alpas are 66 and 77, LUNs configured: 0, 16, 17, 18, 19, 122. All these LUNs are seen at startup. No errors in dmesg.
Check if there are any missing LUNs configured to be seen from host
Eugeny
Bill McNAMARA_1
Honored Contributor

Re: Fibre attached VG not activating

seems your system had crashed::
check
/var/adm/crash
and
/var/adm/tombstones

WARNING: Insufficient space on dump device to save full crashdump.
Only 809500672 of 2147484672 bytes will be saved.
Dump device table: (start & size given in 1-Kbyte blocks)
entry 0 - major is 31, minor is 0x5000; start = 52064, size = 790528


What do your /etc/rc.config.d/fc*
and /etc/rc.config.d/hpfc*

fcms startup scripts configure.
It works for me (tm)
CGC Unix Team
Occasional Contributor

Re: Fibre attached VG not activating

/etc/rc.config.d/hpfcmsconf has FCMS_START=1 only.
Just to be clear, the HBA's are going through the 3800's using quickloop.

I don't see the LUNS you say are configured (0,16,17,18,19,122), even in the dmesg, I may be reading it wrong. vg01 only has t2d0, t2d1, t2d2, t2d3.
I should mention that this is a server recently created from a current Ignite tape, with the vg's imported. The old hardware used SCSI to connect to disk, so the fibre is new to this config, and maybe the Ignite didn't set something up correctly?
Eugeny Brychkov
Honored Contributor

Re: Fibre attached VG not activating

Steve, according to FC volume set addressing rules LUN#='d'+8*'t'+bus*128, where d and t are from device file (and ioscan), bus is bus from ioscan. So:
t2d0 = LUN16, t2d1 = LUN17, t2d2 = LUN18, t2d3 = LUN19.
All these LUNs are seen on server's startup time. Did you install latest FC driver? Did you patch system (GR and HW enablement)?
Eugeny
CGC Unix Team
Occasional Contributor

Re: Fibre attached VG not activating

Sorry for the delay, thanks for the info on LUN numbering. Yes the system is at the current patch levels (Custom Patch Manager from this site) The J3630BA driver is also installed.
Eugeny Brychkov
Honored Contributor

Re: Fibre attached VG not activating

Is this problem still exists? Try to get more info from this erroneous output when system starts. Is there disk path, device file or anything else pointing to device displayed when vg01 does not activate? I see nothing in dmesg... maybe anything in syslog.log?
You can to the following test:
- boot to single-user mode;
- mount all '/etc/mount -a';
- issue ioscan to see that all these LUNs are seen;
- issue pvdisplay for ALL these disks within vg01 and check all outputs to see if there's anything wrong
Eugeny