Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
07798884172e85245587c924641810165b025c2d
[fs/lustre-release.git]
/
lustre
/
tests
/
llmount.sh
1
#!/bin/sh
2
3
SRCDIR="`dirname $0`"
4
. $SRCDIR/common.sh
5
6
NETWORK=tcp
7
LOCALHOST=localhost
8
SERVER=localhost
9
PORT=1234
10
11
setup
12
setup_portals
13
14
new_fs ext2 /tmp/ost 25000
15
OST=$LOOPDEV
16
MDSFS=ext2
17
new_fs ${MDSFS} /tmp/mds 10000
18
MDS=$LOOPDEV
19
20
echo 0xffffffff > /proc/sys/portals/debug
21
22
$OBDCTL <<EOF
23
device 0
24
attach mds
25
setup ${MDS} ${MDSFS}
26
device 1
27
attach obdfilter
28
setup ${OST} ext2
29
device 2
30
attach ost
31
setup 1
32
device 3
33
attach osc
34
setup -1
35
quit
36
EOF
37
38
mount -t lustre_light -o device=3 none /mnt/obd