vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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! thanks! Greetings Siggi |
| |||
| Siggi <Siggi.Hofstetter@t-online.de> wrote: > 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! It looks fine to me, apart from the lack of a /usr/local. > /dev/hda7 3075 150 2926 5% / 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. > /dev/hda8 157 37 121 24% /boot 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. > /dev/hda9 2056 1282 774 63% /home Yawn and whatever's fine for you. > /dev/hda11 2565 1088 1478 43% /opt What on earth do you have in there? Three copiesof staroffice. Anyway, good sizing. > /dev/hda12 502 35 468 7% /tmp 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. > /dev/hda13 12268 1661 10608 14% /usr This is way oversize. > /dev/hda10 3075 117 2959 4% /var 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. > i wanna change the /usr partition to 6Gb instead of 12. Go ahead. > The filesystem is reiser. You need a reiser resizing tool. > It would be great if somebody could give me a step by step description for > the resizing of the /usr partition. Use a reiser resizing tool. Does parted work? It does for ext2. Peter |
| |||
| P.T. Breuer wrote: > reiser resizing tool 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 <Siggi.Hofstetter@t-online.de> wrote: > > reiser resizing tool > 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 ?!? ?? 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. > So i think it quit dangerous to unmount the /usr dir !! 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. > Any suggestion on this ?? 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. Breuer <ptb@oboe.it.uc3m.es> wrote: > Siggi <Siggi.Hofstetter@t-online.de> wrote: [..] > > The filesystem is reiser. > You need a reiser resizing tool. > > It would be great if somebody could give me a step by step description for > > the resizing of the /usr partition. > Use a reiser resizing tool. > Does parted work? It does for ext2. 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 |
| |||
| On Wed, 12 Nov 2003 11:29:04 +0100, Siggi <Siggi.Hofstetter@t-online.de> wrote: > /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 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. |
| ||||
| P.T. Breuer wrote: > Siggi <Siggi.Hofstetter@t-online.de> wrote: >> > reiser resizing tool > >> 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 ?!? > > ?? 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. > >> So i think it quit dangerous to unmount the /usr dir !! > > 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. > >> Any suggestion on this ?? > > 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 Thanks Peter, you are right ! This should work! I will test it! Thanks anyways! |