Partitionen eines FC2 Rootservers ändern

Ronny Buchmann ronny-vlug at vlugnet.org
Sun Apr 24 17:20:33 UTC 2005


On Saturday 23 April 2005 13:54, Bruno Fey wrote:
> Ein Ausdruch von fdisk -l würde noch bessere Informationen liefern. Aber
> ich gehe mal davon aus, dass hda7 die letzte Partition ist.
> Was die ganze Sache auch sehr vereinfacht !
>
> 1. Sicherung von /home (oder mutig ohne)
> 2. mit resize2fs das Filesystem von /dev/hda7 verkleinern
> 3. Auszug aus man resize2fs :
>
> If you wish to shrink an ext2 partition, first use resize2fs  to  shrink
> the size of filesystem.  Then you may use fdisk(8) to shrink the size of
> the partition.  When shrinking the size of the partition, make sure  you
> do not make it smaller than the new size of the ext2 filesystem!
>
> 4. mit fdisk hda7 löschen !!
> 5. hda7 mit neuer kleinerer Grösse anlegen, aber nicht kleiner als das
> neue Filesystem. s. Auszug.
parted erledigt das (2-5) in einem Schritt [resize] (weniger fehleranfällig)

> 6. hda8 anlegen und fdisk beenden.
> 7. System neustarten da Partitionstabelle geändert.
> 8. hda8 formatieren und als /tmp einbinden
-- 
http://LinuxWiki.org/RonnyBuchmann




More information about the Fedora-de-list mailing list