New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#653 - RAID not working on Netgear WNDR4700 #5663
Comments
diizzyy: We should probably try bumping mdadm first if possible before fixing out rather old version. |
diizzyy: lede-project/source#996 |
kisgezenguz: thank you for the feedback |
chunkeey: Well, I bet the kernel is missing CONFIG_DIRECT_IO. You probably want to avoid this issue by compiling mdadm into the image. The mdadm package automatically requests the required CONFIG_KERNEL_DIRECT_IO in LEDE's build configuration (which will select CONFIG_DIRECT_IO for the Kernel). Edit: Formatting. |
diizzyy: Good point, it's not enabled in stock builds. |
kisgezenguz: Hi diizzyy, Christian, thank you for the input. root@Netgear:~# /tmp/mdadm -V root@Netgear:~# /tmp/mdadm --create --verbose /dev/md1 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdd1 |
diizzyy: Did you install the firmware which was generated when you built mdadm? |
chunkeey: Hello Szabo, If you want to run a quick test, I've uploaded one of my sysupgrade images at: https://github.com/chunkeey/apm82181-lede/releases/tag/2017-03-25 I've included the mdadm package ( + a bunch of other stuff). As for pushing the option to stable releases. I think the major I hope this helps. If it does, please consider closing the Thanks, |
diizzyy: Is that using 4.0 or the older one? |
chunkeey: I've included both version. the version with mdadm 4.0 is prefixed with mdadm4-... |
diizzyy: @christian @Szabo |
kisgezenguz: Hi, @diizzyy @christian I close this report, but let open the GoflexNet report to, please input there. |
kisgezenguz:
I have problem to crate RAID array on LEDE 17.01.
Seems there a generale issue with RAID on LEDE 17.01,
I already report the same problem for Seageat Goflex Net.
https://bugs.lede-project.org/index.php?do=details&task_id=648&string=raid&search_name=&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=
Device problem occurs on
Netgear WNDR4700
Software versions of LEDE release, packages, etc.
root@Netgear:~# uname -a
Linux Netgear 4.4.50 #0 Mon Feb 20 17:13:44 2017 ppc GNU/Linux
root@Netgear:~# mdadm -V
mdadm - v3.2.5 - 18th May 2012
root@Netgear:~# lsmod | grep raid
md_mod 97480 2 raid1,raid0
raid0 6336 0
raid1 25728 0
root@Netgear:~# mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdd1
mdadm: Note: this array has metadata at the start and
may not be suitable as a boot device. If you plan to
store '/boot' on this device please ensure that
your boot-loader understands md/v1.x metadata, or use
--metadata=0.90
mdadm: /dev/sdd1 appears to be part of a raid array:
level=raid0 devices=0 ctime=Thu Jan 1 00:00:00 1970
mdadm: partition table exists on /dev/sdd1 but will be lost or
meaningless after creating array
mdadm: size set to 982464K
Continue creating array? yes
mdadm: unexpected failure opening /dev/md0
The text was updated successfully, but these errors were encountered: