This doesn't seem available. I don't see an fd type or anything related to a raid type? Perhaps you're thinking a later version that Dachstein's kernal?

Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): l

0 Empty c Win95 FAT32 (LB 64 Novell Netware a6 OpenBSD 1 DOS 12-bit FAT e Win95 FAT16 (LB 65 Novell Netware a7 NEXTSTEP 2 XENIX root f Win95 Extended 75 PC/IX b7 BSDI fs 3 XENIX usr 11 Hidden DOS FAT1 80 Old MINIX b8 BSDI swap 4 DOS 16-bit <32M 14 Hidden DOS FAT1 81 Linux/MINIX c7 Syrinx 5 Extended 16 Hidden DOS FAT1 82 Linux swap db CP/M 6 DOS 16-bit >=32 17 Hidden OS/2 HPF 83 Linux native e1 DOS access 7 OS/2 HPFS 40 Venix 80286 85 Linux extended e3 DOS R/O 8 AIX 41 PPC PReP Boot 93 Amoeba eb BeOS fs 9 AIX bootable 51 Novell? 94 Amoeba BBT f2 DOS secondary a OS/2 Boot Manag 52 Microport a5 BSD/386 ff BBT b Win95 FAT32 63 GNU HURD

Any other suggestions?

thanks.
mike.



Joey Officer wrote:

Sorry to intrude on this thread, but I noticed a few things.

The first being that the drive partitions are not set correctly.  If I
recall correctly, the partition types need to be set to "fd  Linux raid
auto"

chernobyl# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 9104 MB, 9104953344 bytes
255 heads, 63 sectors/track, 1106 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        17    136521    6  FAT16
/dev/sda2            18      1106   8747392+  83  Linux

Command (m for help): t
Partition number (1-4): 2
Hex code (type L to list codes): fd
Changed system type of partition 2 to fd (Linux raid autodetect)

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or
resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.


Make sure the partitions are set to raid before attempting the mkraid function.

Joey
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Michael
McClure
Sent: Tuesday, December 21, 2004 3:59 PM
To: Charles Steinkuehler
Cc: Charles Steinkuehler; Leaf Mailing List
Subject: Re: [leaf-user] Help! Problems getting Raid5 to work. Banging
my head against the wall!



Charles Steinkuehler wrote:



Michael McClure wrote:



Thanks for the reply.  Should I be using a different version/release
that would work better for RAID?  If so, pls let me know.  As far as
your info requests, see below.
thanks.
mike.

# lsmod
Module         Pages    Used by
3c59x                  19984   1
pci-scan                2296   0 [3c59x]
raid5                  17664   0 (unused)
raid1                   7916   0 (unused)
raid0                   2768   0 (unused)
ntfs                   39868   0 (unused)
smbfs                  26744   0 (unused)
nfsd                  181896   0 (unused)
nfs                    71452   0 (unused)
lockd                  44392   0 [nfsd nfs]
sunrpc                 60676   0 [nfsd nfs lockd]
ext2                   40548   0 (unused)

toaster: -root-
# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid5]
read_ahead not set
unused devices: <none>


OK, so RAID support is in the kernel and you've got the required
modules loaded.  What about your IDE drive?  IIRC, you arn't using one
of the kernels with IDE built-in, and it doesn't look like you're
loading any IDE modules based on the above.

Can you access the low-level /dev/hdX devices that make up your RAID?

What does "fdisk -l /dev/hdc" and "fdisk -l /dev/hdd" show?

Are you *REALLY* trying to build a RAID5 device with two partitions on
the same drive (/dev/hdd1 & /dev/hdd2 in your example raidtab, which
go along with /dev/hdc1)?  If so, I'm not sure that will work, and it
wouldn't be recommended in any case...



I wondered about the kernal in the uname -a, but when I d/l'd the kernal
from your website, it was called,
linux-2.2.19-3-LEAF-RAID-IDE.zImage.upx.  Yet, my uname -a doesn't
include IDE.



# fdisk -l /dev/hdc

Disk /dev/hdc: 16 heads, 63 sectors, 8374 cylinders
Units = cylinders of 1008 * 512 bytes

  Device Boot   Start      End   Blocks   Id  System
/dev/hdc1            1     6242  3145936+  83  Linux native

toaster: -root-
# fdisk -l /dev/hdd

Disk /dev/hdd: 255 heads, 63 sectors, 977 cylinders
Units = cylinders of 16065 * 512 bytes

  Device Boot   Start      End   Blocks   Id  System
/dev/hdd1            1      392  3148708+  83  Linux native
/dev/hdd2          393      784  3148740   83  Linux native

As far as my raid5 device, I just want to make sure I can get the raid5
working before I buy a 3rd drive.  My test set is 1 4gb drive (hdc) and
an 8gb drive (hdb).  I created 3 partitions each +3072M on the two
devices and am trying to build the raid5 test.  I also tried to do this
with just doing raid1 on /dev/hdc1 and /dev/hdd1 and got the same error
on the same command.

thanks.
mike.




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html







-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to