How to mount Raid-JBOD

Here you can post about your various experiences with PC hardware. You can also post about hardware that is not compatible with the linux kernel or not recommended for use with Porteus.
User avatar
fanthom
Site Admin
Site Admin
Posts: 4565
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: How to mount Raid-JBOD

Post#16 by fanthom » 17 Jul 2014, 07:36

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
Please add [Solved] to your thread title if the solution was found.

User avatar
mr_hero
Black ninja
Black ninja
Posts: 54
Joined: 10 Jul 2014, 01:33
Distribution: Porteus
Location: germany

Re: How to mount Raid-JBOD

Post#17 by mr_hero » 17 Jul 2014, 12:27

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.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4565
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: How to mount Raid-JBOD

Post#18 by fanthom » 17 Jul 2014, 20:34

Please add [Solved] to your thread title if the solution was found.

Post Reply