LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-03-2017, 09:12 AM   #1
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Rep: Reputation: 0
Need suggestion to configure partitions on OEL 6.8 (for 12c databases)


Hi all,

I want to install 12c on OEL 6.8.
after OS installation suddenly / account mount point is completely filled.

Quote:
HOST : Windows 10
GUEST : OEL 6.8
Virtual Machine : Vmware Workstation
MY PARTITION
PHP Code:
# df -TH
Filesystem     Type     Size  Used Avail Use% Mounted on
/dev/sda3      ext4      11G   11G     0 100% /
tmpfs          tmpfs    1.1G  234k  1.1G   1% /dev/shm
/dev/sda1      ext4     199M   86M   99M  47% /boot
/dev/sda5      ext4     4.7G   10M  4.4G   1% /tmp
/dev/sda2      ext4      26G   47M   25G   1% /u01
/dev/sda7      ext4      28G   47M   27G   1% /u02
/dev/sr0       iso9660  4.1G  4.1G     0 100% /media/OL6.8 x86_64 Disc 1 20160518 
but GETTING ERROR, please see attached screenshot


IS this correct figure ?

RAM - 3GB
/ - 25G
swap - 6GB
/boot - 100m
/tmp - 4G
/u01 - 15G
/u02 - 25G

>> Do i need really 40G or 25G for root account ?

Thanks in advance.
Attached Thumbnails
Click image for larger version

Name:	0x.png
Views:	10
Size:	23.5 KB
ID:	25175  

Last edited by Joy Stick; 06-03-2017 at 09:22 AM. Reason: update
 
Old 06-03-2017, 09:38 AM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,786

Rep: Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699
#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.

I hope that helps.
 
Old 06-03-2017, 09:43 AM   #3
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Original Poster
Rep: Reputation: 0
Hi,

Basically i am NOT a unix/LINUX admin.
Kindly help me to get good configuration.

Are you suggesting me to add some other partitions ?


IS this correct figure ? or should i modify ?

RAM - 3GB
/ - 25G
swap - 6GB
/boot - 100m
/tmp - 4G
/u01 - 15G
/u02 - 25G

Please advise me.
 
Old 06-03-2017, 12:52 PM   #4
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,786

Rep: Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699
1. What are the limits on your available disk? (If a physical device, how much have you allocated to Linux?)

Your list
Quote:
RAM - 3GB
/ - 25G
swap - 6GB
/boot - 100m
/tmp - 4G
/u01 - 15G
/u02 - 25G
is interesting. I would want something like
Quote:
RAM - 3GB
/ - 25G
swap - 4GB
/boot - 512m
/tmp - 3G
/var - 5G
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.
 
Old 06-03-2017, 03:24 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
For a virtual machine I'd make:

/ = 25 GB
/usr = 25 GB
/var = 25 GB

But make it so the disk space is used only as necessary.

Last edited by AwesomeMachine; 06-03-2017 at 03:26 PM.
 
Old 06-03-2017, 03:53 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,806

Rep: Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973
Quote:
Originally Posted by Joy Stick View Post
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 ?

RAM - 3GB
/ - 25G
swap - 6GB
/boot - 100m
/tmp - 4G
/u01 - 15G
/u02 - 25G

Please advise me.
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?
 
1 members found this post helpful.
Old 06-04-2017, 10:42 PM   #7
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Original Poster
Rep: Reputation: 0
Hi All,

Quote:
you need to admit you're the administrator, or give such tasks to your administrator to actually perform.
I am an Oracle DBA but for my personal machine I am the UNIX admin. I need to work
Learning some UNIX concepts are NOT bad things for an Oracle DBAs.


Quote:
is interesting. I would want something like

RAM - 3GB
/ - 25G
swap - 4GB
/boot - 512m
/tmp - 3G
/var - 5G
This is my personal machine, do i need to allocate really 5G to /var ?

Quote:
/boot - 512m
According to my output, /boot needs 100M only.

Quote:
Filesystem Type Size Used Avail Use% Mounted on

/dev/sda1 ext4 199M 86M 99M 47% /boot
Should i allocate 512M to /boot partition ?

Last edited by Joy Stick; 06-04-2017 at 10:46 PM.
 
Old 06-05-2017, 03:35 AM   #8
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 748

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
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

Last edited by !!!; 06-05-2017 at 05:42 AM.
 
1 members found this post helpful.
Old 06-05-2017, 06:18 AM   #9
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,786

Rep: Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699Reputation: 1699
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.

Last edited by wpeckham; 06-05-2017 at 06:19 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Configure Network in OEL on VMware karumudi7 Linux - Networking 3 08-17-2010 04:57 AM
How to configure network interface card in OEL 4. ankurk Linux - Laptop and Netbook 2 12-09-2009 08:31 AM
Partitions Suggestion Kryptos Linux - Newbie 2 12-05-2007 02:13 AM
How do i configure usb modem , need suggestion monad1 Linux - Software 1 02-11-2007 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration