Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
/root is the home directory of the root user (which you have allocated 4 GB), but the "root" filesystem is /. Are you sure it is saying that /root is full and not root? Since you haven't shown how much space you allocated to the root filesystem.
What is taking me so much from / in a new installation? I have just installed apache bind and webalizer. Do you suggest more space for / than 4GB? this is a shared hosting server. what partitions do you suggest please?
You have sort of a strange partition setup here. You have partitioned off all of the directories that are small, and left all the big stuff on the single partition.
The root filesystem (/) and /usr will take up probably 80-90% of the space on a fresh install, and you have them both on the single 4 GB partition; while directories which will never take up much space like /tmp and /var/log are pushed into their own. It is a good idea to push things like /var/log off to another partition for security reasons (though with modern log rotation and disk sizes, DoS via logging seems pretty unlikely), but you need to makes sure the core OS has enough space to operate.
There is no reason to put /boot onto it's own partition on modern hardware, so you can leave that on /. I would put / on at least 2 GB, and then /usr on another 4 GB. If you are going to leave / and /usr on the same partition, make it at least 10 GB.
btw I have a 146GB hard disk space. How shall I mount the data partition somewhere more appropriate? What do you mean by this please? Can you kindly elaborate more on this?
Thanks again for your cooperation.
UPDATE: I have just read that / (root direction) is the parent of all other partitions... am I understanding well please? So every other partition will fall under the / partition. This means that I MUST do the / partition the largest partition in size, right?
By default, everything belongs under / but you can decide to place certain subdirectories of / on their own partition - which is what you appear to be doing.
Frankly, it is often more convenient to leave everything - except swap, home and possibly boot - under /. It reduces the risk of this or that partition running out of space, makes backups easier, etc. Neither does having multiple partitions increase performance in any noticeable way; if you are really concerned about that kind of thing, you should spread your partitions over multiple drives instead.