bump
Type: Posts; User: kendallp; Keyword(s):
I have sSMTP setup and can send mail to a specified e-mail address without any issue. For example:
echo "test message" | mail -s 'Test' kendallp@hotmail.com
But if I try to send mail to a...
Array finished syncing!
#cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sdc1[3] sde1[0] sdf1[4] sda1[2] sdb1[1]
...
I found another 2TB drive lying around so I went ahead and ran ddresuce again:
#sudo ddrescue -v -r3 --block-size=4KiB --force /dev/sda /dev/sdc rescue1.log
About to copy 2 TBytes from...
Ddrescue finished:
#sudo ddrescue -v -r3 --block-size=4KiB --force /dev/sda /dev/sdc rescue.log
About to copy 2 TBytes from /dev/sda to /dev/sdc
Starting positions: infile = 0 B, ...
Thank you Rubylaser. Later today I'll try gddrescue to copy sda to sdc and see if I can get the array reassembled. Last night I started an offline test with smartctl which will not finish until...
It looks like the sync failed again due to errors on sda1:
#cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sdc1[5](S)...
I noticed that also after posting so maybe this time it will work.
I will substitute the word stupid for your bold. I also didn't include how the first time I used --create, I did not add...
Next I tried zeroing the superblock on every drive and recreating the array:
#sudo mdadm --create /dev/md0 --level=5 --raid-devices=5 --chunk=256 --metadata=0.90 /dev/sde1 /dev/sdb1 /dev/sda1...
The --add failed again. /dev/sda looks to be dying also as you mentioned Rubylaser:
#cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0...
I did not this time but the previous time I had the array up with 4 of 5 disks I mounted it and the data looked good.
Fingers crossed we are going to work from here:
fsck finished:
#sudo fsck /dev/md0
fsck from util-linux 2.20.1
e2fsck 1.42 (29-Nov-2011)
/dev/md0: recovering journal
/dev/md0 has been...
After doing further reading on the interwebs, the order seems to be important for --create but not --assemble; as is "missing". So I tried assembling with --force:
#sudo mdadm --assemble...
SDC does not seem to have resynced correctly. Darko mentioned using "missing" but I received an error when trying to use it.
#sudo mdadm --assemble --force /dev/md0 /dev/sde1 /dev/sdb1...
Test results:
#sudo smartctl -l selftest /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-39-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen,...
SMART long is running and will finish at 6pm EST. I'll update once it finishes (along with the metadata). Thanks Rubylaser.
-Kendall
Here you go and thank you:
#sudo smartctl -a /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-39-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen,...
It does not seem to like missing:
#sudo mdadm --assemble --force /dev/md0 /dev/sde1 /dev/sdb1 /dev/sda1 missing /dev/sdf1
mdadm: cannot open device missing: No such file or directory
mdadm:...
Thank you Darko. I stopped the array and attempted to reassemble with --scan:
#sudo mdadm --assemble --scan
mdadm: WARNING /dev/sdc1 and /dev/sdc appear to have very similar superblocks.
...
And in case it helps:
#cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default (built-in), scan all partitions...
No such luck. Added /dev/sdc1 which took around 26 hours to finish. Results from this morning:
#cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4]...
This is the reason you should not work on computers prior to having coffee. I remembered while taking a shower that I had not mounted the array.
So I have reassembled using --scan and mounted the...
Thank you Darko,
Below is the output you requested:
#sudo mdadm --examine /dev/sd[abcef]1
/dev/sda1:
Magic : a92b4efc
Version : 0.90.00
UUID :...
Thank you Rubylaser and Darkod. Unfortunately, things did not go how I was hoping.
I stopped the array and attempted to reassemble it:
#sudo mdadm --assemble /dev/md0 /dev/sd[a,b,c,e,f]1...
Hello,
A few days ago I received a SMART error on one of the drives in my raid so I removed the drive and had a replacement (it was still under warranty) sent to me. Yesterday I attempted to add...