SUMMARY : I/O error on directories

From: Adel Kamal <AdelK_at_cnsdubai.co.ae>
Date: Tue, 22 Feb 2000 08:58:29 +0400

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
Received on Tue Feb 22 2000 - 05:03:06 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT