3658b6e3deab048804123a648137cceee7dd57f4
[tridge/dbench.git] / nfs.txt
1 # DELTREE if we want to delete the client directory everytime we restart 
2 # the script. Remove these three lines if the script is only "read-only"
3 # reading from pre-existing files in the /clients/clientX/ tree
4 0.000 LOOKUP3 "/clients" 0x00000000
5 0.000 Deltree "/clients/client1" 0x00000000
6 0.000 MKDIR3 "/clients/client1" 0x00000000
7 #
8 # These two lokups must be performed to pre-load the name to filehandle cache.
9 # Othervise we will get errors like this :
10 #     failed to fetch handle in nfsio_read
11 #
12 0.000 LOOKUP3 "/clients" 0x00000000
13 0.000 LOOKUP3 "/clients/client1" 0x00000000
14 #
15 # Here is where the script starts
16 #
17 0.010 GETATTR3 "/clients/client1" 0x00000000
18 0.020 GETATTR3 "/clients/client1" 0x00000000
19 0.030 GETATTR3 "/clients/client1" 0x00000000
20 0.040 CREATE3  "/clients/client1/test.file" 0x00000000
21 0.050 CREATE3  "/clients/client1/tmp.file" 0x00000000
22 # second last argument to WRITE is the "stable' field.
23 #  0 : UNSTABLE (default for NFS)
24 #  1 : DATA STABLE
25 #  2 : FILE STABLE
26 1.000 WRITE3 "/clients/client1/test.file" 0 1024 0 0x00000000
27 1.010 WRITE3 "/clients/client1/test.file" 1024 1024 0 0x00000000
28 1.020 WRITE3 "/clients/client1/test.file" 2048 2048 0 0x00000000
29 1.030 COMMIT3 "/clients/client1/test.file" 0x00000000
30 1.040 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
31 1.050 LOOKUP3 "/clients/client1/test.file" 0x00000000
32 1.060 LINK3 "/clients/client1/hard.link" "/clients/client1/test.file" 0x00000000
33 1.070 REMOVE3 "/clients/client1/hard.link" 0x00000000
34 1.080 SYMLINK3 "/clients/client1/test.link" "/clients/client1/test.file" 0x00000000
35 1.090 REMOVE3 "/clients/client1/test.link" 0x00000000
36 1.100 MKDIR3 "/clients/client1/test.dir" 0x00000000
37 1.110 RMDIR3 "/clients/client1/test.dir" 0x00000000
38 # The READDIRPLUS3 function will automatically loop and rad the entire
39 # directory, so when transcoding from a network trace, only transcode
40 # the initial READDIRPLUS3 into the clients.txt file (where cookie is 0)
41 # and ignore all other READDIRPLUS3 calls.
42 2.000 READDIRPLUS3 "/clients/client1" 0x00000000
43 # The arguments are desireg access and granted access
44 2.010 ACCESS3 "/clients/client1" 0 0 0x00000000
45 2.020 GETATTR3 "/clients/client1" 0x00000000
46 2.030 GETATTR3 "/clients/client1" 0x00000000
47 2.040 FSSTAT3 0x00000000
48 2.050 FSINFO3 0x00000000
49 3.000 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
50 3.010 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
51 3.020 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
52 3.030 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
53 3.040 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
54 3.050 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
55 3.060 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
56 3.070 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
57 3.080 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
58 3.090 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
59 3.100 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
60 3.100 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
61 3.110 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
62 3.120 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
63 3.130 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
64 3.140 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
65 3.150 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
66 3.160 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
67 3.170 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
68 3.180 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
69 3.190 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
70 3.200 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
71 3.200 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
72 3.210 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
73 3.220 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
74 3.230 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
75 3.240 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
76 3.250 READ3 "/clients/client1/test.file" 2048 2048 0x00000000
77 3.260 READ3 "/clients/client1/test.file" 2048 2048 0x00000000