LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-14-2008, 10:54 AM   #1
mek1
LQ Newbie
 
Registered: Aug 2008
Posts: 11

Rep: Reputation: 0
Red face RHEL5 partitions, /opt/


Hi,

I've installed RHEL5 a few times for testing (on non-raid servers). We are getting a new server with raid1 array for 2x 160gb drives for main system and 2x 500gb drives for the application data.

The application for this server needs a lot of space in /opt/, would that be configured during initial system setup or later (like with symbolic)?

thanks
 
Old 08-14-2008, 10:55 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,520

Rep: Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944
Quote:
Originally Posted by mek1 View Post
Hi,

I've installed RHEL5 a few times for testing (on non-raid servers). We are getting a new server with raid1 array for 2x 160gb drives for main system and 2x 500gb drives for the application data.

The application for this server needs a lot of space in /opt/, would that be configured during initial system setup or later (like with symbolic)?

thanks
You can do it either way, although I'd probably partition it during installation.
 
Old 08-14-2008, 10:58 AM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You can configure during initial setup.

In the installation it will typically default to using LVM.

At the point where it talks about disk partitioning you can tell it to do standard layout. There is a check box that you can select which allows you to view/modify the setup before it is committed. Check that box and it will pull up the screen showing you the default layout.

Typically it defaults to having /boot on sda2 and VolGroup00 on sda1 with / (root) taking up all of VolGroup1. In that screen you can reduce / size in the LVM setup then create the partitions you need.

I usually create Logical Volumes (LVs) for:
/
/tmp
/home
/var
/usr
/opt
swap

/boot has to be on a physical partition which is why it defaults to /dev/sda2.
 
Old 08-14-2008, 11:19 AM   #4
kenoshi
Member
 
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159

Rep: Reputation: 32
Doesn't really matter, if you know ahead of time what your application requirements are, just do it during install...it makes no difference either way, well, except if you do it later, you'll have to create and format the partition, then mount and update fstab manually.
 
Old 08-21-2008, 04:25 PM   #5
mek1
LQ Newbie
 
Registered: Aug 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks guys!

Yeah, it was really easy. I thought I'd have to do it the 'hard way' through fdisk, but this worked out perfect.
 
  


Reply

Tags
solutions


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
Regarding # /opt/CTEact/bin/act & /opt/SUNWexplo/bin/explorer not available for x86 rajaniyer123 Solaris / OpenSolaris 6 04-24-2008 09:09 AM
regarding /opt directory... zameer_india Linux - Newbie 2 01-19-2005 12:48 AM
/opt or /usr ? eeried Linux - Newbie 1 01-06-2005 04:49 AM
Moving VAR TMP HOME OPT to new partitions JWatson Linux - Newbie 2 01-03-2005 04:54 AM
Use of /opt monz Linux - General 3 05-13-2004 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:55 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