Unified · Split
| @@ -38,16 +38,6 @@ DOCUMENTATION · 37 unmodified lines | |||
| 38 | 38 | ||
| 39 | http://www.orangefs.org/documentation/ | 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 | RUNNING ORANGEFS ON A SINGLE SERVER | 41 | RUNNING ORANGEFS ON A SINGLE SERVER |
| 52 | =================================== | 42 | =================================== |
| 53 | 43 | ||
| @@ -91,6 +81,14 @@ Mount the filesystem. · 37 unmodified lines | |||
| 91 | 81 | ||
| 92 | mount -t pvfs2 tcp://localhost:3334/orangefs /pvfsmnt | 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 | BUILDING ORANGEFS ON A SINGLE SERVER | 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 · 5 unmodified lines | |||
| 102 | in /usr/local. As of version 2.9.6, OrangeFS uses Berkeley DB by | 100 | in /usr/local. As of version 2.9.6, OrangeFS uses Berkeley DB by |
| 103 | default, we will probably be changing the default to LMDB soon. | 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 | make | 105 | make |
| 108 | 106 | ||
| 109 | make install | 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 | /opt/ofs/bin/pvfs2-genconfig /etc/pvfs2.conf | 115 | /opt/ofs/bin/pvfs2-genconfig /etc/pvfs2.conf |
| 114 | 116 | ||
| 115 | Create an /etc/pvfs2tab file. | 117 | Create an /etc/pvfs2tab file. |
| 116 | 118 | ||
| 119 | Localhost is fine for your pvfs2tab file: | ||
| 120 | |||
| 117 | echo tcp://localhost:3334/orangefs /pvfsmnt pvfs2 defaults,noauto 0 0 > \ | 121 | echo tcp://localhost:3334/orangefs /pvfsmnt pvfs2 defaults,noauto 0 0 > \ |
| 118 | /etc/pvfs2tab | 122 | /etc/pvfs2tab |
| 119 | 123 | ||
| @@ -127,7 +131,7 @@ Bootstrap the server. · 7 unmodified lines | |||
| 127 | 131 | ||
| 128 | Start the server. | 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 | Now the server should be running. Pvfs2-ls is a simple | 136 | Now the server should be running. Pvfs2-ls is a simple |
| 133 | test to verify that the server is running. | 137 | test to verify that the server is running. |
| @@ -137,11 +141,11 @@ test to verify that the server is running. · 3 unmodified lines | |||
| 137 | If stuff seems to be working, load the kernel module and | 141 | If stuff seems to be working, load the kernel module and |
| 138 | turn on the client core. | 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 | Mount your filesystem. | 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 | RUNNING XFSTESTS | 151 | RUNNING XFSTESTS |