planning hard disk partitioning and making file systems
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.