个人工具

UbuntuHelp:DegradedRAID

来自Ubuntu中文

跳转至: 导航, 搜索

Introduction

This page outlines the procedure needed in order to automatically boot from a degraded Software RAID partition when using Ubuntu 8.04 LTS (Hardy Heron).

Upgrading

First, make sure all updates are applied to the system. Perform the updates by entering the following in a terminal:

sudo apt-get update && sudo apt-get -y dist-upgrade

Updating Grub

Once the utilities are upgraded, grub will need to be installed on each drive in the Array: Determine if your /boot is on a RAID device:

df /boot | tail -n 1 | awk '{print $1}'

If so, install grub to that device.

sudo grub-install /dev/md0

Note: replace /dev/md0 with the actual /boot device in your machine.

Boot Configuration

With grub updated, configure the boot behavior. There are several options available, see the Degraded RAID section of the Ubuntu Server Guide for details.

See Also

For information on installing Ubuntu Server Edition on Software RAID see Installation/SoftwareRAID. Also, refer to LP #290885: