Die Foren-SW läuft ohne erkennbare Probleme. Sollte doch etwas nicht funktionieren, bitte gerne hier jederzeit melden und wir kümmern uns zeitnah darum. Danke!

GSX 3.1 / Linux Host / tmp-Verzeichnis

Hilfe bei Problemen mit der Installation oder Benutzung des VMware GSX Server und VMware Server 1.

Moderatoren: Dayworker, irix

Member
Beiträge: 11
Registriert: 06.04.2004, 10:37

GSX 3.1 / Linux Host / tmp-Verzeichnis

Beitragvon Robert.Schuster » 09.05.2005, 16:53

Hallo zusammen,

wer kann mir sagen (oder wo kann ich es lesen) was der GSX-Server im tmp-Verzeichnis anstellt?
Pro gestarteter Maschine wird der Platz auf /tmp ungefähr um den Arbeitsspeicher der jeweiligen VM-Session weniger - ohne dass irgendwelche Dateien sichtbar wären.

Weiter wäre noch interessant, ob es unbedingt der Pfad /tmp sein muss? Vielleicht ist der Pfad ja nicht hard-coded, steht in irgendeiner ini-Datei und könnte geändert werden - z.B. auf /vm-tmp o.ä.
Zur Erklärung, ich hätte gerne ein isoliertes /tmp für vmware...

Robert

Benutzeravatar
UNSTERBLICH(R.I.P.)
Beiträge: 14759
Registriert: 09.08.2003, 05:41
Wohnort: sauerland
Kontaktdaten:

Beitragvon continuum » 09.05.2005, 19:32

Laut Petr Vandrovec - (oberste Instanz in Sachen VMware/Debian/Linux)
braucht man in /tmp mindestens sovile Platz wie der RAM der VMs, die man zusammen laufen lassen will, zusammen. Besser noch etwa anderthalb mal soviel.
Der Pfad ist hardgecodet - ich bin mir jetzt nicht ganz sicher - evtl. laesst sich das aber auch nach var/tmp verschieben - was aber fuer meinen Geschmack nicht soviel Sinn macht.
Wenn du mehr wissen willst - Petr trifft man im US-forum.

Ulli

Member
Beiträge: 11
Registriert: 06.04.2004, 10:37

Beitragvon Robert.Schuster » 10.05.2005, 15:12

hardcoded???

Basically we follow a standard UNIX programming procedure where we create files in /tmp, and then unlink them immediately, but we don't close them until we exit the program. We use these files, but by having them unlinked, they won't be accidentally deleted or accessed. We do honor a couple of variables, that you can set in certain places, to dictate where we will put these temporary files. Below are the settings and the order of precedence:

1. First, in your home directory, check the .vmware/config configuration file to see if a specific directory is specified:

tmpDirectory = <location>

2. Next you can set a global variable where all virtual machines store their temporary files:

TMPDIR = <location>

3. Finally, if neither of these are set, GSX Server uses the /tmp directory.

This gives you three options for storing temporary files. The directory where GSX Server stores its files _HAS_ to be on a local drive. There is just no way to protect the data over the wire and performance will be slower if you use a network drive. Also, you should ensure about 1.5 times the size of the Memory allocated for the virtual machine in space to accomodate the Memory Map and GSX Server's needed temporary space.

Again the order of preference is:

1. Configuration file .vmware/config variable: tmpDirectory = <location>
2. Global environment variable:TMPDIR = <location>
3. Temporary directory: /tmp


Also: Die VMware tmp-files können liegen wo immer man möchte.
Fazit: Nix glauben, selber rausfinden. Sorry, aber manchmal wäre keine Antwort oder ein schlichtes "weiß nicht" besser als einen definitive Aussage, die sich dann als falsch herausstellt.

Robert


Zurück zu „VMserver 1 und GSX“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 33 Gäste