SUSE Support

Here When You Need Us

Setting up a RAID 1 (mirrored) file system during installation

This document (7000012) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Desktop 10
SUSE Linux Enterprise Server 10
 

Situation

This document identifies the process of setting up a RAID 1 file system when installing SUSE Linux Enterprise Desktop 10.

Resolution

The steps for installing SUSE Linux Enterprise 10 to a RAID1 (mirrored) device is fairly simple.
NOTE: Once a system is set up, though, the only way to convert an existing file system to a RAID system is to copy the data off, delete the partitions that will become RAID, set up the new RAID partitions, and then copy the data back onto them. The procedure for installation is as follows:
 
  1. Start the installation. When the system arrives to the point of setting the partition information:
  2. Click on the partitioning link. This will open a new window asking how you want to customize the partitioning. Select "Base Partition Setup on This Proposal", and continue with the wizard :
  3. The next window will include the current file systems :
  4. Select the root partition (or whichever partition is desired to be set as a RAID partition), and select "Delete" at the bottom.
  5. Create a new partition from the first disk on which the new RAID partition will exist. This should use a Primary partition type when prompted. Set it to "Do not format", with a File System ID of "0xFD Linux RAID" in the drop down. Click on "OK". Repeat this last process for a partition on each drive to be used in the RAID, making sure that the partitions are the same size.
  6. When complete, at the bottom of the expert partitioner is a button called "RAID" - click this, and select "Create RAID". This will prompt for the type of RAID.
  7. Select "RAID 1 (Mirroring)", and click "Next". In the next window, each RAID partition will be listed. Highlight each one, clicking on "Add" to set the raid device to "md0" (or appropriate device). Once all have been added, click on "Next".
  8. When prompted for the formatting options of the RAID device, just ensure that the mount point is set properly, and a good format is selected (e.g. ext3), and then click "Finish".
  9. The Expert Partitioner window should be restored, this time with the RAID device listed.
  10. Click "Finish", and continue with the installation normally. Once complete, the hard drives should be mirrored.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7000012
  • Creation Date: 07-Apr-2008
  • Modified Date:16-Mar-2021
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Real Time
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.