Difference between revisions of "SUNScholar/Install Ubuntu/S03/Disk Partitioning"

From Libopedia
Jump to navigation Jump to search
Line 5: Line 5:
 
<font color="red">'''<big>Please note:</big><br></font>The use of separate partitions for the /home and /var folders greatly facilitates disaster recovery and system stability.<br>Using the /home partition for DSpace system and data files is generally accepted systems administration practice.'''
 
<font color="red">'''<big>Please note:</big><br></font>The use of separate partitions for the /home and /var folders greatly facilitates disaster recovery and system stability.<br>Using the /home partition for DSpace system and data files is generally accepted systems administration practice.'''
  
# '''<font color="red">Take careful note of partition sizing in [[SUNScholar/Install Ubuntu/S01|Step 1]]</font>'''
+
# '''<font color="red">Take careful note of partition sizing in the table below.</font>'''
 
# Partition setup. '''Select manual.'''
 
# Partition setup. '''Select manual.'''
  
 
[[File:Install-ubuntu-manual-partition.png]]
 
[[File:Install-ubuntu-manual-partition.png]]
----===Partition Sizing===
+
----
 +
===Partition Sizing===
 
The following partition scheme is reccomended.
 
The following partition scheme is reccomended.
 
{|class="wikitable" width="95%"
 
{|class="wikitable" width="95%"

Revision as of 06:42, 30 December 2013

Back to Index

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 systems administration practice.

  1. Take careful note of partition sizing in the table below.
  2. Partition setup. Select manual.

Install-ubuntu-manual-partition.png


Partition Sizing

The following partition scheme is reccomended.

/

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.

Partitioning Help

Doing a manual partition setup can be confusing for those new to Linux. Below are some links to help.

YouTube video's

Example Setup

Sunscholar-disk-space.png

  • /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.

Sample End of Partitioning Screenshot

Note: The /var partition is missing, due to lack of virtual server disk space.

Install-ubuntu-partitions.png

Next