[OpenAFS-devel] bonnie++ problem on Linux w/ OpenAFS client

Hartmut Reuter reuter@rzg.mpg.de
Thu, 29 Nov 2001 12:52:34 +0100


To check this I ran bonnie++ this morning on my laptop. It took quite a
while, but it finished correctly with stderr:

Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.

and stdout:

Version 1.02a       ------Sequential Output------ --Sequential Input-
--Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP 
/sec %CP
reuter           2G   2055  62   2347  20    921   8   1169  26   1111  
2    1.7   1
                    ------Sequential Create------ --------Random
Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read---
-Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP 
/sec %CP
                 16     47  32    432  83    157  47     52  25    285 
73    178  43
reuter,2G,2055,62,2347,20,921,8,1169,26,1111,2,1.7,1,16,47,32,432,83,157,47,52,25,285,73,178,43


The only strange thing I saw in between was:

sh-2.05$ ls -l
insgesamt 286725
?--S--x---  39192 3369852784 3369852084 1073737728 Nov 29 08:55
Bonnie.1570.000 -rw-r--r--    1 hwr      users    293605376 Nov 29 08:56
Bonnie.1570.001
-rw-r--r--    1 hwr      users          22 Nov 29 08:47 stderr
-rw-r--r--    1 hwr      users           0 Nov 29 08:47 stdout
sh-2.05$

and some time later:

sh-2.05$ ls -al
insgesamt 17
drwxrwxrwx    2 root     root         2048 Nov 29 09:04 .
drwxrwxrwx  120 hwr      root        14336 Nov 29 08:44 ..
?r--rwx--T  3164 3369854584 3369839784 1073741824 Nov 29 09:10
Bonnie.1570.000
?---------    0 root     root     999301120 Nov 29 09:17 Bonnie.1570.001
-rw-r--r--    1 hwr      users          51 Nov 29 09:04 stderr
-rw-r--r--    1 hwr      users           0 Nov 29 08:47 stdout
sh-2.05$

If I remember correctly both these occurences where during the "Writing
intelligently" pass.

Later it looked again correctly:

sh-2.05$ ls -l
insgesamt 2097153
-rw-------    1 hwr      users    1073741824 Nov 29 09:36
Bonnie.1570.000
-rw-------    1 hwr      users    1073741824 Nov 29 09:46
Bonnie.1570.001
-rw-r--r--    1 hwr      users          68 Nov 29 09:19 stderr
-rw-r--r--    1 hwr      users           0 Nov 29 08:47 stdout
sh-2.05$


I am using the i386_linux24 client from the CVS with large file support
(AFS_64BIT_CLIENT and AFS_64BIT_ENV set) on SuSE 7.3.

-Hartmut
Alf Wachsmann wrote:
> 
> Hi,
> 
> I have a dual PIII Linux machine running RedHat7.2 with 2.4.9-13smp
> kernel. It runs an OpenAFS-1.2.2 client.
> 
> When I run "bonnie++ -d /afs/slac/test -s 2g" on this machine I get after
> a short while the following error:
>         Writing with putc()...done
>         Writing intelligently...Can't write block.
>         Bonnie: drastic I/O error (write(2)): No such file or directory
> 
> This is the output from the entire bonnie++ session up to the error.
> I am using bonnie++ version 1.02a.
> 
> This happens no matter what type of server I am using (I tried a
> Linux/OpenAFS server and Solaris/Transarc server).
> If I run the same test with the same AFS directory on a Solaris/OpenAFS
> client, everything works just fine.
> 
> Has anyone any idea why this is happening?
> 
> Thanks,
>           Alf.
> 
> -----------------------------------------------------------------------
>   Alf Wachsmann                       | e-mail: alfw@slac.stanford.edu
>   SLAC Computing Service              | Phone:  +1-650-926-4802
>   2575 Sand Hill Road, M/S 97         | FAX:    +1-650-926-3329
>   Menlo Park, CA 94025, USA           | Office: Bldg. 50/323
> -----------------------------------------------------------------------
>                 http://www.slac.stanford.edu/~alfw (PGP)
> -----------------------------------------------------------------------
> 
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel

-- 
-----------------------------------------------------------------
Hartmut Reuter                           e-mail reuter@rzg.mpg.de
					   phone +49-89-3299-1328
RZG (Rechenzentrum Garching)               fax   +49-89-3299-1301 
Computing Center of the Max-Planck-Gesellschaft (MPG) and the
Institut fuer Plasmaphysik (IPP)
-----------------------------------------------------------------