Whamcloud - gitweb
You don't need to specify the size for new_fs() if you are using a block
[fs/lustre-release.git] / lustre / tests / ostreq.sh
1 #!/bin/sh
2
3 SRCDIR="`dirname $0`"
4 . $SRCDIR/common.sh
5
6 SERVER=localhost
7
8 setup
9
10 $PTLCTL <<EOF
11 mynid localhost
12 setup tcp
13 connect $SERVER 1234
14 add_uuid self
15 add_uuid ost
16 quit
17 EOF
18
19
20 tmp_fs ext2 /tmp/fs 10000
21 OBD=${LOOPDEV}
22
23 $OBDCTL <<EOF
24 device 0
25 attach obdext2
26 setup ${OBD}
27 device 1
28 attach ost
29 setup 0
30 device 2
31 attach osc
32 setup -1
33 quit
34 EOF