@@ -38,16 +38,6 @@ DOCUMENTATION
38
38
39
39
http://www.orangefs.org/documentation/
40
40
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
-
51
41
RUNNING ORANGEFS ON A SINGLE SERVER
52
42
===================================
53
43
@@ -91,6 +81,14 @@ Mount the filesystem.
91
81
92
82
mount -t pvfs2 tcp://localhost:3334/orangefs /pvfsmnt
93
83
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
+
94
92
95
93
BUILDING 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
102
100
in /usr/local. As of version 2.9.6, OrangeFS uses Berkeley DB by
103
101
default, we will probably be changing the default to LMDB soon.
104
102
105
- ./configure --prefix=/opt/ofs --with-db-backend=lmdb
103
+ ./configure --prefix=/opt/ofs --with-db-backend=lmdb --disable-usrint
106
104
107
105
make
108
106
109
107
make install
110
108
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.
112
114
113
115
/opt/ofs/bin/pvfs2-genconfig /etc/pvfs2.conf
114
116
115
117
Create an /etc/pvfs2tab file.
116
118
119
+ Localhost is fine for your pvfs2tab file:
120
+
117
121
echo tcp://localhost:3334/orangefs /pvfsmnt pvfs2 defaults,noauto 0 0 > \
118
122
/etc/pvfs2tab
119
123
@@ -127,7 +131,7 @@ Bootstrap the server.
127
131
128
132
Start the server.
129
133
130
- /opt/osf /sbin/pvfs2-server /etc/pvfs2.conf
134
+ /opt/ofs /sbin/pvfs2-server /etc/pvfs2.conf
131
135
132
136
Now the server should be running. Pvfs2-ls is a simple
133
137
test to verify that the server is running.
@@ -137,11 +141,11 @@ test to verify that the server is running.
137
141
If stuff seems to be working, load the kernel module and
138
142
turn on the client core.
139
143
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
141
145
142
146
Mount your filesystem.
143
147
144
- mount -t pvfs2 tcp://localhost :3334/orangefs /pvfsmnt
148
+ mount -t pvfs2 tcp://`hostname` :3334/orangefs /pvfsmnt
145
149
146
150
147
151
RUNNING XFSTESTS
0 commit comments