Professional Documents
Culture Documents
(https://www.linkedin.com/in/slavovma
rtin)
ABOUT ME (HTTP://LINUX-SYS-ADM.COM/ABOUT-ME/)
MY PROJECTS (HTTP://LINUX-SYS-ADM.COM/MY-PROJECTS/)
How to add second hdd (additional hard drive) in Ubuntu 14.04 (Linux) Step-by-step
(http://linux-sys-adm.com/?p=284)
This guide will describes the basic steps of installing Ubuntu Server 14.04 from beginning to end. is a fault-tolerance conguration known as disk mirroring. With RAID
1 (https://help.ubuntu.com/community/Installation/SoftwareRAID), data is copied seamlessly and simultaneously, from one disk to another, creating a replica, or
mirror. If one disk gets fried, the other can keep working. Its the simplest way to implement fault tolerance and its relatively low cost.The downside is that RAID 1
causes a slight drag on performance. RAID 1 can be implemented through either software or hardware. A minimum of two disks is required for RAID 1 hardware
implementations. With software RAID 1, instead of two physical disks, data can be mirrored between volumes on a single disk. One additional point to remember is
that RAID 1 cuts total disk capacity in half: If a server with two 1TB drives is congured with RAID 1, then total storage capacity will be 1TB not 2TB.
Minimum 2 disks.
Good performance ( no striping. no parity ).
Excellent redundancy ( as blocks are mirrored ).
Step 1 Select what language you would like to install. I am going to use English language.
Step 2 Select Install Ubuntu Server.
Step 3 Select language that used for the installation process, default English.
Step 4 Select location that will used for time zone and also for example to help select the system locale.
Step 7 Select the layout matching the keyboard for your machine. Default English.
Step 8 Auto congure network.
Step 9 Set Up users Enter full name or real name for the new user, then select .
Step 10 Set Up users Enter name for your account, then select .
Step 13 Answer if you want to encrypt home directory. I recommend answer because if your hard driver ever gets corrupted and you need to retrieve information it
will be much easier to access it.
Step 14 Select your time zone.
Step 57 Partitioning Disks: Choose Number of spare devices for the RAID 1 array 0.
Step 58 Partitioning Disks: Select rst partition from HDD1 and HHD2 /dev/sda1 and /dev/sdb1
Step 59 Partitioning Disks: Create RAID for seconds partition Choose Create MD device.
Step 60 Partitioning Disks: Choose RAID 1.
Step 61 Partitioning Disks: Partitioning Disks: Choose Number of active devices for RAID 1 array 2 .
Step 62 Partitioning Disks: Choose Number of spare devices for the RAID 1 array 0.
Step 63 Partitioning Disks: Select seconds partition from HDD1 and HHD2 /dev/sda2 and /dev/sdb2
Step 64 Partitioning Disks: Choose Finish.
Step 65 Partitioning Disks: To congure the swap RAID partition, select the 427.5 MB RAID device listed under RAID1 device #0.
Step 66 Partitioning Disks: Choose Use as.
Step 69 Partitioning Disks: To congure the swap RAID partition, select the 3.9 GB RAID device listed under RAID1 device #0.
Step 70 Partitioning Disks: Choose Use as.
Step 75 Partitioning Disks: Choose Finish partitioning and write changes to disk.
Step 76 Partitioning Disks: If you can choose yes or no in this example i will choose NO. I will change it on YES undel command line. I strongly recommend to
choose YES.
Step 81 You can view RAID status with this command cat /proc/mdstat
Step 82 Activate boot degraded array. Edit grub nano /etc/default/grub and edit follow line GRUB_CMDLINE_LINUX_DEFAULT as below:
GRUB_CMDLINE_LINUX_DEFAULT=bootdegraded=true
GRUB_CMDLINE_LINUX_DEFAULT=bootdegraded=true
Step 83 Upgrade-grub.
root@mail:/# update-grub
2 Theme How to FIX BUG disk lter writes are not supported Ubuntu (Server)14.04 (http://linux-sys-adm.com/how-to-xed-bug-disk-lter-writes-are-not-supported-
ubuntu-server14.04/)
Share Share
(//www.linksalpha.com/social/mobile?link=http%3A%2F%2Flinux-sys-adm.com%2Fhow-to-install-and-activate-raid-1-ubuntu-server-14.04-lts-step-by-step-by-step%2F&title=How%20to%20install%20and%20activate
How to install and congure Samba Server with How to FIX BUG disk lter writes are not
FULL AUDIT on Ubuntu (Server)14.04 LTS Step-by- supported Ubuntu (Server)14.04 (http://linux-
Step (http://linux-sys-adm.com/how-to-install-and- sys-adm.com/how-to-xed-bug-disk-lter-writes-
conguration-samba-server-on-ubuntu- are-not-supported-ubuntu-server14.04/)
server14.04-lts-step-by-step/)
Leave a Reply
Your email address will not be published. Required elds are marked *
Name *
Email *
Website
Comment
Post Comment
Developed by MartinSlavov
(http://linux-sys-adm.com/?
page_id=50)