LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   planning hard disk partitioning and making file systems (https://www.linuxquestions.org/questions/linux-networking-3/planning-hard-disk-partitioning-and-making-file-systems-81912/)

sadiboyz 08-14-2003 08:29 AM

planning hard disk partitioning and making file systems
 
Please, suggest a partitioning scheme for a general purpose computer with one 40GB disc supporting 100 users.
Justify your proposed scheme.
For each partition note:
a) its position on the disk
b) its size
c) where it should be mounted in the filesystem

Please help me with this question how to start and like how much space should i allocate for each partition. I have to have the /boot partition within the first 0 to 1023 bytes, is it true?
Please help me where to have the rest of the partitions on the hard disk like / , /root, /proc, /usr, /home. and how much space should i give to each. This is Solaris based question or if you are not solaris expert please give me a general idea. Detailed answer will be appreciated.
Ciao
Please reply.

Half_Elf 08-14-2003 11:04 AM

this look like a school homework or something like this.

There's no answer we can give you, it depend of what you are planning to do with the server and how you'll built the system.

And most system don't care about /boot outside 1023 cylinders, but it depend on your BIOS I think.

tyler0123 08-14-2003 03:26 PM

okay, i think with solaris you usually see swap at the beginning of the harddrive. that is because, and if you can visualize a record player, one rotation is one rotation. if the read is being done on the outside of the disk, then the amount of data read is more. say the diameter of the disk is 8 inches. one rotation can read all 8 inches if reading on the outside. as you move toward the inside, like say the middle of the disk, one rotation gets about 4 inches of read, and in the very inside, about say 1 inch. so the swap closer to the outside is good. not sure about /boot with solaris. sorry. but the /usr dir contains programs, so i say swap on the outside, then /usr, then /, then from there on out doesn't really matter. i think the system may log on faster and read user prefs faster if home comes next. i say make like 10% of drive for /var, /proc, etc. home should be about 10mb per user and the /usr should be the majority of the disk. swap should be like double the ram size to be safe i say. hope this gives some idea of the where's and why's of partitioning. anyway good luck.

kris.kj.jacobs 08-14-2003 03:31 PM

It isn't clear to me wether it's a Linux machine. In case of a Linux machine I would follow sadiboyz recommendations for swap, /boot and /.

For the other filesystems I would use LVM and reiserfs. With LVM, you can dynamically enlarge partititions when needed. The reiserfs filesystem can be expanded while mounted.

tyler0123 08-14-2003 03:38 PM

i don't see sadiboys recommendations on the forum, but if it is linux based, then i would say do what i posted earlier, but put a 100mb partition at the beginning of the disk for the /boot partition. then swap, etc.

kris.kj.jacobs 08-14-2003 03:58 PM

Sorry, meant tyler0123. Did something wrong with cut and paste.

tyler0123 08-14-2003 04:12 PM

no problem. i thought maybe i was totally missing something. thanks. take care.

sadiboyz 08-14-2003 11:04 PM

Guys thanks a lot for your help really appreciate that


All times are GMT -5. The time now is 03:12 AM.