RAID 1 replace new harddisk

Discussion in 'HOWTO-Related Questions' started by aspangilinan, Nov 13, 2011.

  1. aspangilinan

    aspangilinan New Member

    Hi to All,

    Anyone can help me for restore raid system

    root@pos45:/# cat /proc/mdstat
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md1 : inactive sdb2[1](S) >>>>>>>>>>>>>>>> my new harddisk
    1912768 blocks

    md0 : active raid1 sdb1[1] >>>>>>>>>>>>>>>>>>>>> my old harddisk
    242284480 blocks [2/1] [_U]

    unused devices: <none>

    other reference

    root@pos45:/# fdisk -l

    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x3b86077f

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 30401 244196001 c W95 FAT32 (LBA)

    Disk /dev/sdb: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x3b86077f

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 30164 242284544 fd Linux raid autodetect
    /dev/sdb2 30164 30402 1912832 fd Linux raid autodetect

    Disk /dev/md0: 248.1 GB, 248099307520 bytes
    2 heads, 4 sectors/track, 60571120 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/md0 doesn't contain a valid partition table


    Thanks.
    Arnel
     
  2. falko

    falko Super Moderator Howtoforge Staff

Share This Page