Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th December 2012, 14:51
dpicella dpicella is offline
Senior Member
 
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
Default System RAID Messages -- what do they mean?

I recently set up a new server. The OS has 2 drives on RIAD 1 and the data has 3 disks on RAID 5. I got this message from the system. Not sure what it means. It is the only one a got and it has been several days, so maybe I can ignore it.

Quote:
To: root
Subject: Fail event on /dev/md0icella.net

This is an automatically generated mail message from mdadm
running on picella.net

A Fail event had been detected on md device /dev/md0.

It could be related to component device /dev/sda2.

Faithfully yours, etc.

P.S. The /proc/mdstat file currently contains the following:

Personalities : [raid1] [raid6] [raid5] [raid4]
md1 : active raid5 sde1[3] sdc1[0] sdd1[1]
1953518592 blocks super 1.1 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
bitmap: 3/8 pages [12KB], 65536KB chunk
Reply With Quote
Sponsored Links
  #2  
Old 28th December 2012, 11:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's the output of
Code:
cat /proc/mdstat
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 30th December 2012, 21:28
dpicella dpicella is offline
Senior Member
 
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
Default

Quote:
Originally Posted by falko View Post
What's the output of
Code:
cat /proc/mdstat
?
Personalities : [raid1] [raid6] [raid5] [raid4]
md1 : active raid5 sdc1[0] sdd1[1] sde1[3]
1953518592 blocks super 1.1 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
bitmap: 2/8 pages [8KB], 65536KB chunk

md0 : active raid1 sdb1[1]
312363900 blocks super 1.1 [2/1] [_U]
bitmap: 3/3 pages [12KB], 65536KB chunk

unused devices: <none>
Reply With Quote
  #4  
Old 31st December 2012, 13:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
md0 : active raid1 sdb1[1]
312363900 blocks super 1.1 [2/1] [_U]
bitmap: 3/3 pages [12KB], 65536KB chunk
Your /dev/md0 array is degraded - /dev/sda1 is missing. Try to re-add it as follows:

Code:
mdadm --manage /dev/md0 --fail /dev/sda1
mdadm --manage /dev/md0 --remove /dev/sda1
mdadm --zero-superblock /dev/sda1
mdadm -a /dev/md0 /dev/sda1
(see http://www.howtoforge.com/how-to-set...ebian-lenny-p4 ).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
dpicella (1st January 2013)
  #5  
Old 1st January 2013, 08:56
dpicella dpicella is offline
Senior Member
 
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
Default Weird ... Now I have 2 arrays that have degraded

# cat /proc/mdstat

Personalities : [raid1] [raid6] [raid5] [raid4]
md1 : active raid5 sdd1[1] sde1[3]
1953518592 blocks super 1.1 level 5, 512k chunk, algorithm 2 [3/2] [_UU]
bitmap: 7/8 pages [28KB], 65536KB chunk

md0 : active raid1 sdb1[1]
312363900 blocks super 1.1 [2/1] [_U]
bitmap: 3/3 pages [12KB], 65536KB chunk


# fdisk -l

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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0005a631

Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 38914 312365056 fd Linux raid autodetect

Disk /dev/sdb: 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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000831b7

Device Boot Start End Blocks Id System
/dev/sdb1 1 38914 312569856 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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00020849

Device Boot Start End Blocks Id System
/dev/sdc1 1 121602 976760832 fd Linux raid autodetect

Disk /dev/sdd: 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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00031948

Device Boot Start End Blocks Id System
/dev/sdd1 1 121602 976760832 fd Linux raid autodetect

Disk /dev/sde: 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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00059d1d

Device Boot Start End Blocks Id System
/dev/sde1 1 121602 976760832 fd Linux raid autodetect

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


Disk /dev/mapper/vg_localhost-lv_root: 262.1 GB, 262144000000 bytes
255 heads, 63 sectors/track, 31870 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: 0x00000000


Disk /dev/mapper/vg_localhost-lv_swap: 8485 MB, 8485076992 bytes
255 heads, 63 sectors/track, 1031 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: 0x00000000


Disk /dev/md1: 2000.4 GB, 2000403038208 bytes
2 heads, 4 sectors/track, 488379648 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_localhost-lv_home: 49.2 GB, 49228546048 bytes
255 heads, 63 sectors/track, 5985 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: 0x00000000

When I ran the fix from above I got this ...

# mdadm --manage /dev/md0 --fail /dev/sda1
mdadm: set device faulty failed for /dev/sda1: No such device

# mdadm --manage /dev/md0 --remove /dev/sda1
mdadm: hot remove failed for /dev/sda1: No such device or address

# mdadm --zero-superblock /dev/sda1
mdadm: Couldn't open /dev/sda1 for write - not zeroing

# mdadm -a /dev/md0 /dev/sda1
mdadm: Cannot open /dev/sda1: Device or resource busy
Reply With Quote
  #6  
Old 1st January 2013, 15:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Maybe one of your hard drives is dying...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
error log, raid, system messages

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Start ISPConfig royrobinson Installation/Configuration 15 30th May 2012 10:48
First hardware raid, first data loss !! Camomille Installation/Configuration 3 11th May 2011 05:51
Setting up a new server - Suse 11.1 londonman Server Operation 34 10th April 2009 13:16
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Fedora Core 2 Turns into ReadOnly File system after rebuilding Hardware Raid agurung Installation/Configuration 3 23rd August 2006 14:40


All times are GMT +2. The time now is 15:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.