Software RAID question

James Bensley jwbensley at gmail.com
Thu Apr 15 17:05:39 UTC 2010


Hey listee's,

Every now and again, when I boot up my software raid won't be mounted
which I assume is because of the "fsck every X boots" but I don't
count how many times I boot my machine up so I don't know for sure. Is
there a way I can check what my RAID is doing to discover the reason
why it isn't running? Below I have shown my configs to show that
everything is set up correctly, so I believe it is just the monthly
fsck running however if anyone has any input I'm all ears:

$ cat /etc/mdadm/mdadm.conf
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE /dev/sdb1
DEVICE /dev/sdc1
DEVICE /dev/sdd1
DEVICE /dev/sde1

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md1 level=raid5 num-devices=4
UUID=3a2f1919:52f73b40:e368bf24:bd0fce41

# This file was auto-generated on Sat, 19 Dec 2009 15:27:44 +0000
# by mkconf $Id$



$cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0]
[raid1] [raid10]
md1 : active raid5 sde1[3] sdd1[2] sdc1[1] sdb1[0]
      2930279808 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

unused devices: <none>



cat /etc/fstab
/dev/md1 /media/Array ext3 defaults 0 2


P.S. I can't find anything unusual in dmesg and both checkfs and
checkroot in /var/log/fsck have entries dated for Dec 19th 2009 as
their most recent entries.
-- 
Regards,
James.

http://www.jamesbensley.co.cc/




More information about the ubuntu-users mailing list