Software RAID1 On A Running LVM System (Incl. GRUB Configuration) CentOS 4.8

Discussion in 'HOWTO-Related Questions' started by vuxuancan, Feb 25, 2010.

  1. vuxuancan

    vuxuancan New Member

    Howto setup Software RAID1 On A Running LVM System (Incl. GRUB Configuration) CentOS 4.8
    I'm having some trouble setting up a RAID1 on CentOS 4.8.

    I'm using this guide:
    http://www.howtoforge.com/how-to-se...lvm-system-incl-grub-configuration-centos-5.3

    My server:
    * /dev/sda1: /boot partition, ext3;
    * /dev/sda2: is used for LVM (volume group VolGroup00) and contains / (volume LogVol00) and swap (volume LogVol01).

    when step
    Next we create /etc/mdadm.conf as follows:
    Code:
    mdadm --examine --scan > /etc/mdadm.conf
    mdadm --examine --scan > /etc/mdadm.conf mdadm: No devices listed in /etc/mdadm.conf


    Howto fix ?


    Thanks and best regard.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    mdadm --examine --scan
    ? What's in /etc/mdadm.conf?
     
  3. vuxuancan

    vuxuancan New Member

    out put of
    Code:
    mdadm --examine --scan
    No devices listed in /etc/mdadm.conf

    Code:
    [root@pa ~]# mdadm --examine --scan
    mdadm: No devices listed in /etc/mdadm.conf
    [root@pa ~]# cat /etc/mdadm.conf
    [root@pa ~]#
     
    Last edited: Feb 26, 2010

Share This Page