Results 1 to 4 of 4

Thread: RAID1 File System corrupt - Now What?

  1. #1
    Join Date
    Sep 2008
    Location
    St Louis, MO USA
    Posts
    398

    Default RAID1 File System corrupt - Now What?

    I just got openSUSE 11.2 set up on my home server. The machine has two 2TB HDDs, the first (/dev/sda1) is partitioned thusly:

    10GB /
    1GB swap
    1.82TB /home (/dev/md1 in RAID1 array)

    The second HDD has only one partition:

    1.82TB /home (/dev/md2 in RAID array)

    So my home partition is on a RAID1 array, but the system only boots from one disk.

    This setup has been working fine - however, today I rebooted, and got dropped at the command prompt with the following message:



    Sorry for the bad angle, I couldn't fit all that much on the camera screen (and I wasn't going to hand type all that!


    Does anyone know what's going on here? Did one of my drives fail? They are brand new! I can boot in failsafe mode still, presumably because RAID is turned off then. What can I do to fix this?

    I'd appreciate some help since this is a rather critical system on my home network.
    Dell Inspiron 530 - C2Q@2.4Ghz; 6GB RAM; openSUSE 11.2 x86_64; KDE 4.4.1
    Dell Inspiron 1440 - C2D@2.2Ghz; 4GB RAM; openSUSE 11.2 x86; KDE 4.4.1
    Dell Latitude D531 - AMD Turion X2 64@2.0Ghz; 2GB RAM; Linux Mint 8

  2. #2
    Join Date
    Sep 2008
    Location
    St Louis, MO USA
    Posts
    398

    Default Re: RAID1 File System corrupt - Now What?

    My bad - some more searching finally turned up this thread: File system is corrupted after every reboot

    I had to replace the "md-uuid" junk in /etc/fstab with the plain /dev/md0. Why, why, oh WHY have we switched to disk id's!?! It seems to do nothing but spawn forum threads like these ones!!!

    Oh well, all's well then ends well.
    Dell Inspiron 530 - C2Q@2.4Ghz; 6GB RAM; openSUSE 11.2 x86_64; KDE 4.4.1
    Dell Inspiron 1440 - C2D@2.2Ghz; 4GB RAM; openSUSE 11.2 x86; KDE 4.4.1
    Dell Latitude D531 - AMD Turion X2 64@2.0Ghz; 2GB RAM; Linux Mint 8

  3. #3
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: RAID1 File System corrupt - Now What?

    Actually your description is incorrect. Firstly, the first disk is called /dev/sda, not /dev/sda1. Secondly, the component partitions that form /home on the disks are not called /dev/md1 and /dev/md2, those refer to a combined RAID array. They still are called /dev/sda3 and /dev/sdb1 (maybe). Also from the screenshot, it looks like / is also RAID, on /dev/md0.

    So perhaps you have / on /dev/md0 and /home on /dev/md1? Why not post the contents of /etc/fstab and /etc/mdadm.conf instead of giving a verbal description which confuses.

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: RAID1 File System corrupt - Now What?

    On 2010-12-30 23:36, zak89 wrote:
    >
    > I just got openSUSE 11.2 set up on my home server. The machine has two
    > 2TB HDDs, the first (/dev/sda1) is partitioned thusly:
    >
    > 10GB /
    > 1GB swap
    > 1.82TB /home (/dev/md1 in RAID1 array)
    >
    > The second HDD has only one partition:
    >
    > 1.82TB /home (/dev/md2 in RAID array)


    This description is wrong.

    If you have md1 and md2, that's two different raid arrays, and it is not
    clear where the two sides of each array is. Plus, md0 is missing from the
    description.

    Guessing, I suppose you have a partition that is half of md0, probably
    sda3. And probably, the other half is sdb1. Thus, one array.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •