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

Re: Newbie Hardware/Partitioning



On Sun, 31 Aug 2003 04:55:19 -0700 (PDT), 
Alvin Oga <aoga@ns.Linux-Consulting.com> wrote in message 
<[🔎] Pine.LNX.3.96.1030831044418.19888A-100000@Maggie.Linux-Consulting.com>:

> 
> hi ya hershel
> 
> On Sun, 31 Aug 2003, Hershel Robinson wrote:
> 
> > I have a new machine on order. The more interesting items are:
> > 
> > Mobo: Gigabyte 7VA KT400 + Sound/AGP8X/DDR400
> > AMD Athlon XP 2000Mhz
> 
> have lots of nice fans ... at least 3 chassis fans 
>   2 by the cpu/power pully  and add one or tw more fans in the front
>   of the (midtwoer) case

.._silent!_ fans.

> > My second question is about partitioning for a dual boot with
> > Windows 2000. I need the Windows system, at least for now, for work
> > purposes. I also may want to store images in a shareable location
> > and I presently have 5Gigs of digital pictures on this Win 2K
> > machine.
> > 
> > My thoughts are to set up:
> > 
> > 10G Windows 2K system and software
> > 10G Shareable data (FAT?)
> 
> i'd look at how much windoze disk you're using now 
> 
> linux can read/write windoze files ( msdos, vfat ) directly
> 	- do NOT use linux to edit/delete ntfs files on windoze
> 
> 	- ie.. if you're using vfat, you wont need the 10G of shared
> 	space
> 
> - be sure that window is loaded into /dev/hda1
> 
> - make a windoze boot floppy .. !!!! it will save your butt one day
> 	make a dos boot floppy too ( for doing "fdisk /mbr" )
> 
> > For the rest, however, I am uncertain. The machine has 256M DDR and
> > I have 512M more coming so I plan to make a 768M swap partition.
> > Beyond that, the web pages I have found discuss mostly minimums for
> > / /usr /tmp and /home. I also read that more than 6Gig can create
> > problems for ext2 partitions. So at this point, I'm between those
> > minimums and 6Gig. :)
> 
> if it was my machine ...
> 
> 10GB	/windows	/dev/hda1	- find out how much space you're
> 					using now and double it??

..leave it alone, he's gonna _want_ 30GB for linux.  _Eventually_.  
He just needs to experience the why's for himself, as we all do. ;-)

> 256MB	/		/dev/hda2	- keep small as possible
> 256MB	/tmp		/dev/hda3	- keep small as possible
>                    /dev/hda4 	extended partition - not for data
> 512MB	/var		/dev/hda5	- keep enough for logs

..ditto for /var/log ,   /var/www is a good place to test and develop
your web site buyers stuff, but /var/www/* can also be symlinked from
/home/aoga/work/websites/* ,  myself, I just create new users for 
everything new I do: arnt@a45:~/kernels$ ll -G /home/
total 92
drwxr-xr-x   52 arnt         8192 Aug 31 15:20 arnt/
drwxr-xr-x    4 benkesto     4096 Jul 22 00:26 benkestok/
drwxr-xr-x    3 debian       4096 Jun  9 21:39 debian/
drwxr-xr-x    4 fly          4096 Jul  7 17:37 fly/
drwxr-xr-x    3 gas          4096 Jun  9 21:39 gas/
drwxr-xr-x   42 ipcop        4096 Jun 10 21:03 ipcop/
drwxr-xr-x    3 job          4096 Jun  9 21:39 job/
drwxr-xr-x    3 knoppix      4096 Aug 16 10:51 knoppix/
drwx------    2 root        16384 Jun  9 14:41 lost+found/
drwxr-xr-x    3 mdk          4096 Jun  9 21:39 mdk/
drwxr-xr-x    3 njus         4096 Jun  9 21:39 njus/
drwxr-xr-x   10 ogg          4096 Jun 10 20:32 ogg/
drwxr-xr-x    3 pol          4096 Jun  9 21:39 pol/
drwxr-xr-x    3 rh           4096 Jun  9 21:39 rh/
drwxr-xr-x    3 sa           4096 Jun 11 18:15 sa/
drwxr-xr-x    9 support      4096 Jun 22 23:15 support/
drwxr-xr-x    3 wifi         4096 Jun  9 21:39 wifi/
drwxr-xr-x   13 xarnt        4096 Jun 10 20:05 xarnt/
drwxr-xr-x    4 zulu         4096 Jul 18 03:33 zulu/
arnt@a45:~/kernels$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda10            251M  129M  109M  55% /
/dev/hda1              45M   21M   22M  48% /boot
/dev/hda6             9.8G   34M  9.2G   1% /tmp
/dev/hda7              20G   16G  3.6G  81% /var
/dev/hda11             25G   23G  1.4G  94% /home
/dev/hda9             9.8G  2.1G  7.2G  23% /usr
/dev/hda8             9.8G  2.8G  6.5G  30% /usr/local
/dev/hdb5              73G   54G   15G  78% /mnt
arnt@a45:~/kernels$ 

> 2048GB /usr		/dev/hda6	- keep enough to load new code

..I would say 3 G, and 1 G for /usr/local ,  but YMMV.

> 512MB	<swap>		/dev/hda7	- add memory if you need more mem

..depends on what you do, I use 2 times the maximum supportable 
by the main system board, to minimize down time on upgrades.

> rest	/home		/dev/hda8	--- maximum space for you ---
> 
> 
> move /var/www to /home/www  so that user data is separate from system
> /var files

...and symlink'em...  ;-)

> move /usr/local to  /home/local  to keep user stuff away from system
> stuff

..puts everything in one boat, ok, _not_ how I do things.  ;-)

..keep an eye out for journal failures with 'cat /proc/mounts \
|grep " ro ", you in _some_ cases want a prompt reboot and fsck,
both Debian and Red Hat will merrily keep you unaware of it on 
'mount -v | grep ro ', for _days_.

..in /etc/fstab, some ext3fs'es has "errors=remount-ro" in the 
options column, consider "errors=panic" for important stuff you 
dont wanna lose,say isp traffic logs etc, and toss in "panic=20" 
or some such in your bootloader setup.

 
> for various flavors of partition schemes and reasoning
> 	http://www.Linux-1U.net/Partitions
> 
> c ya
> alvin
> 
> 


-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.



Reply to: