Thread: RAID 5 just stopped working! In dire need of assistance!
so, i'm new linux user , have machine ubuntu server 11.04 use media center.
run 5 drives raid 5 , few hours ago stopped working without apparent reason.
outputs:
cat /etc/mdadm/mdadm.conf
mount -t ext4 /dev/md0 /home/media/code:device /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 array /dev/md/0 metadata=1.2 name=mediaserver:0 uuid=abed07c8:642dcdf4:1dab4941:46f4a7e1
fdisk -lcode:mount: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error (could ide device in fact use ide-scsi sr0 or sda or needed?) in cases useful info found in syslog - try dmesg | tail or so
cat /proc/mdstatcode: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: 0x000ec505 device boot start end blocks id system /dev/sda1 * 1 30142 242109440 83 linux /dev/sda2 30142 30402 2086913 5 extended /dev/sda5 30142 30402 2086912 82 linux swap / solaris disk /dev/sdd: 2000.4 gb, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders units = cylinders of 16065 * 512 = 8225280 bytes sector size (logical/physical): 512 bytes / 4096 bytes i/o size (minimum/optimal): 4096 bytes / 4096 bytes disk identifier: 0x1eca617b device boot start end blocks id system /dev/sdd1 1 243201 1953512001 fd linux raid autodetect partition 1 not start on physical sector boundary. disk /dev/sdc: 2000.4 gb, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders units = cylinders of 16065 * 512 = 8225280 bytes sector size (logical/physical): 512 bytes / 4096 bytes i/o size (minimum/optimal): 4096 bytes / 4096 bytes disk identifier: 0xf40865d4 device boot start end blocks id system /dev/sdc1 1 243201 1953512001 fd linux raid autodetect partition 1 not start on physical sector boundary. disk /dev/sdb: 2000.4 gb, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders units = cylinders of 16065 * 512 = 8225280 bytes sector size (logical/physical): 512 bytes / 4096 bytes i/o size (minimum/optimal): 4096 bytes / 4096 bytes disk identifier: 0xcb79cc05 device boot start end blocks id system /dev/sdb1 1 243201 1953512001 fd linux raid autodetect partition 1 not start on physical sector boundary. disk /dev/sde: 2000.4 gb, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders units = cylinders of 16065 * 512 = 8225280 bytes sector size (logical/physical): 512 bytes / 4096 bytes i/o size (minimum/optimal): 4096 bytes / 4096 bytes disk identifier: 0x898dceae device boot start end blocks id system /dev/sde1 1 243201 1953512001 fd linux raid autodetect partition 1 not start on physical sector boundary. disk /dev/sdf: 2000.4 gb, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders units = cylinders of 16065 * 512 = 8225280 bytes sector size (logical/physical): 512 bytes / 4096 bytes i/o size (minimum/optimal): 4096 bytes / 4096 bytes disk identifier: 0x566e97a1 device boot start end blocks id system /dev/sdf1 1 243201 1953512001 fd linux raid autodetect partition 1 not start on physical sector boundary.
mdadm --examine --scancode:personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : inactive sdb1[0](s) sdf1[5](s) sde1[3](s) sdd1[2](s) sdc1[1](s) 9767554885 blocks super 1.2 unused devices: <none>
mdadm --detail /dev/md0code:array /dev/md/0 metadata=1.2 uuid=abed07c8:642dcdf4:1dab4941:46f4a7e1 name=mediaserver:0
mdadm --stop /dev/md0code:mdadm: md device /dev/md0 not appear active.
mdadm --assemble --verbose --scancode:mdadm: stopped /dev/md0
cat /etc/fstabcode:mdadm: looking devices /dev/md/0 mdadm: /dev/sdb1 identified member of /dev/md/0, slot 0. mdadm: /dev/sdc1 identified member of /dev/md/0, slot 1. mdadm: /dev/sdd1 identified member of /dev/md/0, slot 2. mdadm: /dev/sde1 identified member of /dev/md/0, slot 3. mdadm: /dev/sdf1 identified member of /dev/md/0, slot 4. mdadm: added /dev/sdc1 /dev/md/0 1 mdadm: added /dev/sdd1 /dev/md/0 2 mdadm: added /dev/sde1 /dev/md/0 3 mdadm: added /dev/sdf1 /dev/md/0 4 mdadm: added /dev/sdb1 /dev/md/0 0 mdadm: /dev/md/0 assembled 3 drives - not enough start array.
code:# /etc/fstab: static file system information. # # use 'blkid -o value -s uuid' print universally unique identifier # device; may used uuid= more robust way name # devices works if disks added , removed. see fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 /dev/sda1 / ext4 errors=remount-ro 0 1 # swap on /dev/sda5 during installation uuid=bcb92102-2e87-4058-8905-8c50567bb283 none swap sw 0 0 /dev/lvm1/media /home/media ext4 defaults 1 2
i'v gotten raid working 4 discs out of 5... ran mdadm /dev/md0 --stop , waited time before running mdadm --assemble --verbose --force /dev/md0 /dev/sd[bcdef]1
cat /proc/mdstatcode:mdadm: looking devices /dev/md0 mdadm: /dev/sdb1 identified member of /dev/md0, slot 0. mdadm: /dev/sdc1 identified member of /dev/md0, slot 1. mdadm: /dev/sdd1 identified member of /dev/md0, slot 2. mdadm: /dev/sde1 identified member of /dev/md0, slot 3. mdadm: /dev/sdf1 identified member of /dev/md0, slot 4. mdadm: forcing event count in /dev/sdf1(4) 191319 upto 191333 mdadm: clearing faulty flag device 4 in /dev/md0 /dev/sdf1 mdadm: added /dev/sdc1 /dev/md0 1 mdadm: added /dev/sdd1 /dev/md0 2 mdadm: added /dev/sde1 /dev/md0 3 mdadm: added /dev/sdf1 /dev/md0 4 mdadm: added /dev/sdb1 /dev/md0 0 mdadm: /dev/md0 has been started 4 drives (out of 5).
used mdadm --add /dev/md0 /dev/sde1 add missing disc.code:personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : active raid5 sdb1[0] sdf1[5] sdd1[2] sdc1[1] 7814041600 blocks super 1.2 level 5, 512k chunk, algorithm 2 [5/4] [uuu_u] unused devices: <none>
cat /proc/mdstat
code:personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : active raid5 sde1[3] sdb1[0] sdf1[5] sdd1[2] sdc1[1] 7814041600 blocks super 1.2 level 5, 512k chunk, algorithm 2 [5/4] [uuu_u] [>....................] recovery = 0.3% (7317888/1953510400) finish=626.8min speed=51748k/sec unused devices: <none>
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] RAID 5 just stopped working! In dire need of assistance!
Ubuntu
Comments
Post a Comment