Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: tommy84-82 on December 09, 2015, 01:28:22 PM

Title: mdadm.tcz for piCore 6.1
Post by: tommy84-82 on December 09, 2015, 01:28:22 PM
Hi!
Is it possible to make mdadm.tcz for piCore 6.1?
I'd like to make own NAS raid-mirror with 2 usb hdd drives on RPI.

Best regards.
Title: Re: mdadm.tcz for piCore 6.1
Post by: bmarkus on December 10, 2015, 12:10:38 PM
mdadm.tcz added to piCore-7 repo. Most probably works with piCore-6.1 please try. However I kindly advice to use piCore-7.0beta1.
Title: Re: mdadm.tcz for piCore 6.1
Post by: Paul_123 on December 10, 2015, 12:56:54 PM
piCore 7b1 uses 4.1.13 kernel.  4.1.x kernels have reports of broken raid implementation.  Not sure what all is affected, the reports just say to used > 4.2.4 kernels

Title: Re: mdadm.tcz for piCore 6.1
Post by: bmarkus on December 10, 2015, 02:15:04 PM
Can you provide reference to RAID issues? I would be suprised to see RAID bugs in a long term release at x.y.13 :(
Title: Re: mdadm.tcz for piCore 6.1
Post by: Paul_123 on December 10, 2015, 05:36:14 PM
It was on this page.

http://www.linuxfromscratch.org/blfs/view/svn/postlfs/mdadm.html

There are references to raid changes the linux change log at 4.2.4.   https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.4

That is the extent I looked into it.   Not sure how critical the bugs are.
Title: Re: mdadm.tcz for piCore 6.1
Post by: bmarkus on December 10, 2015, 06:10:21 PM
It was on this page.

http://www.linuxfromscratch.org/blfs/view/svn/postlfs/mdadm.html


They are saying:

"This package is known to build and work properly using an LFS-7.8 platform. "
Title: Re: mdadm.tcz for piCore 6.1
Post by: Paul_123 on December 10, 2015, 07:12:01 PM
Half way down the page is the note about the kernel.

Since they reference the mdadm source maintained at kernel.org, I assume they are talking about the official kernel source as well.
Title: Re: mdadm.tcz for piCore 6.1
Post by: tommy84-82 on December 12, 2015, 04:02:23 PM
Hi again.
7.0beta1 looks very promising.
Mdadm works very well.
I found 1 missing word in mdadm. In repo is mdam.tcz, I think it should be mdadm.tcz
Title: Re: mdadm.tcz for piCore 6.1
Post by: bmarkus on December 13, 2015, 01:48:14 AM
Hi again.
7.0beta1 looks very promising.
Mdadm works very well.
I found 1 missing word in mdadm. In repo is mdam.tcz, I think it should be mdadm.tcz

Thanks, I will rename it to the proper name.