History

orangefs: clarify build steps for test server in orangefs.txt

Mike Marshall committed 6 years ago

Commit aa317d31 parent 0e393a91 file · +19 −15Browse files

Unified · Split

Documentation/filesystems/orangefs.txt+19−15
@@ -38,16 +38,6 @@ DOCUMENTATION · 37 unmodified lines
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. · 37 unmodified lines
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 · 5 unmodified lines
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. · 7 unmodified lines
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. · 3 unmodified lines
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t