LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 10-26-2005, 04:57 PM   #1
DirtySanchez
LQ Newbie
 
Registered: Jul 2005
Location: Los Angeles, CA
Posts: 18

Rep: Reputation: 0
Raid5 creation issue, using fedora 4


Hello,

So i am trying to put a filesystem on 7 scsi drives that i have set up in raid 5.
I used fdisk to create partitions on the scsi drives, /dev/sda thru /dev/sdg.
I then run this command to create the raid array.
I am using fedora core 4

mdadm --create --verbose /dev/md0 --level=5 --raid-devices=7 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdg1

If i read the man page correctly, then level=5 means i want raid5 and raid-devices=7 means that i have 7 drives.

now after This is finished, i cat /proc/mdstat and i get this.

Personalities : [raid5]
md0 : active raid5 sdg1[7] sdf1[5] sde1[8](F) sdd1[3] sdc1[2] sdb1[1] sda1[0]
860231808 blocks level 5, 64k chunk, algorithm 2 [7/5] [UUUU_U_]

ok, so now i want to lay a filesystem down on /dev/md0.
I run this command:

mkfs.ext3 /dev/md0

mke2fs 1.37 (21-Mar-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
107544576 inodes, 215057952 blocks
10752897 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=218103808
6564 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848

Writing inode tables: done


However, when this is finished i get the following error.

ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir

So this is were i am stuck, any ideas?
 
Old 10-28-2005, 03:24 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
I hope your drives are all identical, or that you quoted the maximum size of the smallest drive.
 
Old 11-15-2005, 04:10 AM   #3
holst
LQ Newbie
 
Registered: Nov 2002
Location: Stockholm
Posts: 27

Rep: Reputation: 15
You see that two of your disks in your raid are "down"

[UUUU_U_]

A raid5 only has 1 parity disk. If more than 1 disk dies or are down the raid are inoperable. You need to reassemble the raid. First check your disks with "badblocks" and smartctl (if that is available for SCSI?).

Use RAID6 if you need 2 disk failsafe. And/or a spare disk.

Last edited by holst; 11-15-2005 at 04:11 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
raid5 rebuild JVWay Linux - General 3 09-20-2005 01:11 PM
Raid5 IwantLINUX Linux - Newbie 2 03-17-2005 03:33 PM
raid5 problems dwater Fedora 0 01-02-2005 08:45 AM
general user creation issue mehesque Linux - Newbie 2 10-17-2003 12:55 PM
adding new hd in raid5 software slack66 Linux - Hardware 1 08-27-2003 12:29 PM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration