Skip to content

Commit aa317d3

Browse files
committed
orangefs: clarify build steps for test server in orangefs.txt
Signed-off-by: Mike Marshall <[email protected]>
1 parent 0e393a9 commit aa317d3

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

Documentation/filesystems/orangefs.txt

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,6 @@ DOCUMENTATION
3838

3939
http://www.orangefs.org/documentation/
4040

41-
42-
USERSPACE FILESYSTEM SOURCE
43-
===========================
44-
45-
http://www.orangefs.org/download
46-
47-
Orangefs versions prior to 2.9.3 would not be compatible with the
48-
upstream version of the kernel client.
49-
50-
5141
RUNNING ORANGEFS ON A SINGLE SERVER
5242
===================================
5343

@@ -91,6 +81,14 @@ Mount the filesystem.
9181

9282
mount -t pvfs2 tcp://localhost:3334/orangefs /pvfsmnt
9383

84+
USERSPACE FILESYSTEM SOURCE
85+
===========================
86+
87+
http://www.orangefs.org/download
88+
89+
Orangefs versions prior to 2.9.3 would not be compatible with the
90+
upstream version of the kernel client.
91+
9492

9593
BUILDING ORANGEFS ON A SINGLE SERVER
9694
====================================
@@ -102,18 +100,24 @@ You can omit --prefix if you don't care that things are sprinkled around
102100
in /usr/local. As of version 2.9.6, OrangeFS uses Berkeley DB by
103101
default, we will probably be changing the default to LMDB soon.
104102

105-
./configure --prefix=/opt/ofs --with-db-backend=lmdb
103+
./configure --prefix=/opt/ofs --with-db-backend=lmdb --disable-usrint
106104

107105
make
108106

109107
make install
110108

111-
Create an orangefs config file.
109+
Create an orangefs config file by running pvfs2-genconfig and
110+
specifying a target config file. Pvfs2-genconfig will prompt you
111+
through. Generally it works fine to take the defaults, but you
112+
should use your server's hostname, rather than "localhost" when
113+
it comes to that question.
112114

113115
/opt/ofs/bin/pvfs2-genconfig /etc/pvfs2.conf
114116

115117
Create an /etc/pvfs2tab file.
116118

119+
Localhost is fine for your pvfs2tab file:
120+
117121
echo tcp://localhost:3334/orangefs /pvfsmnt pvfs2 defaults,noauto 0 0 > \
118122
/etc/pvfs2tab
119123

@@ -127,7 +131,7 @@ Bootstrap the server.
127131

128132
Start the server.
129133

130-
/opt/osf/sbin/pvfs2-server /etc/pvfs2.conf
134+
/opt/ofs/sbin/pvfs2-server /etc/pvfs2.conf
131135

132136
Now the server should be running. Pvfs2-ls is a simple
133137
test to verify that the server is running.
@@ -137,11 +141,11 @@ test to verify that the server is running.
137141
If stuff seems to be working, load the kernel module and
138142
turn on the client core.
139143

140-
/opt/ofs/sbin/pvfs2-client -p /opt/osf/sbin/pvfs2-client-core
144+
/opt/ofs/sbin/pvfs2-client -p /opt/ofs/sbin/pvfs2-client-core
141145

142146
Mount your filesystem.
143147

144-
mount -t pvfs2 tcp://localhost:3334/orangefs /pvfsmnt
148+
mount -t pvfs2 tcp://`hostname`:3334/orangefs /pvfsmnt
145149

146150

147151
RUNNING XFSTESTS

0 commit comments

Comments
 (0)