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
38 38
39http://www.orangefs.org/documentation/39http://www.orangefs.org/documentation/
40 40
41
42USERSPACE FILESYSTEM SOURCE
43===========================
44
45http://www.orangefs.org/download
46
47Orangefs versions prior to 2.9.3 would not be compatible with the
48upstream version of the kernel client.
49
50
51RUNNING ORANGEFS ON A SINGLE SERVER41RUNNING ORANGEFS ON A SINGLE SERVER
52===================================42===================================
53 43
@@ -91,6 +81,14 @@ Mount the filesystem. · 37 unmodified lines
91 81
92mount -t pvfs2 tcp://localhost:3334/orangefs /pvfsmnt82mount -t pvfs2 tcp://localhost:3334/orangefs /pvfsmnt
93 83
84USERSPACE FILESYSTEM SOURCE
85===========================
86
87http://www.orangefs.org/download
88
89Orangefs versions prior to 2.9.3 would not be compatible with the
90upstream version of the kernel client.
91
94 92
95BUILDING ORANGEFS ON A SINGLE SERVER93BUILDING ORANGEFS ON A SINGLE SERVER
96====================================94====================================
@@ -102,18 +100,24 @@ You can omit --prefix if you don't care that things are sprinkled around · 5 unmodified lines
102in /usr/local. As of version 2.9.6, OrangeFS uses Berkeley DB by100in /usr/local. As of version 2.9.6, OrangeFS uses Berkeley DB by
103default, we will probably be changing the default to LMDB soon.101default, we will probably be changing the default to LMDB soon.
104 102
105./configure --prefix=/opt/ofs --with-db-backend=lmdb103./configure --prefix=/opt/ofs --with-db-backend=lmdb --disable-usrint
106 104
107make105make
108 106
109make install107make install
110 108
111Create an orangefs config file.109Create an orangefs config file by running pvfs2-genconfig and
110specifying a target config file. Pvfs2-genconfig will prompt you
111through. Generally it works fine to take the defaults, but you
112should use your server's hostname, rather than "localhost" when
113it comes to that question.
112 114
113/opt/ofs/bin/pvfs2-genconfig /etc/pvfs2.conf115/opt/ofs/bin/pvfs2-genconfig /etc/pvfs2.conf
114 116
115Create an /etc/pvfs2tab file.117Create an /etc/pvfs2tab file.
116 118
119Localhost is fine for your pvfs2tab file:
120
117echo tcp://localhost:3334/orangefs /pvfsmnt pvfs2 defaults,noauto 0 0 > \121echo tcp://localhost:3334/orangefs /pvfsmnt pvfs2 defaults,noauto 0 0 > \
118 /etc/pvfs2tab122 /etc/pvfs2tab
119 123
@@ -127,7 +131,7 @@ Bootstrap the server. · 7 unmodified lines
127 131
128Start the server.132Start the server.
129 133
130/opt/osf/sbin/pvfs2-server /etc/pvfs2.conf134/opt/ofs/sbin/pvfs2-server /etc/pvfs2.conf
131 135
132Now the server should be running. Pvfs2-ls is a simple136Now the server should be running. Pvfs2-ls is a simple
133test to verify that the server is running.137test to verify that the server is running.
@@ -137,11 +141,11 @@ test to verify that the server is running. · 3 unmodified lines
137If stuff seems to be working, load the kernel module and141If stuff seems to be working, load the kernel module and
138turn on the client core.142turn on the client core.
139 143
140/opt/ofs/sbin/pvfs2-client -p /opt/osf/sbin/pvfs2-client-core144/opt/ofs/sbin/pvfs2-client -p /opt/ofs/sbin/pvfs2-client-core
141 145
142Mount your filesystem.146Mount your filesystem.
143 147
144mount -t pvfs2 tcp://localhost:3334/orangefs /pvfsmnt148mount -t pvfs2 tcp://`hostname`:3334/orangefs /pvfsmnt
145 149
146 150
147RUNNING XFSTESTS151RUNNING 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