Hey guys,
I have been having some strange issues with my raid that I have recently setup using a guide in this thread that I had:
http://ubuntuforums.org/showthread.php?t=2038289
Firstly for some reason every know and again It seems one of the drives removes itself from the raid, which may be due to the external hdd box, which is a Sharkoon 5 bay RAID box.
I currently have the RAID box in normal mode i.e. each hdd can be seen seperately, and it is connected to the server using usb2 to make use of port forwarding (withh upgrade to usb3 later on). I am using two seagate barracuda spinpoint 1tb HDDs in RAID 1.
I am getting the following messages:
Code:The following warning/error was logged by the smartd daemon: Device: /dev/sdc [SAT], failed to read SMART Attribute DataCode:A Fail event had been detected on md device /dev/md0. It could be related to component device /dev/sdb1. Faithfully yours, etc. P.S. The /proc/mdstat file currently contains the following: Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : active raid1 sdc1[1] sdb1[0](F) 976760400 blocks super 1.2 [2/1] [_U] unused devices: <none>
Currently mdadm -D /dev/md0 returns
But when the failure occurred, one drive was seen as 'Failed', but after a restart the raid was fine again!Code:/dev/md0: Version : 1.2 Creation Time : Tue Aug 28 21:31:56 2012 Raid Level : raid1 Array Size : 976760400 (931.51 GiB 1000.20 GB) Used Dev Size : 976760400 (931.51 GiB 1000.20 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Fri Aug 31 06:49:05 2012 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Name : fileserver:0 (local to host fileserver) UUID : b8320f5e:84ae6372:cd1bdd44:b366f24d Events : 17 Number Major Minor RaidDevice State 0 8 17 0 active sync /dev/sdb1 1 8 33 1 active sync /dev/sdc1
syslog shows
Code:Aug 29 15:07:05 SERVER kernel: [63989.747081] md: md0: resync done. Aug 29 15:07:05 SERVER kernel: [63989.827299] RAID1 conf printout: Aug 29 15:07:05 SERVER kernel: [63989.827308] --- wd:2 rd:2 Aug 29 15:07:05 SERVER kernel: [63989.827315] disk 0, wo:0, o:1, dev:sdb1 Aug 29 15:07:05 SERVER kernel: [63989.827321] disk 1, wo:0, o:1, dev:sdc1 Aug 29 15:07:05 SERVER mdadm[1176]: RebuildFinished event detected on md device /dev/md0 Aug 29 21:29:55 SERVER smartd[3082]: Device: /dev/sdc [SAT], failed to read SMART Attribute Data Aug 29 21:34:14 SERVER kernel: [87218.443940] md/raid1:md0: sdb1: rescheduling sector 1953520792 Aug 29 21:34:14 SERVER kernel: [87218.447987] md/raid1:md0: Disk failure on sdb1, disabling device. Aug 29 21:34:14 SERVER kernel: [87218.447992] md/raid1:md0: Operation continuing on 1 devices. Aug 29 21:34:14 SERVER kernel: [87218.452534] md/raid1:md0: redirecting sector 1953520792 to other mirror: sdc1 Aug 29 21:34:14 SERVER kernel: [87218.455147] Buffer I/O error on device md0, logical block 244190099 Aug 29 21:34:14 SERVER kernel: [87218.457676] Buffer I/O error on device md0, logical block 244190099 Aug 29 21:34:14 SERVER kernel: [87218.460491] md: super_written gets error=-19, uptodate=0 Aug 29 21:34:14 SERVER kernel: [87218.460533] RAID1 conf printout: Aug 29 21:34:14 SERVER kernel: [87218.460539] --- wd:1 rd:2 Aug 29 21:34:14 SERVER kernel: [87218.460546] disk 0, wo:1, o:0, dev:sdb1 Aug 29 21:34:14 SERVER kernel: [87218.460565] disk 1, wo:0, o:1, dev:sdc1 Aug 29 21:34:14 SERVER kernel: [87218.480042] RAID1 conf printout: Aug 29 21:34:14 SERVER kernel: [87218.480049] --- wd:1 rd:2 Aug 29 21:34:14 SERVER kernel: [87218.480055] disk 1, wo:0, o:1, dev:sdc1 Aug 29 21:34:15 SERVER sSMTP[14718]: Creating SSL connection to host Aug 29 21:34:15 SERVER sSMTP[14718]: SSL connection using RSA_ARCFOUR_SHA1 Aug 29 21:34:18 SERVER sSMTP[14718]: Sent mail for root@ (221 2.0.0 closing connection t8sm11950610wiy.3) uid=0 username=root outbytes=872 Aug 29 21:34:18 SERVER mdadm[1176]: Fail event detected on md device /dev/md0, component device /dev/sdb1 Aug 29 21:34:51 SERVER kernel: [87255.792229] md: super_written gets error=-19, uptodate=0 Aug 29 21:34:51 SERVER kernel: [87255.792350] Aborting journal on device md0-8. Aug 29 21:34:51 SERVER kernel: [87255.797504] Buffer I/O error on device md0, logical block 121667584 Aug 29 21:34:51 SERVER kernel: [87255.800227] lost page write due to I/O error on md0 Aug 29 21:34:51 SERVER kernel: [87255.800304] JBD2: I/O error detected when updating journal superblock for md0-8. Aug 29 21:34:52 SERVER kernel: [87256.000083] md: super_written gets error=-19, uptodate=0 Aug 29 21:54:19 SERVER kernel: [88423.223581] md: super_written gets error=-19, uptodate=0 Aug 29 21:54:19 SERVER kernel: [88423.223676] md: super_written gets error=-19, uptodate=0 Aug 29 21:55:03 SERVER kernel: [88467.824060] Buffer I/O error on device md0, logical block 244190099 Aug 29 21:55:12 SERVER kernel: [88475.963839] quiet_error: 27 callbacks suppressed (a million buffer I/O errors.....) Aug 29 22:06:13 SERVER kernel: [ 9.849598] md0: unknown partition table
The other problem is when writing to the disks, it will start off around 60MB/s, then goes down to 30MB/s (fine as its usb2), but then it slowly lowers to around 14MB/s and stays there. This is a bit too slow for doing backups to as I will have to leave my pc on for about two days to do one backup! Bit annoying!
Any ideas are welcome![]()



Adv Reply

Bookmarks