Corrections Server guide chapter 2: advanced installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server Guide |
Fix Released
|
Undecided
|
Hannie Dumoleyn |
Bug Description
Advanced installation
Partitioning
3. Select the "FREE SPACE" on the first drive then select "Create a new partition".
3. Select the "FREE SPACE" on the first drive, then select "Create a new partition".
5. Select the "Use as:" line at the top. By default this is "Ext4 journaling file system", change that to "physical volume for RAID" then "Done setting up partition".
5. Select the "Use as:" line at the top. By default this is "Ext4 journaling file system"; change that to "physical volume for RAID", then choose "Done setting up partition".
6. For the / partition once again select "Free Space" on the first drive then "Create a new partition".
6. For the / partition once again select "Free Space" on the first drive, then "Create a new partition".
RAID configuration
6. Next, enter the number of spare devices "0" by default, then choose "Continue".
6. Next, enter the number of spare devices, "0" by default, then choose "Continue".
Degrading RAID
When this happens, using Software RAID, the operating system will place the array into what is known as a degraded state.
When this happens while using Software RAID, the operating system will place the array into what is known as a degraded state.
Note: numbers as numerical, or spelled out?
...after thirty seconds.
...after 30 seconds.
Once the initramfs has booted there is a fifteen second prompt...
Once the initramfs has booted, there is a 15 second prompt...
The dpkg-reconfigure utility can be used to configure the default behavior, and during the process you will be queried about additional settings related to the array. Such as monitoring, email alerts, etc.
The dpkg-reconfigure utility can be used to configure the default behavior, and during the process you will be queried about additional settings related to the array, such as monitoring, email alerts, etc.
Once the system has booted you can either repair the array see the section called “RAID Maintenance” for details, or copy important data to another machine due to major hardware failure.
Once the system has booted, you can either repair the array (see the section called “RAID Maintenance” for details), or copy important data to another machine.
Note: I think ..due to etc. is out of place.
RAID maintenance
The output if very similar to the mdadm -D command, adjust /dev/sda1 for each disk.
The output is very similar to the mdadm -D command, adjust /dev/sda1 for each disk.
Sometimes a disk can change to a faulty state even though there is nothing physically wrong with the drive. It is usually worthwhile to remove the drive from the array then re-add it.
Sometimes a disk can change to a faulty state even though there is nothing physically wrong with the drive. It is usually worthwhile to remove the drive from the array, and then re-add it.
If you do need to replace a faulty drive, after the drive has been replaced and synced, grub will need to be installed.
If you do need to replace a faulty drive, grub will need to be installed after the drive has been replaced and synced.
Logical Volume Manager (LVM)
Logical Volume Manger, or LVM,...
Logical Volume Manager, or LVM,...
A VG can can be extended by adding more PVs.
A VG can be extended by adding more PVs.
A LV is formatted with the desired file system (EXT3, XFS, JFS, etc), it is then available for mounting and data storage.
A LV is formatted with the desired file system (EXT3, XFS, JFS, etc); it is then available for mounting and data storage.
Installation
As an example this section covers installing Ubuntu Server Edition..
As an example, this section covers installing Ubuntu Server Edition..
There are several installation options for LVM, "Guided - use the entire disk and setup LVM" which will also..
There are several installation options for LVM, "Guided - use the entire disk and setup LVM", which will also..
1. Follow the installation steps until you get to the Partition disks step, then:
1. Follow the installation steps until you get to the Partition disks step.
5.For the LVM /srv, create a new Logical partition. Then change "Use as" to "physical volume for LVM" then "Done setting up the partition".
5. For the LVM /srv, create a new Logical partition. Change "Use as" to "physical volume for LVM", then choose "Done setting up the partition".
9. Now add a filesystem to the new LVM. Select the partition under "LVM VG vg01, LV srv", or whatever name you have chosen, the choose Use as.
9. Now add a filesystem to the new LVM. Select the partition under "LVM VG vg01, LV srv", or whatever name you have chosen, then choose Use as.
Extending Volume Groups
...volume (you could choose to create partitions and use them as different physical volumes)
...volume (you could choose to create partitions and use them as different physical volumes).
First, create the physical volume, in a terminal execute:
First, create the physical volume; in a terminal execute:
sudo lvextend /dev/vg01/srv -l +511
The -l option allows the LV to be extended using PE.
Note: in my webbrowser, -l looks like -/. This may be confusing.
Found: 4 typo's. Added: many comma's and semicolons. Added/removed some words.
Reviewed by Hannie Dumoleyn March 7th, 2012
Changed in serverguide: | |
status: | In Progress → Fix Committed |
I have corrected this chapter, sent it to LP and submitted a merge proposal on 03-19-12