You are not logged in.

#1 2009-03-01 16:49:51

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Cannot set up valid raid0

Using two Compact Flash devices connected via adapters to pci-e ports.

Established via gparted single partitions fat 32 on each CF card 8GB each.

Using mdadm created /dev/md3 with raid0, two CF cards, /dev/sda and /dev/sdb.

Successful creating /dev/md3.

Cannot mount /dev/md3!

The following is the dmesg after attempt to mount..........

[guest@n6re ~]$ su root
Password:
[root@n6re guest]# mdadm --assemble /dev/md3 /dev/sda /dev/sdb
mdadm: /dev/md3 has been started with 2 drives.
[root@n6re guest]# mount -t vfat /dev/md3 /mnt/md
mount: wrong fs type, bad option, bad superblock on /dev/md3,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

[root@n6re guest]# dmesg |tail
raid0: checking sdb ... nope.
raid0: zone->nb_dev: 1, size: 213184
raid0: current zone offset: 8044224
raid0: done.
raid0 : md_size is 15875264 blocks.
raid0 : conf->hash_spacing is 15662080 blocks.
raid0 : nb_zone is 2.
raid0 : Allocating 8 bytes for hash.
FAT: invalid media value (0x80)
VFS: Can't find a valid FAT filesystem on dev md3.
[root@n6re guest]#

Examination of the condition of /dev/sda and /dev/sdb before assembling the raid show correct format in fat32 with no warnings or error messages.

After assembling the raid0 array, the gparted display for each of the devices shows a warning triangle with a (!) indicating an error.

This occurs in x86-64 ext4 and in Faunos boots.  It also occurs with ext3 formats in gparted which do not mount the raid0 after successful assembly in ext3.

This performance suggests that mdadm has an error in recognizing the filesystem(s).


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2009-03-01 20:04:18

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Cannot set up valid raid0

Additional info from mdadm.........

bash-3.2# mdadm --asemble /dev/md3 /dev/sda /dev/sdb
mdadm: unrecognized option '--asemble'
Usage: mdadm --help
  for help
bash-3.2# mdadm --assemble /dev/md3 /dev/sda /dev/sdb
mdadm: /dev/md3 has been started with 2 drives.
bash-3.2# mdadm --examine /dev/md3
mdadm: No md superblock detected on /dev/md3.
bash-3.2#

What to do?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2009-03-01 23:08:26

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Cannot set up valid raid0

You need to "mkfs.vfat /dev/md3". Format after creating the RAID, not before.

Offline

#4 2009-03-02 00:16:15

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Cannot set up valid raid0

ataraxia;

I knew that once!!! When you get older, like 83, you get forgetful; in spades!!!!

Thanks much for the reminder!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB