Hallo, gerade ist mir meine root-Partition übergelaufen. Nach einigem Suchen habe ich herausgefunden, daß in /root eine 2GB große ./xsessionerr angelegt worden ist. Habe sie gelöscht. Wo kommt diese Riesendatei her? Was läuft da falsch? Gruß Peter --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Am Fre, 04 Feb 2000 schrieb Peter Bossy:
gerade ist mir meine root-Partition übergelaufen. Nach einigem Suchen habe ich herausgefunden, daß in /root eine 2GB große ./xsessionerr angelegt worden ist. Habe sie gelöscht. Wo kommt diese Riesendatei her? Was läuft da falsch?
Deine X-Session hat Fehler produziert. Das kann verschiedene Gruende haben, die Du dann in der Datei xsessionerr nachlesen kannst. Ein Grund koennte zum Beispiel Absturz / Fehlermeldungen Deines X-Servers oder des Windowmanagers, eines X-Programmes, etc. sein. Hinweis: Bitte arbeite nicht als ROOT unter X. Dann kann in solchen Faellen maximal das Homeverzeichnis (das nach Moeglichkeit auf einer separaten Partition liegen sollte) ueberlaufen, nicht das ganze / mit den lebenswichtigen /var/, /tmp/ etc. Ausserdem bleibt bei normalen Usern ein gewisser Prozentsatz Deines Dateisystems unbeschreibbar, um einen solchen Ueberlauf auf jeden Fall zu verhindern. FUER ROOT GILT DIESE EINSCHRAENKUNG NICHT und damit koennte Dein System Schaden nehmen ! Am besten immer als normaler User einloggen und dann auf einer Konsole, xterm, etc. ein "su -" ausfuehren, um Superuserrechte zu erhalten. Ciao, Bjørn -- o_) Bjoern Buerger http://bbuerger.home.pages.de .-. _/\ .--------------------------------------------------- --/---\-/(/-' Linux User Group Braunschweig (LUG - BS) `-' http://www.tu-bs.de/initiativen/LUG/ --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Bjoern Buerger wrote:
Am Fre, 04 Feb 2000 schrieb Peter Bossy:
gerade ist mir meine root-Partition übergelaufen. Nach einigem Suchen habe ich herausgefunden, daß in /root eine 2GB große ./xsessionerr angelegt worden ist. Habe sie gelöscht. Wo kommt diese Riesendatei her? Was läuft da falsch?
Tip mit ls -lR | sort +4nr | more ieh Dir immer mal wieder die grössten Dateien an
Hinweis: Bitte arbeite nicht als ROOT unter X. Dann kann in solchen Faellen maximal das Homeverzeichnis (das nach Moeglichkeit auf einer separaten Partition liegen sollte) ueberlaufen, nicht das ganze / mit den lebenswichtigen /var/, /tmp/ etc. Ausserdem bleibt bei normalen Usern ein gewisser Prozentsatz Deines Dateisystems unbeschreibbar, um einen solchen Ueberlauf auf jeden Fall zu verhindern. FUER ROOT GILT DIESE EINSCHRAENKUNG NICHT und damit koennte Dein System Schaden nehmen !
Welche für Linux lebenswichtigen Gründe gibt es noch bestimmte Verzeichnisse auf eigene Partitionen zu stellen ? (Ich meine nicht Philosophien wie z.B. FP-Erweiterungen, die auch später durch Kopieren eines Verzeichnisbaumes möglich sind.) Gruss Ekkard --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
* Ekkard Gerlach schrieb:
Welche für Linux lebenswichtigen Gründe gibt es noch bestimmte Verzeichnisse auf eigene Partitionen zu stellen ?
Zum Beispiel Lastverteilung. Wenn /usr/lib (oder wenigstens /usr) auf einer anderen Festplatte (nicht Partition) liegt als /var, dann spart das beim Lesen von Binarys eine Menge Zeit, die sonst mit dem Schreiben in /var/log oder /var/spool vertan würde. Wenn plötzlich der Strom ausfällt, könnte es vorkommen, daß ein ext2-Dateisystem so gründlich ruiniert wird, daß es sich nicht mehr mounten läßt. Wenn du nur eine Partition hast, dann war's das dann auch schon. Außerdem: Sicher kannst du nachträglich einen Verzeichnisbaum auf eine andere Partition verschieben, wenn kein Platz mehr ist, weil irgendwo anders etwas mehr braucht, als geplant. Aber wenn du das von vornherein machst, wirst du das Problem gar nicht erst bekommen. -- Christian Ullrich Registrierter Linux-User #125183 "Sie können nach R'ed'mond fliegen -- aber Sie werden sterben" --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
* Christian Ullrich schrieb am 05.Feb.2000:
Zum Beispiel Lastverteilung. Wenn /usr/lib (oder wenigstens /usr) auf einer anderen Festplatte (nicht Partition) liegt als /var, dann spart das beim Lesen von Binarys eine Menge Zeit, die sonst mit dem Schreiben in /var/log oder /var/spool vertan würde.
Hallo Christian, laut Handbuch soll nach Möglichkeit die /usr-Partition auf eine andere Platte als die /-Partition und die /usr/lib-Partition. Die beiden letzteren können zur Not, will sagen, man hat nur zwei Platten, auf eine Platte. Wo würdest Du bei einer solchen Konfiguration die /var unterbringen? Auf der Platte mit / und /usr/lib, oder auf der mit /usr. Auf jeden Fall würde ich / und /usr/lib auf die schnellere von beiden legen. Und auf beide eine swap-Partition. Siehst Du oder sonstwer das anders? Bernd. -- Probleme mit dem Drucker? Schon die Druckercheckliste beachtet? http://localhost/doc/sdb/de/html/drucker-howto.html | Auch lesenswert: Oder schon das Drucker-HOWTO gelesen? | man lpr file://usr/doc/howto/de/DE-Drucker-HOWTO.txt.gz | Zufallssignatur 3 --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
PM Hallo Bernd, Bernd Brodesser wrote:
Hallo Christian,
laut Handbuch soll nach Möglichkeit die /usr-Partition auf eine andere
Welches Handbuch ? meines ist 6.1 und da steht nur etwas von Trennung von /usr und ( /var oder/und /tmp) auf verschiedenen Partitionen, nicht unterschiedlichen FEstplatten.
Platte als die /-Partition und die /usr/lib-Partition. Die beiden letzteren können zur Not, will sagen, man hat nur zwei Platten, auf eine Platte. ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^
Das unterstrichene verstehe ich nicht. Könntest Du das bitte erläutern ?
Wo würdest Du bei einer solchen Konfiguration die /var unterbringen? Auf der Platte mit / und /usr/lib, oder auf der mit /usr.
Auf jeden Fall würde ich / und /usr/lib auf die schnellere von beiden legen. Und auf beide eine swap-Partition.
^^^^^^^^^^^^^^^ Aha, das geht auch?! Nutzt Linux die swap-Partitionen dann intelligent ? Wie kann eine Swap-Partition einer bestimmte Partition zugeordnet werden? Oder meinst Du für jede FESTPLATTE eine eigene swap-Partition (und Linux nutzt dann automatisch den swap jeder Platte am intelligentesten) ? Danke auch Gruss ekkard --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
* Ekkard Gerlach schrieb am 07.Feb.2000:
PM
Hmm, ging auch über die Liste. Ist aber auch nicht schlimm. ;)) Daher antworte ich hier.
Bernd Brodesser wrote:
Welches Handbuch ? meines ist 6.1 und da steht nur etwas von Trennung von /usr und ( /var oder/und /tmp) auf verschiedenen Partitionen, nicht unterschiedlichen FEstplatten.
Trifft sich gut. Ich habe auch 6.1. Siehe Seite 64 Parallelisierung durch mehere Platten. 2 Die SuSE-Linux Erstinstallation 15 2.10 Partitionieren für Fortgeschrittene 59 2.10.3 Optimierungsmöglichkeiten 62 Partitionierung durch mehere Platten 63
Platte als die /-Partition und die /usr/lib-Partition. Die beiden letzteren können zur Not, will sagen, man hat nur zwei Platten, auf eine Platte. ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ Das unterstrichene verstehe ich nicht. Könntest Du das bitte erläutern ?
Hat man drei Platten, so sollte auf einer / auf einer anderen /usr und auf der dritten /usr/lib. Hat man nur zwei Platten, so sollte / und /usr/lib auf einer und /usr auf der anderen Platte. [swap-Partition auf zwei Platten]
Aha, das geht auch?! Nutzt Linux die swap-Partitionen dann intelligent ? Wie kann eine Swap-Partition einer bestimmte Partition zugeordnet werden? Oder meinst Du für jede FESTPLATTE eine eigene swap-Partition (und Linux nutzt dann automatisch den swap jeder Platte am intelligentesten) ?
Ich meine letzteres. swap-Partitionen haben mit den anderen nichts zu tun. Auf einer swap-Partition lagert der Kernel seine Sachen aus. Woher diese kommen ist dann egal. Wie intelligent der Kernel dabei arbeitet weiß ich nicht. Ich befürchte aber, das er nicht sehr intelligent dabei ist und zuerst auf die Partition mit höhere Priorität auslagert und wenn die voll ist auf die mit nidrigere Priorität. Wenn dem so ist, ist es vielleicht besser die swap-Partition auf eine Platte zu legen, auf der kein Linux ist. Bernd -- ROTFL = Rolling On The Floor, Laughing = Auf dem Boden wälzen, lachend. SCNR = Sorry, Could Not Resist = Sorry, Ich konte nicht wiederstehen. AFAIK = As Far As I Know = So weit ich weis|BTW = By The Way = Nebenbei bemerkt IMHO = In My Humble Opinion = meiner bescheidenen Meinung nach |Zufallssig. 9 --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Bernd Brodesser schrieb in 2,5K (65 Zeilen):
* Ekkard Gerlach schrieb am 07.Feb.2000:
Hat man drei Platten, so sollte auf einer / auf einer anderen /usr und auf der dritten /usr/lib. Hat man nur zwei Platten, so sollte / und /usr/lib auf einer und /usr auf der anderen Platte.
Wenn man will, geht auch RAID 1 oder RAID 0. Ist am Ende effektiver als /usr und /usr/lib zu splitten.
[swap-Partition auf zwei Platten]
Wie intelligent der Kernel dabei arbeitet weiß ich nicht. Ich befürchte aber, das er nicht sehr intelligent dabei ist und zuerst auf die Partition mit höhere Priorität auslagert und wenn die voll ist auf die mit nidrigere Priorität.
Richtig, deshalb: /etc/fstab: /dev/hdc13 swap swap defaults,pri=32000 0 0 /dev/hda13 swap swap defaults,pri=32000 0 0 -Wolfgang --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
* Wolfgang Weisselberg wrote on Thu, Feb 10, 2000 at 04:37 +0100:
[swap-Partition auf zwei Platten]
Wie intelligent der Kernel dabei arbeitet weiß ich nicht. Ich befürchte aber, das er nicht sehr intelligent dabei ist und zuerst auf die Partition mit höhere Priorität auslagert und wenn die voll ist auf die mit nidrigere Priorität.
Genau dafür sind die Prioritäten ja da... Wenn sie gleich sind, werden die aber dann IIRC doch "intelligent" behandelt. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Hallo Bernd, Bernd Brodesser wrote:
Hallo Christian,
laut Handbuch soll nach Möglichkeit die /usr-Partition auf eine andere
Welches Handbuch ? meines ist 6.1 und da steht nur etwas von Trennung von /usr und ( /var oder/und /tmp) auf verschiedenen Partitionen, nicht unterschiedlichen FEstplatten.
Platte als die /-Partition und die /usr/lib-Partition. Die beiden letzteren können zur Not, will sagen, man hat nur zwei Platten, auf eine Platte. ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^
Das unterstrichene verstehe ich nicht. Könntest Du das bitte erläutern ?
Wo würdest Du bei einer solchen Konfiguration die /var unterbringen? Auf der Platte mit / und /usr/lib, oder auf der mit /usr.
Auf jeden Fall würde ich / und /usr/lib auf die schnellere von beiden legen. Und auf beide eine swap-Partition.
^^^^^^^^^^^^^^^ Aha, das geht auch?! Nutzt Linux die swap-Partitionen dann intelligent ? Wie kann eine Swap-Partition einer bestimmte Partition zugeordnet werden? Oder meinst Du für jede FESTPLATTE eine eigene swap-Partition (und Linux nutzt dann automatisch den swap jeder Platte am intelligentesten) ? Danke auch Gruss ekkard --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Hallo Bernd, Bernd Brodesser wrote:
Hallo Christian,
laut Handbuch soll nach Möglichkeit die /usr-Partition auf eine andere
Welches Handbuch ? meines ist 6.1 und da steht nur etwas von Trennung von /usr und ( /var oder/und /tmp) auf verschiedenen Partitionen, nicht unterschiedlichen FEstplatten.
Platte als die /-Partition und die /usr/lib-Partition. Die beiden letzteren können zur Not, will sagen, man hat nur zwei Platten, auf eine Platte. ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^
Das unterstrichene verstehe ich nicht. Könntest Du das bitte erläutern ?
Wo würdest Du bei einer solchen Konfiguration die /var unterbringen? Auf der Platte mit / und /usr/lib, oder auf der mit /usr.
Auf jeden Fall würde ich / und /usr/lib auf die schnellere von beiden legen. Und auf beide eine swap-Partition.
^^^^^^^^^^^^^^^ Aha, das geht auch?! Nutzt Linux die swap-Partitionen dann intelligent ? Wie kann eine Swap-Partition einer bestimmte Partition zugeordnet werden? Oder meinst Du für jede FESTPLATTE eine eigene swap-Partition (und Linux nutzt dann automatisch den swap jeder Platte am intelligentesten) ? Danke auch Gruss ekkard --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Welche für Linux lebenswichtigen Gründe gibt es noch bestimmte Verzeichnisse auf eigene Partitionen zu stellen ?
(Ich meine nicht Philosophien wie z.B. FP-Erweiterungen, die auch später durch Kopieren eines Verzeichnisbaumes möglich sind.)
Sicherheit !! z.B.: Mounten von Partitionen mit der Option nosuid. -- MfG Waldemar Brodkorb Linux rulez! --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
participants (8)
-
B.Brodesser@online-club.de
-
b.buerger@tu-bs.de
-
chris@chrullrich.de
-
linux@netcologne.de
-
peter@bossynet.de
-
SPS_Gerlach@online.de
-
steffen@dett.de
-
weissel@ph-cip.uni-koeln.de