LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-18-2010, 02:57 PM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,697

Rep: Reputation: 48
What constitutes the "OS" for RHEL


I'm trying to load a server with two drives mirrored, then a bunch of bigger drives RAID5'd for data. I want to put the OS on the mirrored drives, then data and whatever else on the mirrored set. The two virtual disks show up, but I dont know what parts I should put on the mirrored drives.

I'm used to Windows where I would install Windows onto the mirrored virtual disk during the OS install, then all my data would be on the RAID5 virtual disk. But I don't know which of the following constitute the OS for linux or should be on the mirrored set rather than the RAID5?

/
/boot
/home
/opt
/tmp
/usr
/var
 
Old 03-18-2010, 03:12 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
AFAIK, the usual convention is that the /home directory is used for user data, which you would want on your mirrored drive, as well as possibly the /var directory which generally contains log files and other changing system data. I might be inclined to also mirror /etc, as it tends to contain a lot of system-specific configuration data.
I hope others will contribute opinions on this also.
--- rod.
 
Old 03-18-2010, 03:14 PM   #3
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,697

Original Poster
Rep: Reputation: 48
Thanks for the advice Rod. I hope to get a lot more recommendations and explanations on it, like you said. Seems like this a question every newbie would be asking himself.
 
Old 03-18-2010, 03:18 PM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
You could put /home and /var on the RAID5 filesystem.
Your kernel's in /boot, your binaries are in /usr and opt doesn't do much on RH systems IMHO.

They will still appear as if they are all on / though, when viewing the filesystem.
Oh and swap should go on the faster disk too.

Just my 2c
 
Old 03-18-2010, 03:21 PM   #5
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,697

Original Poster
Rep: Reputation: 48
Thanks smoker. Also, i forgot to mention, this server will have a couple samba shares (which I envisioned putting on the large RAID5 virtual disk) and run a very minor php website which will probably be buried in opt under lampp
 
Old 03-19-2010, 09:42 AM   #6
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,697

Original Poster
Rep: Reputation: 48
Anyone else have an opinion on this? I'm still not really clear
 
Old 03-19-2010, 09:57 AM   #7
jwl17330536
Member
 
Registered: Feb 2010
Location: Raleigh, NC
Posts: 83

Rep: Reputation: 22
I think it all depends just like everyone else has said. If I were going to create a server like how I understood your original post then:

Mirrored Drive: OS level data - ensures best uptime
/boot
/
/usr
/var
/tmp
swap

RAID5 Drive: Constantly changing data - non-os data - System will carry on without them until you can recover the data
/export
/home
/var/www/

This is just what I would do. I'm sure there are hundreds of reasons why this is not perfect..
 
Old 03-19-2010, 10:02 AM   #8
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,697

Original Poster
Rep: Reputation: 48
Thanks JWL. and way to nicely lay it out for easy viewing :-)

I think on the mirrored set, i'm going to put

/boot
/
/usr
/var
/tmp
swap
/home (since only a handful of people actually log on to the server)

then on the RAID5, I'll do
/opt (which is where it appears all the other lampp sites i have on other servers are stored)
/data (for my samba shares)

I think that'll work ok, what do you guys think?
 
  


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
RHEL install Vostro 400 - sys "Loading SCSI drivers" "loading ata_piix driver..." sreekr_news Linux - Newbie 11 01-21-2010 01:25 PM
LXer: N. Dakota Judge rules that "host -l" command constitutes hacking LXer Syndicated Linux News 0 01-19-2008 02:20 AM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 07:11 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM

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

All times are GMT -5. The time now is 10:49 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration