Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Commit changes to use new setup_portals helper function.
[fs/lustre-release.git]
/
lustre
/
tests
/
llmount-client.sh
1
#!/bin/sh
2
export PATH=/sbin:/usr/sbin:$PATH
3
4
SRCDIR="`dirname $0`"
5
. $SRCDIR/common.sh
6
7
NETWORK=elan
8
LOCALHOST=4
9
SERVER=5
10
11
setup
12
setup_portals
13
14
tmp_fs ext2 /tmp/ost 10000
15
OST=${LOOPDEV}
16
17
$OBDCTL <<EOF
18
device 1
19
attach obdext2
20
setup ${OST}
21
device 2
22
attach ost
23
setup 1
24
device 3
25
attach osc
26
setup 2
27
quit
28
EOF
29
30
mkdir /mnt/obd
31
# mount -t lustre_light -o device=3 none /mnt/obd