Difference between revisions of "SUNScholar/Install Ubuntu/S03/Disk Partitioning"
m |
m |
||
| Line 2: | Line 2: | ||
'''[[SUNScholar/Install Ubuntu/S03/Install Software|NEXT - INSTALL SOFTWARE]]''' | '''[[SUNScholar/Install Ubuntu/S03/Install Software|NEXT - INSTALL SOFTWARE]]''' | ||
</center> | </center> | ||
| + | ===RAID Array=== | ||
| + | When you new server arrives, you will need to setup a RAID array on the server. Consult the guide supplied with your server for RAID setups. | ||
| + | https://en.wikipedia.org/wiki/RAID | ||
| + | At Stellenbosch we use RAID6 as policy on our critical servers. | ||
# '''<font color="red">Take careful note of partition sizing in the table below.</font>''' | # '''<font color="red">Take careful note of partition sizing in the table below.</font>''' | ||
Revision as of 12:50, 12 May 2015
NEXT - INSTALL SOFTWARE
RAID Array
When you new server arrives, you will need to setup a RAID array on the server. Consult the guide supplied with your server for RAID setups.
https://en.wikipedia.org/wiki/RAID
At Stellenbosch we use RAID6 as policy on our critical servers.
- Take careful note of partition sizing in the table below.
- Partition disks. Select Manual.
Partition Sizing
Please note:
- The use of separate partitions for the /home and /var folders greatly facilitates disaster recovery and system stability.
- Using the /home partition for DSpace system and data files is generally accepted Unix/Linux systems administration best practice.
- And one NEVER installs operational software in a top level folder on a Unix/Linux server.
The following partition scheme is recommended.
|
/ |
ROOT partition, where all the system software is installed |
10GB Minimum - 20GB preferred |
|
n/a |
SWAP partition |
2x installed RAM |
|
/var |
VAR partition, where all the log files and database files are installed |
10GB Minimum - 50GB preferred. This depends on how big your database index files get and how large the log files. |
|
/home |
HOME partition, where all the DSpace software files and bitstreams are stored |
All the rest of the total disk capacity. |
Example Setup for SUNScholar
- /dev/sda1 = / - is the root/system partition.
- /dev/sda2 = is the swap partition and is not listed.
- /dev/sda3 = /var - is the partition where the database and log files are stored.
- /dev/sda4 = /home - is the partition where the DSpace application and assetstore are located.
Partitioning Help
Doing a manual partition setup can be confusing for those new to Linux. Below are some links to help.
- http://ubuntuserverguide.com/2013/02/manual-disk-partition-guide-for-ubuntu-server-edition.html
- http://www.ibm.com/developerworks/opensource/library/l-lpic1-v3-104-1/index.html
- YouTube video's
- Partitioning 101: http://youtu.be/eSMMs4cfMqY
- Partitioning & Installing Ubuntu Server Part 1/2: http://youtu.be/bVjzt_uriwE
- Partitioning & Installing Ubuntu Server Part 2/2: http://youtu.be/VAZRomlY8CE
- Install ubuntu server 12.04 LTS: http://youtu.be/Garnfv2pf2s

