Re: repartitioning
On Fri, 11 Mar 2005, Matt Price wrote:
> so I have this big 80gig disk, and a year or so ago I went mad
> partitioning it
yup :-)
> (I was playing around with other OS's). Now several
> of the little partitions I made are very full,
to be expected .. but ... is there a reason for it besides "getting full"
> so I'd like to
> consolidate them and make the system more rational.
good idea :-)
> however. htis is my primary drive, so I'm a bit unsure how to proceed.
first thing ..
- backup your /home and /etc
- get a list of installed packages
- even better, get another $40 disk ( 80GB ) for the backup
which is in fact the new "partition scheme"
( it will be 100x cheaper/faster/better/reliable to get a new disk)
...
> here are the partitions I currently use:
>
> Filesystem Size Used Avail Use% Mounted on
> /dev/hda1 2.9G 2.0G 732M 74% /
> /dev/hda5 2.9G 2.1G 626M 78% /var
> /dev/hda9 9.2G 6.2G 2.6G 72% /usr
> /dev/hda10 9.2G 8.1G 646M 93% /home
> /dev/hda11 9.7G 5.5G 3.7G 60% /yeowe
> /dev/hda12 9.7G 6.0G 3.2G 66% /yeowe/usr
> /dev/hda13 16G 6.8G 8.1G 46% /var/www
>
> What I'd like to do:
>
> consolidate /dev/hda1,2,3, as well as /dev/hda6,7, and perhaps /dev/hda11,12
why ... it'd still result in "too full" ??
my preferred partition scheme
/ 256MB
/tmp 256MB -- you really should have a separate /tmp partition
/var 4GB ( in your case ) -- what do you have in it .. geez
/usr 8GB ( in your case ) -- i assume you have lots of tgz files
swap 512MB -- stick swap someplace
/home rest of the disk
/var/www goes in user area /home/www
everything you add/change should be in /home
/var can be 1GB ... /usr can be 2GB ... unless its filling up with stuff
and move "dynamically growing files" into /home since it's your stuff
- let the system files be small and static and fast
> can I do all this without rebooting? Or is that a pipe dream?
you will have to reboot .. or write the code so that one doesnt have
to reboot when moving partition boundries around :-)
c ya
alvin
Reply to: