Lost 1 Raid disk. Hoe do I re-mount ?

Hi there

I am running Raid 1. So far so good. One drive has not be mounted after quite a while running perfectly. How do I re-mount the drive ? Attempts to do this via Partitioner failed.

Cheers and thanks

otto_oz

Hi
Use the mdadm command from a terminal, need to remove and readd
probably;


mdadm --detail /dev/mdX

Where X is your device number.


mdadm --detail /dev/md1
/dev/md1:
Version : 1.0
Creation Time : Tue Jul 20 13:24:46 2010
Raid Level : raid1
Array Size : 486290296 (463.76 GiB 497.96 GB)
Used Dev Size : 486290296 (463.76 GiB 497.96 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent

Intent Bitmap : Internal

Update Time : Fri Apr 13 20:29:54 2012
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Name : linux:1
UUID : c6189b32:ddf30d72:18108950:ffa23d17
Events : 3620

Number   Major   Minor   RaidDevice State
2       8       18        0      active sync   /dev/sdb2
1       8       34        1      active sync   /dev/sdc2


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 3 days 12:39, 2 users, load average: 0.06, 0.03, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Hi Malcolm

Thanks for the advice ! I added the device with:

mdadm --manage /dev/md0 --add /dev/sdc2

The system is currently re-syncing

linux-vowa:/ # mdadm --detail /dev/md0
/dev/md0:
        Version : 1.0
  Creation Time : Sun Dec 26 15:16:45 2010
     Raid Level : raid1
     Array Size : 462167928 (440.76 GiB 473.26 GB)
  Used Dev Size : 462167928 (440.76 GiB 473.26 GB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Mon Apr 16 04:49:20 2012
          State : active, degraded, recovering 
 Active Devices : 1
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 1

 Rebuild Status : 35% complete

           Name : 192-168-1-2:0
           UUID : e3eb18f9:6f12cb57:ee265a50:3edf446e
         Events : 195518

    Number   Major   Minor   RaidDevice State
       0       8       18        0      active sync   /dev/sdb2
       1       8       34        1      spare rebuilding   /dev/sdc2

Thanks and cheers otto_oz

Hi
Hmmm it shouldn’t be a spare, let it sync and see if it changes. Else a
reboot may add it back in.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 20:17, 2 users, load average: 0.05, 0.03, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

linux-vowa:/home/hase # mdadm --detail /dev/md0
/dev/md0:
        Version : 1.0
  Creation Time : Sun Dec 26 15:16:45 2010
     Raid Level : raid1
     Array Size : 462167928 (440.76 GiB 473.26 GB)
  Used Dev Size : 462167928 (440.76 GiB 473.26 GB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Tue Apr 17 04:38:34 2012
          State : active 
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           Name : 192-168-1-2:0
           UUID : e3eb18f9:6f12cb57:ee265a50:3edf446e
         Events : 197485

    Number   Major   Minor   RaidDevice State
       0       8       18        0      active sync   /dev/sdb2
       1       8       34        1      active sync   /dev/sdc2

All good, cheers

otto_oz