Welcome! Log In Create A New Profile

Advanced

Debian on Synology RS816 (Armada 385)

Posted by zifxify 
Re: Debian on Synology RS816 (Armada 385)
October 01, 2019 06:52PM
Richard,

> Bottom line is it appears rootwait wont work for
> us on raid although I think it still makes sense
> for USB or SD on other boxes which have that.

rootwait is not needed on HDD, SSD, or USB rootfs. Only needed on boxes with an SD card (MMC) rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
October 01, 2019 07:38PM
@bodhi

> rootwait is not needed on HDD, SSD, or USB rootfs. Only needed on boxes with an SD card (MMC) rootfs.

Back when we first started working on the RS816 I originally put rootdelay=10 into the bootargs because the USB occasionally did not come up in time. Its up to you whether we leave rootdelay=10 / 20 or use rootwait but I suggest you DO need one of them on USB.

The main point of my 2am testing was to check if rootwait would avoid mdadm arrays from starting in degraded mode which it does not and my post was principally reporting on that.

It was your suggestion to use rootwait for RAID not mine and it would have been polite to acknowledge the outcome of the test.

Richard
Re: Debian on Synology RS816 (Armada 385)
October 01, 2019 09:08PM
Hey Richard,

Actually I have not read all your recent posts closely (too busy to do that). But I will do so.

Thanks for all your contribution to this forum.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
October 01, 2019 10:52PM
@bohdi

>Thanks for all your contribution to this forum.

Zero sleep and no prospect of any for several hours has probably led me to be more 'sensitive' than events would dictate appropriate.

Thank you for the comment.

I think we both need to clear our desks a bit before we do much more, I suggest we park this project till Monday next week or longer if you are snowed under ?

Richard
Re: Debian on Synology RS816 (Armada 385)
October 02, 2019 08:28PM
> 7) Once boot gets to rootfs seen the drives which
> have not spun up seem to be just marked as
> 'missing' and need to be manually added once boot
> is complete. (I would need to dig into Debian
> config files to confirm this but it does appear to
> be the case from these trials and previous
> observations with 8TB 7200rpm drives)

Bummer! then rootwait can not be used in your RAID configuration.

> Bottom line is it appears rootwait wont work for
> us on raid although I think it still makes sense
> for USB or SD on other boxes which have that.

As I mentioned, rootwait is only needed for slow spin-up drives. USBs and HDDs don't have that problem. MMC dirves do need it sometime.

> On a plus note the apparent issue with mdadm not
> being in rootfs has been confirmed as not valid.

Good to hear!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
October 02, 2019 08:39PM
Final edit for Section I:

https://forum.doozan.com/read.php?2,76314,91094#msg-91094

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
October 02, 2019 08:45PM
I've updated released thread Linux Kernel 5.2.9 MVEBU package and Debian armhf rootfs to include Section I.


Quote

Zyxel NAS326 Installation, see this thread.
WD My Cloud EX2100 Installation: see this thread.
GlobalScale Technologies Mirabox Installation, see this thread.
Thecus N2350 Installation: see TBD.
Synolgy RS816 Installation: see Installation with USB rootfs (Section I). There will be 3 more sections for other installation methods.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
October 02, 2019 09:21PM
> I think we both need to clear our desks a bit
> before we do much more, I suggest we park this
> project till Monday next week or longer if you are
> snowed under ?

Please take your leisure time to answer posts. After all, this is a hobbyist forum! things are taking pace slowly or fast, depending on how interesting the subject is.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
October 03, 2019 01:49AM
@bodhi

>Final edit for Section I:

All looks good to me :-)

My only minor comment is regarding the rootdelay=20 could be changed to rootdelay=10 or even 5 probably but to be honest it's not material.

Just recapping the history of the rootdelay= addition.
I originally added rootdelay=10 because very occasional the USB rootfs boot would drop to intramfs with root not found. It is possible the issue was my USB stick getting a bit long in the tooth rather than it being an issue with USB generally.

Once I started to use RAID on <4TB 5400rpm drives I needed to bump to rootdelay=20 which I then used everywhere including USB rootfs. With >4TB 7200 rpm drives we needed to bump again this time to rootdelay=40 which should be safe for all drives, I suggest we use for the RAID tutorial.

The final USB rootdelay I leave to your judgement / experience but as I say its not greatly material and If it were me I would probably not bother changing it.

Richard
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: