close
Warning:
Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Apr 30, 2012, 3:43:11 PM (15 years ago)
- Author:
-
Rüdiger Kupper
- Comment:
-
Neues nbd-conf-Layout
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v9
|
v10
|
|
| 43 | 43 | Die Konfiguration des //Network-Block-Device-Servers// (nbd-server) wird beim Update des LTSP-Paketes möglicherweise überschrieben. Über NBD werden die Images der LtspClients verteilt. |
| 44 | 44 | |
| 45 | | Die Konfigurationsdatei sollte bei einem Aufruf von `ltsp-update-image` automatisch richtig neu erzeugt werden. Falls nicht: Die Konfiguration steht im Verzeichnis `/etc/nbd-server/`. Dort müssen die Client-Images als NBD-Devices eingetragen werden. Die Konfiguration sieht typischerweise so aus: |
| | 45 | //Die Konfigurationsdatei sollte bei einem Aufruf von `ltsp-update-image` automatisch richtig neu erzeugt werden.// |
| | 46 | |
| | 47 | Falls nicht: Die Konfiguration steht im Verzeichnis `/etc/nbd-server/`. Sie besteht aus dem geneerischen Teil in `config` und dem Image-spezifischen Teil unter `config.d/`. Dort müssen die Client-Images als NBD-Devices eingetragen werden. Die Konfiguration sieht typischerweise so aus: |
| 46 | 48 | |
| 47 | 49 | `/etc/nbd-server/config`: |
| 48 | 50 | {{{ |
| 49 | 51 | [generic] |
| 50 | | user = nobody |
| 51 | | group = nogroup |
| 52 | | oldstyle = false |
| | 52 | # If you want to run everything as root rather than the nbd user, you |
| | 53 | # may either say "root" in the two following lines, or remove them |
| | 54 | # altogether. Do not remove the [generic] section, however. |
| | 55 | user = nbd |
| | 56 | group = nbd |
| | 57 | includedir = /etc/nbd-server/conf.d |
| 53 | 58 | |
| | 59 | # What follows are export definitions. You may create as much of them as |
| | 60 | # you want, but the section header has to be unique. |
| | 61 | }}} |
| | 62 | |
| | 63 | `/etc/nbd-server/conf.d/ltsp_i386.conf`: |
| | 64 | {{{ |
| 54 | 65 | [ltsp_i386] |
| 55 | 66 | exportname = /opt/ltsp/images/i386.img |
| 56 | 67 | readonly = true |
| 57 | 68 | }}} |
| 58 | | |
| 59 | 69 | |
| 60 | 70 | ==== Inet-Daemon ==== |