[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: repartitioning



Alvin Oga wrote:

On Fri, 11 Mar 2005, Matt Price wrote:



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)

well, probably that's what I should do I guess.
...


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" ??


well, no, several of those partitions are no longer used in my current setup (they were small partitions I used for other distros before I decided on the One True Way); so I'd gain some space overall.

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

well, not in my case, I have a bunch of web stuff that doesn't in my view belong in user home directories. but yes, there's a lot of cruft on the system.


/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 :-)


ok, well, I'm not gonna do that until after I learn C I guess.. but seriously, is this something that other 'nixes can do? Must this bea fundamental barrier?

matt

--

--------------------------
 .''`.       Matt Price
: :'  :      Debian User
`. `'` 	     & hemi-geek
  `-
--------------------------
don't use these addresses:  aardvark@derailleur.org, zeus@derailleur.org



Reply to: