Page 2 of 2

Re: How to mount Raid-JBOD

Posted: 17 Jul 2014, 07:36
by fanthom
this driver is compiled directly into kernel so you dont have to load it (if it wasn't loaded/initialized then you would be no able to see /dev nodes for you hardware):

Code: Select all

CONFIG_PATA_JMICRON=y

Re: How to mount Raid-JBOD

Posted: 17 Jul 2014, 12:27
by mr_hero
When I modprobe pata_jmicro I don't get an error. However /dev/mapper doesn't list additional devices. According to the Arch-wiki the workflow usually is like this:
# modprobe dm_mod
# dmraid -ay
# ls -la /dev/mapper/

Example output:

/dev/mapper/control <- Created by device-mapper; if present, device-mapper is likely functioning
/dev/mapper/sil_aiageicechah <- A RAID set on a Silicon Image SATA RAID controller
/dev/mapper/sil_aiageicechah1 <- First partition on this RAID Set

If there is only one file (/dev/mapper/control), check if your controller chipset module is loaded with lsmod. If it is, then dmraid does not support this controller or there are no RAID sets on the system (check RAID BIOS setup again). If correct, then you may be forced to use software RAID (this means no dual-booted RAID system on this controller).

If your chipset module is NOT loaded, load it now. For example:

# modprobe sata_sil

See /lib/modules/`uname -r`/kernel/drivers/ata/ for available drivers.

Code: Select all

root@porteus:/home/guest# CONFIG_PATA_JMICRON=y
root@porteus:/home/guest# modprobe pata_jmicron
root@porteus:/home/guest# modinfo pata_jmicron
modinfo: ERROR: Module pata_jmicron not found.
root@porteus:/home/guest# ls -la /dev/mapper
total 0
drwxr-xr-x  2 root root      60 Jul 17 04:17 ./
drwxr-xr-x 17 root root    6360 Jul 17 02:59 ../
crw-------  1 root root 10, 236 Jul 17 02:17 control
root@porteus:/home/guest# modprobe dm_mod
root@porteus:/home/guest# dmraid -ay
/dev/sdc: "jmicron" and "hpt37x" formats discovered (using hpt37x)!
ERROR: jmicron: wrong # of devices in RAID set "jmicron_JRAID           " [1/2] on /dev/sdd
ERROR: removing inconsistent RAID set "jmicron_JRAID           "
ERROR: hpt37x: wrong # of devices in RAID set "hpt37x_bdgfeejafj" [1/2] on /dev/sdc
ERROR: removing inconsistent RAID set "hpt37x_bdgfeejafj"
ERROR: no RAID set found
no raid sets
root@porteus:/home/guest#  ls -la /dev/mapper/
total 0
drwxr-xr-x  2 root root      60 Jul 17 04:17 ./
drwxr-xr-x 17 root root    6360 Jul 17 02:59 ../
crw-------  1 root root 10, 236 Jul 17 02:17 control
As to drivers: This is the JMicron-Download-FTP but I didn't find anything usefull on it.

Re: How to mount Raid-JBOD

Posted: 17 Jul 2014, 20:34
by fanthom