All of lore.kernel.org
 help / color / mirror / Atom feed
[parent not found: <411944EF.7000504@namesys.com>]
[parent not found: <4115A979.5090002@namesys.com>]
* RE: Was able to reproduce "cp: cannot stat file.x: Input/output error"
@ 2004-08-06  6:53 David Dabbs
  2004-08-06 15:51 ` Vladimir V. Saveliev
  0 siblings, 1 reply; 47+ messages in thread
From: David Dabbs @ 2004-08-06  6:53 UTC (permalink / raw)
  To: 'ReiserFS List'


This is definitely reproducible. I rebooted and reran the script. Same
result at about the same point in the sequence (part way into first COPY
iteration).

Right now I'm running identical mongo config against reiserfs and it appears
to be running just fine into the second copy iteration.

Should someone from Namesys downloads the bzip tar I mentioned before here's
a summary of the changes in my version of mongo:

reiser_fract_tree.c
- added extensions to generated filenames bay adding rnd to a base
  char of backtick. Extensions generated should be in the range of 
  'a' to 'a' + MAX_NAME_LEN.

mongo.pl
- added PHASE_MKDIRS
  Makes directories on the target device from a static list.
- added PHASE_MKFILES
  Makes files on the target device from a static list.
- added MAX_FNAME_LEN option
  Allows me to use something different than a hard coded value of 6.
  I ran it with 23.
- Some extra LOG calls so I can see commands being executed.

David



^ permalink raw reply	[flat|nested] 47+ messages in thread
* Was able to reproduce "cp: cannot stat file.x: Input/output error"
@ 2004-08-06  4:54 David Dabbs
  2004-08-06  7:31 ` mjt
  0 siblings, 1 reply; 47+ messages in thread
From: David Dabbs @ 2004-08-06  4:54 UTC (permalink / raw)
  To: 'ReiserFS List'


Ran 

./mongo.pl INFO_R4=rc2-mm2 FSTYPE=reiser4 LOG=/home/ddabbs/mongo/reiser4.log
dev=/dev/hdb1 dir=/mnt/testfs file_size=8000 bytes=512000000 NPROC=3
REP_COUNTER=3 SYNC=off WRITE_BUFFER=4096 GAMMA=0.0 DD_MBCOUNT=768
PHASE_MKDIRS=on PHASE_MKFILES=on PHASE_COPY=cp PHASE_OVERWRITE=on
PHASE_APPEND=on PHASE_READ=find PHASE_DELETE=rm PHASE_MODIFY=on
MAX_FNAME_LEN=23 RUN

Somewhere during PHASE_COPY, errors similar to the following (the ones I saw
the other day) spewed across the terminal:

cp: cannot stat
`/mnt/testfs/testdir0-0-0/d00000000/d000000000000000022/d0000000000023/f1461
8.d': Input/output error

I can cat and ls the file:

-rw-r--r--  1 root root 7512 2004-08-05 21:54
/mnt/testfs/testdir0-0-0/d00000000/d000000000000000022/d0000000000023/f14622
.c

Other than the following log items

...
Aug  5 22:06:09 linux kernel: reiser4[cp(1088)]: cbk_level_lookup
(fs/reiser4/search.c:1033)[vs-3533]:
Aug  5 22:06:09 linux kernel: WARNING: Keys are inconsistent. Fsck?
Aug  5 22:06:09 linux kernel: ]: key_warning
(fs/reiser4/plugin/object.c:97)[nikita-717]:
Aug  5 22:06:09 linux kernel: WARNING: Error for inode 137388 (-5)
Aug  5 22:06:09 linux kernel: reiser4[cp(1087)]: cbk_level_lookup
(fs/reiser4/search.c:1033)[vs-3533]:
Aug  5 22:06:09 linux kernel: WARNING: Keys are inconsistent. Fsck?
Aug  5 22:06:09 linux kernel: reiser4[cp(1087)]: key_warning
(fs/reiser4/plugin/object.c:97)[nikita-717]:
Aug  5 22:06:09 linux kernel: WARNING: Error for inode 137404 (-5)
Aug  5 22:06:09 linux kernel: reiser4[cp(1087)]: cbk_level_lookup
(fs/reiser4/search.c:1033)[vs-3533]:
Aug  5 22:06:09 linux kernel: WARNING: Keys are inconsistent. Fsck?
...

I could find nothing to indicate there was any sort of disk/ide hardware
error. Yes, there were some of the (apparently) innocuous driver artifacts
as Nikita called them.

All the relevant info I could pull together is available at
http://dabbs.net/reiser4/stat_error_mongo.tar.bz2. Other than gathering this
info, I have left the system as is. Let me know if you need more info, for
me to poke around or run commands, retest, etc.

BTW, built with yesterday's r4 snapshot.

David



^ permalink raw reply	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2004-08-11 10:03 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20040810205450.GU9811@backtop.namesys.com>
2004-08-10 21:06 ` Was able to reproduce "cp: cannot stat file.x: Input/output error" David Dabbs
2004-08-10 21:06   ` Alex Zarochentsev
2004-08-10 21:19     ` David Dabbs
2004-08-11 10:03       ` Vladimir V. Saveliev
2004-08-10 21:26     ` David Dabbs
     [not found] <411944EF.7000504@namesys.com>
2004-08-10 22:05 ` David Dabbs
     [not found] <4115A979.5090002@namesys.com>
2004-08-08  7:07 ` David Dabbs
2004-08-08 18:08   ` Hans Reiser
2004-08-08 19:09     ` David Dabbs
2004-08-09  6:17       ` Hans Reiser
2004-08-08 21:40         ` David Dabbs
2004-08-09  0:01           ` Hans Reiser
2004-08-09  1:55             ` David Dabbs
2004-08-09 17:43               ` Hans Reiser
2004-08-09 18:32                 ` David Dabbs
2004-08-09  2:38             ` David Dabbs
2004-08-09 17:59               ` Alex Zarochentsev
2004-08-09 18:22                 ` David Dabbs
2004-08-09 18:42                   ` Alex Zarochentsev
2004-08-09 15:13     ` Nikita Danilov
2004-08-09 17:48       ` Hans Reiser
2004-08-06  6:53 David Dabbs
2004-08-06 15:51 ` Vladimir V. Saveliev
2004-08-06 17:10   ` Philippe Gramoullé
2004-08-06 17:39     ` Vladimir V. Saveliev
2004-08-06 19:06       ` Philippe Gramoullé
2004-08-07  4:14       ` Hans Reiser
2004-08-06 17:46     ` David Dabbs
2004-08-06 19:11       ` Philippe Gramoullé
2004-08-07  4:15       ` Hans Reiser
2004-08-07  6:46         ` David Dabbs
2004-08-07  7:49           ` Hans Reiser
2004-08-08  2:54             ` David Dabbs
2004-08-10  3:21             ` Valdis.Kletnieks
2004-08-10  8:31               ` Hans Reiser
2004-08-10 15:41                 ` Valdis.Kletnieks
2004-08-10  9:20               ` Alex Zarochentsev
2004-08-10 17:35                 ` Hans Reiser
2004-08-10 17:42                   ` David Dabbs
2004-08-10 17:46                     ` Hans Reiser
2004-08-10 18:05                   ` Alex Zarochentsev
2004-08-10 19:55                     ` Hans Reiser
2004-08-10 20:41                       ` Alex Zarochentsev
2004-08-06 17:51     ` Alex Zarochentsev
2004-08-06 19:10       ` Philippe Gramoullé
  -- strict thread matches above, loose matches on Subject: below --
2004-08-06  4:54 David Dabbs
2004-08-06  7:31 ` mjt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.