Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



mdadm: диск does not appear to be an md device

kapa
03-16-2006, 07:41 PM
Hi, all!
Sorry for my english
I have such problem:

OS - FC4, installed latest mdadm
On motherboard's Silicon Image SATA-II controller mdadm RAID-5 works perfectly
NVRAID SATA controller on the same motherboard after formatting all the disks and making Linux raid autodetecting shows such a process (on trying to make RAID):

[root@fileserver ~]# mdadm --create -R -n 4 -c 256 -l 5 /dev/sde1 /dev/sdf1 /dev/sdg1 /dev/sdh1
mdadm: /dev/sde1 does not appear to be an md device

then

mdadm --examine /dev/sde1
mdadm: No md superblock detected on /dev/sde1.

I've got the same message (about 3 disks left) in /var/log/messages when trying to uncomment it in mdamm.conf commented strings

DEVICE /dev/sd[abcd]1
ARRAY /dev/md0 level=raid5 num-devices=4 devices=/dev/sd[abcd]1
#DEVICE /dev/sd[efgh]1
#ARRAY /dev/md1 level=raid5 num-devices=4 devices=/dev/sd[efgh]1

Can anybody help with this problem?

Nodsu
03-17-2006, 05:35 AM
Are you sure you initialised the /dev/hd?1 partitions and not the HDs themselves (/dev/hd?)?

Try formatting the hard drives normally and see if they work (run bonnie on them or something) before setting up the RAID.

Ad
03-17-2006, 05:35 AM
  

kapa
03-17-2006, 07:43 AM
Are you sure you initialised the /dev/hd?1 partitions and not the HDs themselves (/dev/hd?)?

Try formatting the hard drives normally and see if they work (run bonnie on them or something) before setting up the RAID.

yes, i'm sure about partitions
here is result of hdparm:
[root@fileserver ~]# hdparm -tT /dev/sde1

/dev/sde1:
Timing cached reads: 3168 MB in 2.00 seconds = 1584.24 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for d
evice
Timing buffered disk reads: 164 MB in 3.01 seconds = 54.53 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for d
evice

Nodsu
03-17-2006, 09:36 AM
Oh. Looking at the mdadm create command more closely.. You didn't give it the RAID device to create, only the devices the RAID one should be made out of. Read The Friendly Manual :)

It should go something like "mdadm --create /dev/mdwhatever -blah -blah -blah /dev/blah /dev/blah /dev/blah"

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Another iPhone worm spotted, this time it's dangerous

Stardock CEO: Steam holds 70% of digital game distribution market

Google: Android, Chrome OS to converge eventually

Microsoft to showcase Natal at Gamefest in February

Microsoft and News Corp potential alliance, against the open Web

More Tech News

  
 Software Downloads

FlashGot 1.2.0.9

RemoveIT Pro XT - SE 23.11.2009

Vuze (Formerly Azureus) 4.3.0.4

RemoveIT Pro v7 Enterprise 23.11.2009

Aloaha PDF Suite 3.9.172

Blindwrite Suite 6.3.1.5

RemoveIT Pro v7 Ultra 23.11.2009

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.