[Lvlug] Frist Question??

Tom Walsh tom@openhardware.net
Mon, 06 Nov 2000 07:16:19 -0500


"Robert F. Trettel" wrote:
> 
> Hi,
> 
> This is sort of my first question to the group.
> I am fairly new to Linux,so bear with me.
> Right now running Red Hat 7 which was done
> by workstation install(why needed to get on web in a hurry).
> This is going to change soon. I have two hard drives in my box.
> As of now no use for Windows.
> I would like to setup for Red hat to take over both drives. I think it
> can be done in custom setup,I would like to give Linux the Max
> of space(drives are a 8.4gig &4.3gig)
> Would somebody give me a idea as to the following:
>                 /
>                 /user
>                 /home
>                 swap   ----have 64 mg ram
> 
> What would be the best way to start over   from this workstation
> install??

As for starting over, you can just reboot the CDROM and do another
install, the install process will wipe the media clean.

As for partitioning, this is my workstation setup, a single 18g SCSI
drive as follows:

*** fdisk table:

disk /dev/sda: 255 heads, 63 sectors, 2231 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1             1        13    104391   83  Linux
/dev/sda2            14        26    104422+  83  Linux
/dev/sda3            27        52    208845   83  Linux
/dev/sda4            53      2231  17502817+   5  Extended
/dev/sda5            53        91    313236   83  Linux
/dev/sda6            92       193    819283+  83  Linux
/dev/sda7           194       703   4096543+  83  Linux
/dev/sda8           704      2231  12273628+  83  Linux

*** df -h report:
 
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             197M   58M  129M  31% /
/dev/sda5             296M   33M  247M  12% /var
/dev/sda6             787M  2.8M  745M   0% /tmp
/dev/sda7             3.8G  2.7G  988M  74% /usr
/dev/sda8              11G  6.4G  4.6G  58% /home
//server/temp         9.2G  4.6G  4.6G  50% /temp


Note that the fdisk block are equivliant to K's of bytes (1000 K's == 1
Megabyte).  From my experience:

/		only about 100M
/boot		only about 45M
/var		about 200M
/tmp		about 200M
/usr		at least 1Gig..2Gig
/home		all the rest!

You do want to break the filesystem into seperate volumes because if you
max the disk space out on a volume it won't crash the o/s.  Don't use
the default of RedHat 7.0 where it uses the whole drive for a single
volume!  Guess they got a lot of newbies confused as to how to partition
the drive, so they took the easy way out, use the whole drive (it will
work, but ...).


TomW



-- 
Tom Walsh - WN3L - Embedded Systems Consultant
'www.openhardware.net', 'www.cyberiansoftware.com'
"Windows? No thanks, I have work to do..."