Problem mounting raid array

Hi,
I've build this new array several times, and I can't seem to get it to mount.
I've searched around, but all the other solutions I've found don't seem to work for me.

I have 14 1.5TB drives, named sda-n in /dev
I do an fdisk /dev/sdx, new part, primary, 1, largest size, then t, fd, then write.
I do this for all the drives..
All my drives look like this:

Quote:
Disk /dev/sdn: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x04000000

Device Boot Start End Blocks Id System
/dev/sdn1 1 182401 1465136001 fd Linux raid autodetect
At this time, in /dev I see all the devices and the partitions...

Next I do this:
mdadm --create --verbose /dev/md0 --leve=raid6 --chunk=16 --raid-devices=14 /dev/sd{a,b,c,d,e,f,g,h,i,j,k,l,m,n}

That returns:

Quote:
mdadm: layout defaults to left-symmetric
mdadm: size set to 1465138496K

mdadm: array /dev/md0 started.
Now the partitions are all gone in /dev but they still show up in fdisk -l.
/dev/md0 says this:

Quote:
Disk /dev/md0: 18003.6 GB, 18003621838848 bytes
255 heads, 63 sectors/track, 2188815 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/md0p1 1 182401 1465136001 fd Linux raid autodetect


But I don't see md0p1 in /dev

file -Ls /dev/md0 shows:
Quote:
/dev/md0: x86 boot sector; partition 1: ID=0xfd, starthead 1, startsector 63, 2930272002 sectors
cat /proc/mdstat shows:

Quote:

Personalities : [raid6] [raid5] [raid4]
md0 : active (auto-read-only) raid6 sdn[13] sdm[12] sdl[11] sdk[10] sdj[9] sdi[8] sdh[7] sdg[6] sdf[5] sde[4] sdd[3] sdc[2] sdb[1] sda[0]
17581661952 blocks level 6, 16k chunk, algorithm 2 [14/14] [UUUUUUUUUUUUUU]
resync=PENDING

unused devices:


mdadm --detail /dev/md0 shows:
Quote:

/dev/md0:
Version : 00.90
Creation Time : Fri Dec 4 08:46:06 2009
Raid Level : raid6
Array Size : 17581661952 (16767.18 GiB 18003.62 GB)
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Raid Devices : 14
Total Devices : 14
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Fri Dec 4 08:46:06 2009
State : clean
Active Devices : 14
Working Devices : 14
Failed Devices : 0
Spare Devices : 0

Chunk Size : 16K

UUID : 556004d8:88ed9e8a:9959903a:56f84fa3 (local to host Gigantor)
Events : 0.1

Number Major Minor RaidDevice State
0 8 0 0 active sync /dev/sda
1 8 16 1 active sync /dev/sdb
2 8 32 2 active sync /dev/sdc
3 8 48 3 active sync /dev/sdd
4 8 64 4 active sync /dev/sde
5 8 80 5 active sync /dev/sdf
6 8 96 6 active sync /dev/sdg
7 8 112 7 active sync /dev/sdh
8 8 128 8 active sync /dev/sdi
9 8 144 9 active sync /dev/sdj
10 8 160 10 active sync /dev/sdk
11 8 176 11 active sync /dev/sdl
12 8 192 12 active sync /dev/sdm
13 8 208 13 active sync /dev/sdn


I add the array to /etc/mdadm/mdadm.conf
mdadm --detail --scan >> /etc/mdadm/mdadm.conf
Quote:

# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# 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

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

# definitions of existing MD arrays

# This file was auto-generated on Tue, 01 Dec 2009 05:59:57 -0800
# by mkconf $Id$
ARRAY /dev/md0 level=raid6 num-devices=14 metadata=00.90 UUID=556004d8:88ed9e8a:9959903a:56f84fa3


Next I do mkfs -t jfs /dev/md0
mkfs -t jfs /dev/md0
Quote:

mkfs.jfs version 1.1.12, 24-Aug-2007
Warning! All data on device /dev/md0 will be lost!

Continue? (Y/N) y
\

Format completed successfully.

17581661952 kilobytes total disk space.


Then I try to mount md0:
Quote:

mount -t jfs /dev/md0 /mnt/Robot
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

cat /proc/mdstat now shows resyncing
Quote:

Personalities : [raid6] [raid5] [raid4]
md0 : active raid6 sdn[13] sdm[12] sdl[11] sdk[10] sdj[9] sdi[8] sdh[7] sdg[6] sdf[5] sde[4] sdd[3] sdc[2] sdb[1] sda[0]
17581661952 blocks level 6, 16k chunk, algorithm 2 [14/14] [UUUUUUUUUUUUUU]
[>....................] resync = 0.1% (1743368/1465138496) finish=935.1min speed=26077K/sec

My Debian version:
Linux version 2.6.26-2-686 (Debian 2.6.26-19lenny2) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Wed Nov 4 20:45:37 UTC 2009

Can anyone help me figure out why this isn't mounting? I can't think of any other way to make this work.
Thanks for the help.
-Dan

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Problem mounting raid array

I am having the same problem. Did you find out what was wrong?

Syndicate content