On Tue, 20 Jul 1999, Jens Schleusener wrote:

> Hi,
> 
> sorry that I bother the experts. I am very new in the RAID business and
> tried to setup a large filesysten with three disks (2*18 GB + 1*9 GB SCSI,
> Adaptec 2940 AU)  by using RAID linear. I used a fresh SuSE 6.1
> distribution (kernel 2.2.5)  but built a new 2.2.10 kernel patched with
> raid0145-19990713-2.2.10 and aic7xxx-5.1.19-2.2.10.patch. 
> 
> I followed the instructions in the Software-RAID HOWTO (Feb. 99)
> but using the following /etc/raidtab
> 
> raiddev /dev/md0
>         raid-level      linear
>         nr-raid-disks   3
>         persistent-superblock 1
>         device          /dev/sdc1
>         raid-disk       0
>         device          /dev/sdd1
>         raid-disk       1
>         device          /dev/sde1
>         raid-disk       2
> 
> I got the following error while initializing the array
> 
> # mkraid /dev/md0
> handling MD device /dev/md0
> analyzing super-block
> disk 0: /dev/sdc1, 17920476kB, raid superblock at 17920384kB
> disk 1: /dev/sdd1, 17920476kB, raid superblock at 17920384kB
> disk 2: /dev/sde1, 8924076kB, raid superblock at 8923968kB
> /dev/md0: Invalid argument

The solution seems to set "chunk-size" in /etc/raidtab also for RAID
linear (NOT mentioned in the Software-RAID HOWTO). I added the line

 chunk-size  4

No idea if that value is really used and - if yes - what a good value is
(I choosed a small value for good disk-space utilization).

Jens

-- 
Dr. Jens Schleusener            debis Systemhaus
phone: +49 (551) 709-2493       Solutions for Research
fax:   +49 (551) 709-2169       Bunsenstr.10
mail: [EMAIL PROTECTED]   D-37073 Goettingen

Reply via email to