Skip to main content

Thread: Help Restoring Raid With mdadm


i upgraded 8.04 server 10.04 fresh install. had raid 1 using mdadm on previous server. fresh install put dmraid on there didn't like. removed dmraid , removed metadata. installed mdadm , assembled raid. running second drive not appear active. following output mdadm --detail:

code:
administrator@dcls1:~$ sudo mdadm --detail /dev/md0 /dev/md0:         version : 00.90   creation time : wed feb 24 16:00:30 2010      raid level : raid1      array size : 976759936 (931.51 gib 1000.20 gb)   used dev size : 976759936 (931.51 gib 1000.20 gb)    raid devices : 2   total devices : 1 preferred minor : 0     persistence : superblock persistent      update time : wed oct 19 09:31:46 2011           state : clean, degraded  active devices : 1 working devices : 1  failed devices : 0   spare devices : 0             uuid : 8a35b533:3867ee91:8d6f267d:6778b5a1 (local host dcls1)          events : 0.774      number   major   minor   raiddevice state        0       8       17        0      active sync   /dev/sdb1        1       0        0        1      removed
fdisk -l looks like:

code:
disk /dev/sda: 320.1 gb, 320072933376 bytes 255 heads, 63 sectors/track, 38913 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: 0x00063b64     device boot      start         end      blocks   id  system /dev/sda1               1       37437   300706816   83  linux /dev/sda2           37437       38914    11862017    5  extended /dev/sda5           37437       38914    11862016   82  linux swap / solaris  disk /dev/sdb: 1000.2 gb, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 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: 0x74245bc6     device boot      start         end      blocks   id  system /dev/sdb1               1      121601   976760001   fd  linux raid autodetect  disk /dev/sdc: 1000.2 gb, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 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: 0xdbb35644     device boot      start         end      blocks   id  system /dev/sdc1               1      121601   976760001   fd  linux raid autodetect  disk /dev/sdd: 4016 mb, 4016045568 bytes 124 heads, 62 sectors/track, 1020 cylinders units = cylinders of 7688 * 512 = 3936256 bytes sector size (logical/physical): 512 bytes / 512 bytes i/o size (minimum/optimal): 512 bytes / 512 bytes disk identifier: 0x0004a90a     device boot      start         end      blocks   id  system /dev/sdd1   *           1        1020     3920849    c  w95 fat32 (lba)  disk /dev/md_d0: 1000.2 gb, 1000202174464 bytes 2 heads, 4 sectors/track, 244189984 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/md_d0 doesn't contain valid partition table  disk /dev/md0: 1000.2 gb, 1000202174464 bytes 2 heads, 4 sectors/track, 244189984 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 valid partition table
i have tried removing , adding drive again. when try add drive tells me "cannot open /dev/sdc1: device or resource busy". not sure go resolved.

appreciated.

thanks.



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Help Restoring Raid With mdadm


Ubuntu

Comments

Popular posts from this blog

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support