Exercises from the book using raid.py:
numDisks 4
chunkSize 4k
$ python ./raid.py -n 4 -R 21 -L 0
LOGICAL READ from addr:17 size:4096
Physical reads/writes?
LOGICAL READ from addr:8 size:4096
Physical reads/writes?
LOGICAL READ from addr:10 size:4096
Physical reads/writes?
LOGICAL READ from addr:16 size:4096
Physical reads/writes?
$ python ./raid.py -n 4 -R 21 -L 0 -r
LOGICAL OPERATION is ?
read [disk 1, offset 4]
LOGICAL OPERATION is ?
read [disk 0, offset 2]
LOGICAL OPERATION is ?
read [disk 2, offset 2]
LOGICAL OPERATION is ?
read [disk 0, offset 4]