So, just a little update:
I went ahead and removed the array using mdadm --stop, mdadm --zero-superblock /dev/sda1 (and sdc1), and mdadm --remove.
Next, I wiped the filesystems on /dev/sda1 and dev/sdc1.
I ran: mkfs -t ext3 /dev/sda1
and
mkfs -t ext3 /dev/sdc1
(I decided to go with ext3 just for the heck of it, rather than ext4.)
I was then able to successfully mount /dev/sda1 and /dev/sdc1. I also ran fsck.ext3 on both and received no errors.
Finally, I recreated the array using:
Code:
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdc1
It seemed to be created successfully and mdstat now shows:
Code:
root@sabsrv:/mnt# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdc1[1] sda1[0]
976629568 blocks super 1.2 [2/2] [UU]
[==>..................] resync = 10.2% (99648704/976629568) finish=131.8min speed=110841K/sec
The problem?
I still can't mount this thing. Here's some more info...
/etc/fstab:
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=94800779-3276-4159-8fdd-1f35db344bca / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=8a777bdf-08fd-4fb0-9244-4f5675730a5e none swap sw 0 0
/dev/md0 /mnt/live/working ext3 defaults 0 2
/dev/sdd /mnt/archive ext3 defaults 0 3
/etc/mdadm/mdadm.conf:
Code:
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers
# 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
# This file was auto-generated on Fri, 21 Mar 2014 15:16:37 -0500
# by mkconf $Id$
ARRAY /dev/md/0 metadata=1.2 UUID=044f65c9:ac4db1ee:3c04ac2c:ac539d70 name=sabsrv:0
mdadm --detail /dev/md0:
Code:
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers
# 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
# This file was auto-generated on Fri, 21 Mar 2014 15:16:37 -0500
# by mkconf $Id$
ARRAY /dev/md/0 metadata=1.2 UUID=044f65c9:ac4db1ee:3c04ac2c:ac539d70 name=sabsrv:0
root@sabsrv:/mnt# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Tue Apr 1 14:20:31 2014
Raid Level : raid1
Array Size : 976629568 (931.39 GiB 1000.07 GB)
Used Dev Size : 976629568 (931.39 GiB 1000.07 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Tue Apr 1 14:40:32 2014
State : active, resyncing
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Resync Status : 16% complete
Name : sabsrv:0 (local to host sabsrv)
UUID : 044f65c9:ac4db1ee:3c04ac2c:ac539d70
Events : 5
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 33 1 active sync /dev/sdc1
fsck.ext3 /dev/md0:
Code:
e2fsck 1.42 (29-Nov-2011)
fsck.ext3: Superblock invalid, trying backup blocks...
fsck.ext3: Bad magic number in super-block while trying to open /dev/md0
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Bookmarks