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!
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.
basically, I used my linux for watching movie, games, virtualization and software development. So, dear linux expert do you think my LFS layout will suite my needs?
3G for swap sounds like a lot - unless you're doing some huge video processing. Even if you are, I'd put more RAM in the box and reduce the swap size anyway, swap is slow.
As for the rest it depends what you're using the box for. Is it a server of some sort, a desktop or something else?
3G for swap sounds like a lot - unless you're doing some huge video processing. Even if you are, I'd put more RAM in the box and reduce the swap size anyway, swap is slow.
As for the rest it depends what you're using the box for. Is it a server of some sort, a desktop or something else?
well, I doing a lot of downloading as well, so do I need to increase my /usr or /home?
because just I alone is using that linux box and no one else.......
I download a lot of stuff as well - but it's usually application code and doesn't end up in /home. Other people download vidoes/music and it does end up under /home.
To give you practical advice on a partition scheme, we need to know where the usage will be. As an alternative, create one big partition and a swap file (say 1GB), use the system for a while and monitor disk usage with du -csh /* - the only risk is that if something happens to fill your hard disk you may need to boot with a rescue CD to clear some space if the system won't let you boot/login.
Partitioning can be an emotional thing for some people. How you do it depends entirely on what is practical for your situation.
I download a lot of stuff as well - but it's usually application code and doesn't end up in /home. Other people download vidoes/music and it does end up under /home.
To give you practical advice on a partition scheme, we need to know where the usage will be. As an alternative, create one big partition and a swap file (say 1GB), use the system for a while and monitor disk usage with du -csh /* - the only risk is that if something happens to fill your hard disk you may need to boot with a rescue CD to clear some space if the system won't let you boot/login.
Partitioning can be an emotional thing for some people. How you do it depends entirely on what is practical for your situation.
btw, for "/" partition should I upgrade it to 8 or 10 gigs?
Since you have separate /usr and /var partitions there's no need for / to be very big since it will only contain the minimal set of binaries/libraries. 5 GB might even be a bit on the big size, although I don't see a separate /boot partition (which is always a good idea IMO) so maybe not...
above is my revised linux file system layout, I don't know whether that I should decrease both "/usr" and "/opt" to 10 gigs and increase my "/home" into 41 gigs, because I played a lot of game which I need a big hard disk space for my windows virtualization adn I love movies.
Personally I think that an opt of 12GB is a bit excessive,
and I'd like to see a separate partition for /tmp if you're
trying to be that granular in hte first place ... nothing as
nasty as root being full because /tmp ran over ;}
And if you make a separate /tmp partition, you need only 2GB for /, that will still be plenty. 5 or 6GB for /opt should be more than enough, too. I would suggest a separate partition for vmware images, preferably even on a different hard drive.
And if you make a separate /tmp partition, you need only 2GB for /, that will still be plenty. 5 or 6GB for /opt should be more than enough, too. I would suggest a separate partition for vmware images, preferably even on a different hard drive.
how much hard disk space should I put in for "/tmp"? 2 gigs or 1 gigs?
Depends on your personal usage. If you, for example, were to create
your own video DVDs you'd want a fairly chunky /tmp *or* lots of space
in ~ .... it's all a matter of your preferences.
But if you don't do anything like creating videos, /tmp can be kept quite small. Most of the time it doesn't outgrow a handful of megabytes. Mine is 1GB, just in case, but most of the time it is 99% empty. If you ever need more /tmp on some specific occasion, you can apply a few simple tricks such as pointing it to free space in another partition (say, your home partition).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.