Need suggestion to configure partitions on OEL 6.8 (for 12c databases)
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.
#1 / is not the root account, it is the root file system.
#2 it is fairly common for / to be allocated about 20G. I have some as small as 10 G, but that is with separate file systems for /usr/local and /var. Since almost everything for mail, repo and package staging, and other cache 'stuff' that needs to remain through a reboot uses /var, you do want to overcommit space to /var (or the parent containing it - in this case / ) to prevent space issues during printing, software updates, etc.
I do not do OLE, so I cannot address OLE specific questions. Were I doing either database or development work, I would have allocated more space to /, made /var a separate file system with about 5G or so, but those are based upon my use history not yours.
Note: I did not discuss /u01 and /u02 because I am not recommending a specific size for those. It is NOT that I do not recommend those, but those depend upon your use case for those spaces and we have not discussed that.
Note that I recommend less swap. That is an option. You always want more swap than ram for crash core dump space if needed, but a lot more makes little sense unless you have a swap heavy application.
Note that I recommend a /var file space for system protection and to segregate that I/O a bit.
Note that I normally do not allocate a /tmp on modern systems, because on most new distributions /tmp is a dynamic virtual file system that is not retained across boots (somewhat like a ram disk). I would have to verify that for your system to be sure. If it is dynamic, do not create a file system on disk for it as that effort and space is probably wasted.
I have recommended a 5G /var. IF this were a heavy mail or print server I would make that bigger. If you do not have to support local mail or printing AT ALL we could reduce it a bit.
I would like someone else, perhaps someone who has used OLE and knows how that impacts those file systems, to weigh in and suggest any modifications that may be wise.
Hi,
Basically i am NOT a unix/LINUX admin. Kindly help me to get good configuration.
Sorry, but you've been asking about Linux admin-type things for at least two years now, and about Oracle for at least one. At some point, either you need to admit you're the administrator, or give such tasks to your administrator to actually perform.
Quote:
Are you suggesting me to add some other partitions ? IS this correct figure ? or should i modify ?
There is no 'correct' way to do this, and that's why there are administrators. You were advised that the root (/) file system can be smaller, and as far as /u01 and /u02...how on earth would we know? That's where your data is going to be stored....and only you or your adminstrator know how much data you have. Swap space isn't of much concern these days, given how cheap RAM is, and how much is in most servers.
If you are not the administrator, then get the administrator to build your box according to the specifications you give them (number of users, how much data is in the database, etc.). If you ARE the administrator, and you don't know these things, and you're using OEL....contact Oracle, or read any one of the MANY Oracle knowledgebase articles about how to build a server. You are paying for OEL...right?
Use LVM. Then, most size problems will be gone! Linux101 #10
Leave /boot as a separate non-lvm partition; 250mb is more than enough, unless you keep lots of old kernel versions. (lookup what /boot is used for)
Or, you can "cheat", since this is your personal Win10 PC, and make a single / filesystem in your VM! (boot, u*, everything will share a single filesystem space; even swap can be a file! This is my "lazy" way! But OracleDB may require /u* to be separate partitions: I don't know DBA.) The answers are like: how you would answer my question of: "how big should my room/apt/house/cubicle/car be?".
Here's ideas on finding what is using most space in a filesystem, / in your case.
Do you have a good recent book on Unix/Linux System Administration, to study&learn?
Friendly advice: web search! In this case, search: oel partition guide
I second the recommendation to use LVM. In general, if you use the default, automated partitioning on install most distributions will use LVM. There are many good reasons for using it, and few reasons to avoid LVM.
I always allocate a bit extra to /boot so that upgrades will not stall on adding a newer kernel. If you keep the older unused kernel packages uninstalled religiously you can live with less.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.