Here's my notes from RH7.2, it worked for me under VIF.
 *****************************************************************
 To create a RAID
 Create/Update /etc/raidtab to add /dev/md0 devices
 mkraid /dev/md0
 mke2fs -b 4096 -R stride=32 /dev/md0
     *** stride is the result of chunk-size divided by blocksize
         4k x 32 = 128k chunk-size specified in raidtab
To check RAID device status "cat /proc/mdstat"

To stop Raid device  - "raidstop /dev/md0"
To start Raid device - "raidstart /dev/md0"
 *****************************************************************

--- Moloko Monyepao <[EMAIL PROTECTED]> wrote:
> When I post a message to this list is because I gone through the
> archieves to check if the similar problem has been reported and
> followed the HOWTO from linuxvm.org without getting any help. And so
> my last hope is this listserv. So because I really need help I will
> give all the details from what I did until where I get the problem.
>
> Step 1
> I created a /etc/raidtab here it follows
>
> raiddev         /dev/md0
> raid-level              0
> nr-raid-disks           4
> chunk-size              4
> device          /dev/dasdd
> raid-disk       0
> device          /dev/dasde
> raid-disk       1
> device          /dev/dasdf
> raid-disk       2
> device          /dev/dasdh
> raid-disk       3
>
> Step 2
>
> Run  mkraid /dev/md0
>
> Results in /proc/mdstat
>
> Personalities : [raid0]
> read_ahead 1024 sectors
> md0 : active raid0 dasdh[3] dasdf[2] dasde[1] dasdd[0]
>       9613440 blocks 4k chunks
>
> unused devices: <none>
>
>
> Step 3
>
> Run  mke2fs -b 4096 /dev/md0
> [root@vmlinux1 root]# mke2fs -b 4096 /dev/md0
> mke2fs 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09
> Filesystem label=
> OS type: Linux
> Block size=4096 (log=2)
> Fragment size=4096 (log=2)
> 1202944 inodes, 2403360 blocks
> 120168 blocks (5.00%) reserved for the super user
> First data block=0
> 74 block groups
> 32768 blocks per group, 32768 fragments per group
> 16256 inodes per group
> Superblock backups stored on blocks:
>         32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
>
> Writing inode tables: done
> Writing superblocks and filesystem accounting information: done
>
> This filesystem will be automatically checked every 29 mounts or
> 180 days, whichever comes first.  Use tune2fs -c or -i to override.
>
> Step 4
>
> Run mount /dev/md0 /var/spool/mqueue
>
> [root@vmlinux1 root]# mount /dev/md0 /var/spool/mqueue
> mount: you must specify the filesystem type
>
>
> Step 4
>
> Run mount -t ext2 /dev/md0 /var/spool/mqueue
>
> [root@vmlinux1 root]# mount -t ext2 /dev/md0 /var/spool/mqueue
> mount: wrong fs type, bad option, bad superblock on /dev/md0,
>        or too many mounted file systems
>
> Step 5
>
> Run dmesg (This error comes after I have done the mount)
>
> FAT: bogus logical sector size 0
> VFS: Can't find a valid FAT filesystem on dev 09:00.
> VFS: Can't find ext2 filesystem on dev md(9,0).
>
> Any help will be appriciated.
> Thanx
> Moloko Monyepao
> arivia.kom
> Tel : +27 11 800 3372


=====
Chet Norris
Marriott International,Inc.

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

Reply via email to