tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* TCR 5.1 and LSM problem
@ 2001-08-09 21:14 Kevin Jones
  0 siblings, 0 replies; only message in thread
From: Kevin Jones @ 2001-08-09 21:14 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C12118.3ACA1B20", Size: 8979 bytes --]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C12118.3ACA1B20
Content-Type: text/plain; charset="iso-8859-1"

We appear to have found a possible bug/feature in a TruCluster/LSM
configuration.

The set ups that we have noticed this on are a six node and an eight node
cluster. They are both running V5.1 and Patch Kit 3.
Both clusters have a shared fibre channel array for their cluster_root,
cluster_usr, cluster_var and quorum disk. Due to the nature of the HPTC
application to be run on each node they also have a local LSM stripe set
with an AdvFS filesystem to provide a temporary scratch area, these are
mounted to a CDSL to provide a node specific /scratch directory. Each of
these LSM stripesets is a separate diskgroup.
As we are in the test/set up phase of the project the systems are being
shutdown/booted fairly regularly. Upon reboot we started to notice errors
against some diskgroups

starting LSM
lsm:vold:ERROR:Disk group 36dg: Reimport of disk group failed:
	Disk group has no valid configuration copies
lsm:vold:ERROR:Disk group 35dg: Reimport of disk group failed:
	Disk group has no valid configuration copies
lsm:vold:ERROR:Disk group 32dg: Reimport of disk group failed:
	Disk group has no valid configuration copies

Also we would get the occasional crash on boot...

Further investigation revealed that typing the voldg list command would show
these diskgroups as 'disabled'. The only way round this was to deport the
diskgroups and then re-create them, this would then make the diskgroup
enabled. Interestingly though the data on the volume within these diskgroups
was always accessible.

Our question then was to why this was happening ??

Our theory goes like this :-

When a node is shutdown, it's local disk effectively becomes invisible to
the rest of the cluster, but CFS continues to serve the file system on these
disks from another node, this is the expected behaviour and is documented in
the cluster admin guide. If you attempt to access this filesystem you get an
I/O error until the down node returns, and the file system is manually
relocated to be served by the returning node. 
Unfortunately, it transpires from reading the voldg man page that an I/O
error can also make the diskgroup become disabled - hence our errors above.

The way we have got round this is, disable advfsd, as this is the most
likely thing that is going to try and look at the offline filesystem, (other
than users) and report an I/O error. In addition we have created a shutdown
script that unmounts the scratch area from the cluster, this prevents CFS
from trying to serve the offline filesystem. This is a bit of a belt and
braces approach. We are now monitoring the clusters to see if the changes
remove the errors for good.


Does anyone have any comments/suggestions on the above ? I'm not sure
whether this should be described as a bug, possibly an oversight. I'm not
sure how many people will be running clusters with local LSM stripesets.

Regards

Kevin Jones




-------------------------------------------------------------------
Standard Email disclaimer follows for legal reasons.... 

The information in this e-mail is confidential and is intended for the
addressee only. Copying or use by anybody else is not authorised. Its
content does not necessarily represent the opinion of Compel or any of its affiliates. If you are not 
the intended recipient, please advise the sender by return e-mail. 

This email was scanned by hades.hamilton.co.uk. 
It was deemed clean for transmission.  
Please be aware that all emails are subject to monitoring.
--------------------------------------------------------------------

------_=_NextPart_001_01C12118.3ACA1B20
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-=
1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 5.5.2653.12">
<TITLE>TCR 5.1 and LSM problem</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">We appear to have found a possible bug/fea=
ture in a TruCluster/LSM configuration.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The set ups that we have noticed this on a=
re a six node and an eight node cluster. They are both running V5.1 and Pat=
ch Kit 3.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Both clusters have a shared fibre channel =
array for their cluster_root, cluster_usr, cluster_var and quorum disk. Due=
 to the nature of the HPTC application to be run on each node they also hav=
e a local LSM stripe set with an AdvFS filesystem to provide a temporary sc=
ratch area, these are mounted to a CDSL to provide a node specific /scratch=
 directory. Each of these LSM stripesets is a separate diskgroup.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">As we are in the test/set up phase of the =
project the systems are being shutdown/booted fairly regularly. Upon reboot=
 we started to notice errors against some diskgroups</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">starting LSM</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">lsm:vold:ERROR:Disk group 36dg: Reimport =
of disk group failed:</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 FACE=3D"Arial=
">Disk group has no valid configuration copies</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">lsm:vold:ERROR:Disk group 35dg: Reimport =
of disk group failed:</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 FACE=3D"Arial=
">Disk group has no valid configuration copies</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">lsm:vold:ERROR:Disk group 32dg: Reimport =
of disk group failed:</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 FACE=3D"Arial=
">Disk group has no valid configuration copies</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Also we would get the occasional crash on =
boot...</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Further investigation revealed that typing=
 the voldg list command would show these diskgroups as 'disabled'. The only=
 way round this was to deport the diskgroups and then re-create them, this =
would then make the diskgroup enabled. Interestingly though the data on the=
 volume within these diskgroups was always accessible.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Our question then was to why this was happ=
ening ??</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Our theory goes like this :-</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">When a node is shutdown, it's local disk e=
ffectively becomes invisible to the rest of the cluster, but CFS continues =
to serve the file system on these disks from another node, this is the expe=
cted behaviour and is documented in the cluster admin guide. If you attempt=
 to access this filesystem you get an I/O error until the down node returns=
, and the file system is manually relocated to be served by the returning n=
ode. </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Unfortunately, it transpires from reading =
the voldg man page that an I/O error can also make the diskgroup become dis=
abled - hence our errors above.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The way we have got round this is, disable=
 advfsd, as this is the most likely thing that is going to try and look at =
the offline filesystem, (other than users) and report an I/O error. In addi=
tion we have created a shutdown script that unmounts the scratch area from =
the cluster, this prevents CFS from trying to serve the offline filesystem.=
 This is a bit of a belt and braces approach. We are now monitoring the clu=
sters to see if the changes remove the errors for good.</FONT></P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Does anyone have any comments/suggestions =
on the above ? I'm not sure whether this should be described as a bug, poss=
ibly an oversight. I'm not sure how many people will be running clusters wi=
th local LSM stripesets.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Regards</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Kevin Jones</FONT>
</P>
<BR>

<CODE><FONT SIZE=3D3><BR>
<BR>
-------------------------------------------------------------------<BR>
Standard Email disclaimer follows for legal reasons.... <BR>
<BR>
The information in this e-mail is confidential and is intended for the<BR>
addressee only. Copying or use by anybody else is not authorised. Its<BR>
content does not necessarily represent the opinion of Compel or any of its =
affiliates. If you are not <BR>
the intended recipient, please advise the sender by return e-mail. <BR>
<BR>
This email was scanned by hades.hamilton.co.uk. <BR>
It was deemed clean for transmission.  <BR>
Please be aware that all emails are subject to monitoring.<BR>
--------------------------------------------------------------------<BR>
</FONT></CODE></BODY>
</HTML>
------_=_NextPart_001_01C12118.3ACA1B20--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-09 21:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-09 21:14 TCR 5.1 and LSM problem Kevin Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox