Linux - GeneralThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
ok, so now i want to lay a filesystem down on /dev/md0.
I run this command:
mke2fs 1.37 (21-Mar-2005)
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,
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
You see that two of your disks in your raid are "down"
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.