Hinzufuegen einer weiteren Platte an vorhandenen Mountpoint
Hi! Bevor ich Quatsch mache und Datenverlust habe, frage ich hier mal schnell nach: Ich habe bei der Partitionierung eine Partition (/) zu klein gemacht. Nun habe ich noch eine leere 4,3 GB Platte in der Kiste, die ich partitioniert habe. Am liebsten wuerde ich eine Partition dieser 2. Platte fuer / zur Verfuegung stellen. Somit haette ich aber 2 Eintraege fuer den gleichen Mount-Point in der Tabelle. geht das? Oder wie erweitere ich den Plattenplatz durch Hinzufuegen einer neuen Platte, ohne Neuaufsetzen des kompletten Dateisystems? Ein Hinweis auf eine FAQ oder ein HowTo reicht auch, wenn es das gibt. Danke schonmal! Gruss, Torsten -- Um aus der Liste ausgetragen zu werden, eine Mail an majordomo@suse.com schicken, mit dem Text: unsubscribe suse-linux
Torsten Valentin wrote:
Hi!
Bevor ich Quatsch mache und Datenverlust habe, frage ich hier mal schnell nach:
Ich habe bei der Partitionierung eine Partition (/) zu klein gemacht. Nun habe ich noch eine leere 4,3 GB Platte in der Kiste, die ich partitioniert habe. Am liebsten wuerde ich eine Partition dieser 2. Platte fuer / zur Verfuegung stellen. Somit haette ich aber 2 Eintraege fuer den gleichen Mount-Point in der Tabelle. geht das? Oder wie erweitere ich den Plattenplatz durch Hinzufuegen einer neuen Platte, ohne Neuaufsetzen des kompletten Dateisystems? Ein Hinweis auf eine FAQ oder ein HowTo reicht auch, wenn es das gibt.
Hmm, ich denke schon, daß es da Möglichkeiten gibt ... ich hab beim letzten mal Kernel kompilieren was in der Richtung gesehen (Filesystems). Aber vielleicht kann man das ja noch viel leichter machen: Frage: Was hast Du denn alles für Verzeichnisse (nur die großen!), die mit auf "/" liegen? Ok, mal angenommen du hast "/usr" auf einer anderen (eigenen?) Partition, wo noch genug Platz ist und die hast "/opt" als Unterverzeichnis auf der Partition von "/". Dann kannst Du mittels einem Link das gesamte "/opt" auf die "/usr" verbannen indem Du 1) mkdir /usr/opt 2) (alle Dateien aus "/opt" nach "/usr/opt" bewegen, ich nehme für sowas immer den mc) 3) "/opt" löschen 4) ln -s /usr/opt /opt Das ganze ist transparent, d.h. es kommt zu keinen Verwirrungen der auf "/opt" zugreifenden Software (ich hab allerdings noch nicht getestet, ob YaST das automatisch mitbekommt und bei An/Abwahl von zB KDE (ist in /opt) auch für "/usr" den Plattenverbrauch berechnet und nicht für "/", notfalls kannst entsprechende Warnungen von wegen <5% Platz ignoroeren) Im Prinzip kannst Du ALLE Dateien und Verzeichnisse aus "/" linken, bis auf die Kerneldateien (weil da weiß ich nicht, ob da Lilo bei der Installation Ärger macht). Wenn Du noch Tips in diese Richtung brauchst dann bitte per PM. Mfg Raphael Becker -- ___________ Powered by SuSE __________________ ___ /___(_)__________ _____ __ ___ ____/__|__ / Raphael __ / __ /__ __ \ / / /_ |/_/ ______ \ ___/_ < Becker _ /___ / _ / / / /_/ /__> < ____/ /______/ / /_____/_/ /_/ /_/\__,_/ /_/|_| /_____/_(_)____/ -- Um aus der Liste ausgetragen zu werden, eine Mail an majordomo@suse.com schicken, mit dem Text: unsubscribe suse-linux
Hi, On 13-Nov-98 Raphael Becker wrote:
Torsten Valentin wrote:
Obwohl das nichts direkt mit der ursprünglichen Frage zutun hat. Die Lösung der 1. Frage "Was mache ich / ist zu klein", ich lege einen Mountpoint auf eine neue Platte/Partition. Welcher das ist, nun ja, da gibt es viele Möglichkeiten. Eine davon siehe unten.
Ok, mal angenommen du hast "/usr" auf einer anderen (eigenen?) Partition, wo noch genug Platz ist und die hast "/opt" als Unterverzeichnis auf der Partition von "/".
Dann kannst Du mittels einem Link das gesamte "/opt" auf die "/usr" verbannen indem Du
1) mkdir /usr/opt 2) (alle Dateien aus "/opt" nach "/usr/opt" bewegen, ich nehme für sowas immer den mc) 3) "/opt" löschen 4) ln -s /usr/opt /opt
Ich würde das genauso machen, mit einem Unterschied 1. alles was in /opt steht nach /usr/local verschieben 2. "/opt" löschen 3. ln -s /usr/local /opt Damit ist 1. das grundsätzliche Problem verschiedener Programme oder auch Linuxversionen zwischen /opt und /usr/local beseitigt. 2. man kann sich auch mal überlegen nur /usr/local auf eine andere Partition/Platte zu legen. Dies ist intressant wenn man z.B. auf /usr/local die Schreibrechte lassen will und auf /usr nehmen will. 3. anderes was sich dafür eignet von / wegzunehmen wäre wohl /home /root /var /var/spool /var/spool/news /var/spool/wwwoffle /usr /usr/local (auch für Daten geeignet) /usr/local/ftp oder eigene Mountpoints wie /dos /backup /ftp /www /daten usw. -- ___ Gruss | __ This message was sent 14-Nov-98 |___| e o r g 10:43:21 by SuSE-Linux 5.3 -- Um aus der Liste ausgetragen zu werden, eine Mail an majordomo@suse.com schicken, mit dem Text: unsubscribe suse-linux
participants (3)
-
beckerra@rumms.uni-mannheim.de
-
GSrama@t-online.de
-
linux@musiker.de