tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Adel Kamal <AdelK () cnsdubai ! co ! ae>
To: tru64-unix-managers
Subject: SUMMARY :  I/O error on directories
Date: Tue, 22 Feb 2000 04:58:29 +0000	[thread overview]
Message-ID: <96079336919549.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01BF7CF1.75AA59A0", Size: 6148 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_01BF7CF1.75AA59A0
Content-Type: text/plain;
	charset="iso-8859-1"

Original message
__________________________________________________________________
Hi Managers,

We have an Alpha 4100, Digital UNIX 4.0D Patch kit 5 that is having
increasing problems with directory accesses. Specifically, a file appears to
be in the directory list, but it can't be stat()ed.
 For example: 
# cd /baan4/bse/gif/gfd0002/new.adel/
# ls | wc -l 
lvlup1.gif		lvlup2.gif
494 
#cd /baan4/bse/gif/gfd0002/new.adel/
#/ls -l | wc -l 
./lvlup1.gif	not found 
./lvlup2.gif	not found 
493
 That is, doing a plain ls, which just lists the files in the directory
structure finds, works fine. The "ls -l", which is trying to stat() each of
those listings, has a problem. (It couldn't find the two lines, plus a line
for the "total".) Other utilities, including bru and rm, have errno=5, I/O
errors.
 We have run fsck and rebooted in an effort to get it to fix itself, to no
avail. The three questions, of course are: 
1. How do we fix the existing symptoms? 
2. What is the disease (cause)? 
3. What is the cure? 

Thanks in advance

____________________________________________________________________________
_________________



Thanks for everyone who had participated in finding a solution for the
above.

The workaround which I did to overcome this problem is as follows:

1- Take a vdump backup of the file system which has those bad directories.

2- Delete the domain name directory from /etc/fdmns on which those bad
directories belongs.

3- Recreate the file domain once again.

4- recreate the fileset and mount it

5- use vrestore -i to restore the previously backed up file system (exclude
the bad directory from the vrestore procedure).


Thanks






Adel K. F. Tadros
Sr. System Engineer - Computer Network System
P.O. Box 52137 Dubai - United Arab Emirates
Tel.: +971 4 3378822  Fax.: +971 4 3374753
Mobile:  +971 50 6590325




------_=_NextPart_001_01BF7CF1.75AA59A0
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.2650.12">
<TITLE>SUMMARY :  I/O error on directories </TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Original message</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">_________________________________________________________=
_________</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Hi Managers,</FONT>
</P>

<P><FONT FACE=3D"Times New Roman">We have an Alpha 4100, Digital UNIX =
4.0D Patch kit 5 that is having increasing problems with directory =
accesses. Specifically, a file appears to be in the directory list, but =
it can't be stat()ed.</FONT></P>

<P><FONT FACE=3D"Times New Roman">&nbsp;For example: </FONT>
<BR><FONT FACE=3D"Times New Roman"># cd =
/baan4/bse/gif/gfd0002/new.adel/</FONT>
<BR><FONT FACE=3D"Times New Roman"># ls | wc -l </FONT>
<BR><FONT FACE=3D"Times New =
Roman">lvlup1.gif&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lvlup2.gif</FONT>
<BR><FONT FACE=3D"Times New Roman">494 </FONT>
<BR><FONT FACE=3D"Times New Roman">#cd =
/baan4/bse/gif/gfd0002/new.adel/</FONT>
<BR><FONT FACE=3D"Times New Roman">#/ls -l | wc -l </FONT>
<BR><FONT FACE=3D"Times New Roman">./lvlup1.gif&nbsp;&nbsp;&nbsp; not =
found </FONT>
<BR><FONT FACE=3D"Times New Roman">./lvlup2.gif&nbsp;&nbsp;&nbsp; not =
found </FONT>
<BR><FONT FACE=3D"Times New Roman">493</FONT>
<BR><FONT FACE=3D"Times New Roman">&nbsp;That is, doing a plain ls, =
which just lists the files in the directory structure finds, works =
fine. The &quot;ls -l&quot;, which is trying to stat() each of those =
listings, has a problem. (It couldn't find the two lines, plus a line =
for the &quot;total&quot;.) Other utilities, including bru and rm, have =
errno=3D5, I/O errors.</FONT></P>

<P><FONT FACE=3D"Times New Roman">&nbsp;We have run fsck and rebooted =
in an effort to get it to fix itself, to no avail. The three questions, =
of course are: </FONT>
<BR><FONT FACE=3D"Times New Roman">1. How do we fix the existing =
symptoms? </FONT>
<BR><FONT FACE=3D"Times New Roman">2. What is the disease (cause)? =
</FONT>
<BR><FONT FACE=3D"Times New Roman">3. What is the cure? </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks in advance</FONT>
</P>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">_________________________________________________________=
____________________________________</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks for everyone who had =
participated in finding a solution for the above.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The workaround which I did to overcome =
this problem is as follows:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">1- Take a vdump backup of the file =
system which has those bad directories.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">2- Delete the domain name directory =
from /etc/fdmns on which those bad directories belongs.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">3- Recreate the file domain once =
again.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">4- recreate the fileset and mount =
it</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">5- use vrestore -i to restore the =
previously backed up file system (exclude the bad directory from the =
vrestore procedure).</FONT></P>
<BR>

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

<P><B><FONT SIZE=3D2 FACE=3D"Tahoma">Adel K. F. Tadros</FONT></B>
<BR><FONT SIZE=3D1 FACE=3D"Tahoma">Sr. System Engineer - Computer =
Network System</FONT>
<BR><FONT SIZE=3D1 FACE=3D"Tahoma">P.O. Box 52137 Dubai - United Arab =
Emirates</FONT>
<BR><FONT SIZE=3D1 FACE=3D"Tahoma">Tel.: +971 4 3378822&nbsp; Fax.: =
+971 4 3374753</FONT>
<BR><FONT SIZE=3D1 FACE=3D"Tahoma">Mobile:&nbsp; +971 50 6590325</FONT>
</P>
<BR>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01BF7CF1.75AA59A0--

                 reply	other threads:[~2000-02-22  4:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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