logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Partitionen eines FC2 Rootservers ändern: msg#00157

linux.redhat.fedora.german

Subject: Re: Partitionen eines FC2 Rootservers ändern

Ronny Fauth schrieb:
Hi,

ich habe einen 1und1 Rootserver mit einem FC2 drauf, läuft alles prima,
nur die partitionierung ist "etwas" schlecht gewählt, im moment sieht
sie so aus:

Dateisystem Größe Benut Verf Ben% Eingehängt auf
/dev/hda1 496M 489M 0 100% /
none 122M 0 122M 0% /dev/shm
/dev/hda7 27G 218M 26G 1% /home
/dev/hda5 4,9G 563M 4,4G 12% /usr
/dev/hda6 4,9G 499M 4,4G 10% /var

das problem ist nun, dass ich von "/home" ungefähr 1GB abzwacken möchte
und das als "/tmp"
anhängen...

hat da irgendeiner ein kurzes, prägnantes Howto was auch sicher
funktioniert, partitionieren und Linux.... das bereitet mir schon
Magenschmerzen wenn ich nur daran denke, zumal das ein rootserver für
die Firma ist für die ich arbeite.

MfG

Ronny

Hallo,

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.
6. hda8 anlegen und fdisk beenden.
7. System neustarten da Partitionstabelle geändert.
8. hda8 formatieren und als /tmp einbinden

Das Ganze beruht darauf, dass durchaus ein 10 GB grosses Filsystem in einer 15 GB grossen Partition liegen kann !!
Umgekehrt natürlich nicht ;-)

Noch Fragen ?

Tschüss Bruno



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
krysalis.sandbo...    web.zope.zwiki/...    gnome.apps.gnum...    xfree86.newbie/...    editors.vim/200...    mozilla.enigmai...    boot-loaders.gr...    network.vnc.ult...    redhat.release....    java.geronimo.u...    os.netbsd.devel...    horde.wicked/20...    linux.lsb.discu...    ietf.ips/2005-0...    alsa.devel/2002...    user-groups.lin...    package-managem...    debian.devel.da...    security.cyrus....    video.gstreamer...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation