software raid- Swap lost

Markus Schönhaber ubuntu-users at list-post.mks-mail.de
Fri May 15 17:22:51 UTC 2009


Franz Waldmüller:

> #sudo mdadm --assemble --scan
> mdadm: /dev/md2 has been started with 1 drive (out of 2).
> 
> 3. step
>   #sudo mdadm --detail /dev/md2
> /dev/md2:
>          Version : 00.90.03
>    Creation Time : Sat Jun  7 19:40:44 2008
>       Raid Level : raid1
>       Array Size : 3220928 (3.07 GiB 3.30 GB)
>    Used Dev Size : 3220928 (3.07 GiB 3.30 GB)
>     Raid Devices : 2
>    Total Devices : 1
> Preferred Minor : 2
>      Persistence : Superblock is persistent
> 
>      Update Time : Sun Aug 31 20:23:38 2008
>            State : clean, degraded
>   Active Devices : 1
> Working Devices : 1
>   Failed Devices : 0
>    Spare Devices : 0
> 
>             UUID : 6e01b9e9:9554cc84:373f983d:325f585b
>           Events : 0.13
> 
>      Number   Major   Minor   RaidDevice State
>         0       8        3        0      active sync   /dev/sda3
>         1       0        0        1      removed


What I'd do next is
mdadm /dev/md2 --re-add /dev/sdb3
If that fails, I'd use --add instead of --re-add, i. e.
mdadm /dev/md2 --add /dev/sdb3

-- 
Regards
  mks




More information about the ubuntu-users mailing list