Professional Web Applications Themes

Partitionen verkleinern????? - Linux Setup, Configuration & Administration

Hallo zusammen, bin neu in Linux ! Ich habe mir Suse 9.0 zum testen auf meinen Rechner gespielt als Dualboot ein einer erweitertetn Partion ! Macht einen guten Eindruck. Nun habe ich aber wie es scheint, meine Festplatte ungünstig partioniert. /dev/hda7 3075 150 2926 5% / /dev/hda8 157 37 121 24% /boot /dev/hda9 2056 1282 774 63% /home /dev/hda11 2565 1088 1478 43% /opt /dev/hda12 502 35 468 7% /tmp /dev/hda13 12268 1661 10608 14% /usr /dev/hda10 3075 117 2959 4% /var Ich würde nun gerne das /usr um die Haelfte verkleinern, um noch eine Backup partition zu erhalten. Das ...

  1. #1

    Default Partitionen verkleinern?????

    Hallo zusammen,

    bin neu in Linux !

    Ich habe mir Suse 9.0 zum testen auf meinen Rechner gespielt als Dualboot
    ein einer erweitertetn Partion ! Macht einen guten Eindruck. Nun habe ich
    aber wie es scheint, meine Festplatte ungünstig partioniert.

    /dev/hda7 3075 150 2926 5% /
    /dev/hda8 157 37 121 24% /boot
    /dev/hda9 2056 1282 774 63% /home
    /dev/hda11 2565 1088 1478 43% /opt
    /dev/hda12 502 35 468 7% /tmp
    /dev/hda13 12268 1661 10608 14% /usr
    /dev/hda10 3075 117 2959 4% /var


    Ich würde nun gerne das /usr um die Haelfte verkleinern,
    um noch eine Backup partition zu erhalten.
    Das ganze wurde mit reiser formatiert.

    Kann mir jemand eine Step by Step Beschreibung geben, wie ich das machen
    kann ohne das System ins Nirvana zu schiessen ??

    Wäre klasse!

    Danke !

    Gruss Siggi
    Siggi Guest

  2. #2

    Default Partitionen verkleinern?????

    dear all,

    i'm new at Linux.

    I installed a Suse9.0 Linux for test reason as a dualboot installation!

    But the choice of partions was not very smart how it seems!

    /dev/hda7 3075 150 2926 5% /
    /dev/hda8 157 37 121 24% /boot
    /dev/hda9 2056 1282 774 63% /home
    /dev/hda11 2565 1088 1478 43% /opt
    /dev/hda12 502 35 468 7% /tmp
    /dev/hda13 12268 1661 10608 14% /usr
    /dev/hda10 3075 117 2959 4% /var

    i wanna change the /usr partition to 6Gb instead of 12.
    The filesystem is reiser.
    It would be great if somebody could give me a step by step description for
    the resizing of the /usr partition.

    i don't wanna crash this system! :o))

    thanks!

    Greetings Siggi
    Siggi Guest

  3. #3

    Default Re: Partitionen verkleinern?????

    Siggi <de> wrote: 

    It looks fine to me, apart from the lack of a /usr/local.
     

    This is way under used. You only want something like 256MB for /. The
    idea is to give it a low profile, so you can back it up easily, and
    maintain an extra copy on disk, and expect it not to be hurt by disk
    head smashes.
     

    Looks fine, though it's completely unnecessary nowadays, unless you run
    multiple distros, in which case its a convenient place to keep the
    common kernels you use. I have much bigger /boot parts because I have
    dozens and dozens of different kernels. This makes /lib/modules also
    a candidate for separation - or at least also placing on the boot
    partition.

    I would like to see /lib/modules moved to /boot/modules.
     

    Yawn and whatever's fine for you.
     

    What on earth do you have in there? Three copiesof staroffice. Anyway,
    good sizing.
     

    Way too small. You can't even fit an iso image in there. I'd make it a
    1GB part, or link it to /var/tmp. In fact, yes, do that.
     

    This is way oversize.
     

    This is a bit oversize. I'd have it at 1 or 1.5GB (especially if tmp
    is in there). You can get away with a lot less if you don't do a lot of
    logging, don't have huge caches in there, don't do mail bigtime, etc.
    etc.
     

    Go ahead.
     

    You need a reiser resizing tool.
     

    Use a reiser resizing tool.

    Does parted work? It does for ext2.

    Peter
    P.T. Guest

  4. #4

    Default Re: Partitionen verkleinern?????

    P.T. Breuer wrote:
     

    Hi peter,
    the parted tools tells me to unmount the partition, but i'm not sure if i'm
    gettings trouble if i umount the /usr directory ?!?

    So i think it quit dangerous to unmount the /usr dir !!

    Any suggestion on this ??
    Greetings Siggi
    Siggi Guest

  5. #5

    Default Re: Partitionen verkleinern?????

    Siggi <de> wrote: [/ref]
     

    ?? You must unmount it if you are going to fiddle with it. Whatever
    "troubles" you have without /usr available in the meantime are yours to
    deal with.
     

    I don't. What danger do you see, apart from not having anything on /usr
    available for a while? Which sounds about as dangerous to me as not
    reading the newspaper today.
     

    If there is something you want from there, put it somewhere else for a
    bit. Or copy the whole part contents somewhere else for a while.
    Or boot from a rescue cd. Etc.

    It's hardly a mind breaker!

    Peter
    P.T. Guest

  6. #6

    Default Re: Partitionen verkleinern?????

    P.T. Breuer <it.uc3m.es> wrote: 
    [..] [/ref]
     
     [/ref]
     
     

    Hi Peter!

    GNU parted doesn't work with reiserfs, according to my man page.

    One can use 'resize_reiserfs', works while mounted.
    ;)

    I use it with lvm to grow volumes while the FS is in use. Works like a charm,
    only some minor problems with rescanning some SCSI bus for new attached
    devices, I need to sort out...

    --
    Michael Heiming

    Remove +SIGNS and www. if you expect an answer, sorry for
    inconvenience, but I get tons of SPAM
    Michael Guest

  7. #7

    Default Re: Partitionen verkleinern?????

    On Wed, 12 Nov 2003 11:29:04 +0100, Siggi <de> wrote:
     

    1) use resize_resierfs to shrink the filesystem
    2) use fdisk to shrink the partition
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    Help fight continental drift.
    mjt Guest

  8. #8

    Default Re: Partitionen verkleinern?????

    P.T. Breuer wrote:
     [/ref]

    >
    > ?? You must unmount it if you are going to fiddle with it. Whatever
    > "troubles" you have without /usr available in the meantime are yours to
    > deal with.

    >
    > I don't. What danger do you see, apart from not having anything on /usr
    > available for a while? Which sounds about as dangerous to me as not
    > reading the newspaper today.

    >
    > If there is something you want from there, put it somewhere else for a
    > bit. Or copy the whole part contents somewhere else for a while.
    > Or boot from a rescue cd. Etc.
    >
    > It's hardly a mind breaker!
    >
    > Peter[/ref]

    Thanks Peter,
    you are right ! This should work!

    I will test it!

    Thanks anyways!

    Siggi Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139