Community Forum

Kiki Gak2
Kiki Gak2
Offline
Resolved
0 votes
Hi,

How to install ClearOS 6 on eMMC storage?
eMMC storage not listed on select hard drive to installation.

This is the device I want to install ClearOS,
http://b2b.gigabyte.com/Embedded-Computing/EL-20-3710-32G-rev-10#ov

Thanks,
Wednesday, October 11 2017, 04:14 AM
Share this post:

Accepted Answer

Wednesday, October 11 2017, 02:07 PM - #Permalink
Resolved
0 votes
True, my response was for installing on ClearOS 6.x - should have made that clear... ClearOS 7.3 added support for embedded MMC (eMMC) interface version 5.0 - so should be better as you indicated... eMMC is really like an internal MMC card that is not pluggable - would be wise if you use it to take steps to minimise the number of writes. The eMMC flash memory controller isn't as sophisticated as the controller in SSDs. Hence cell wear levelling, block sparing, TRIM etc. are not to quite the same standard. Still, for a firewall it should be quite sufficient. Would think twice about using an eMMC based system for a busy mail server, web proxy etc and in-fact anything that causes prolific writes... Also install enough memory to minimises swap activity. If you plan on a lot of writes, you might want to consider installing an decent SDXC card and use that for swap, partitions having high write activity etc, back it up regularly. Then if it fails, just insert another and restore. Looks like an interesting box...

and why the concern about writes - an example. The warranty on my Samsung 840 Pro 128.0 GB SDD states "Workloads in excess of 40 GB/day are not covered under warranty" - my busy office server exceeds that on average (46.7 GB/day) - so it wasn't covered from almost the moment I started using it :( Hopefully your little box will have a much easier life...
The reply is currently minimized Show
Responses (7)
  • Accepted Answer

    Monday, October 16 2017, 10:52 PM - #Permalink
    Resolved
    0 votes
    That's the type of technique was hinting at... As long as it works and discards the type of entries you decided were not needed - then be happy :) Of course, you could add or delete entries in that file if circumstances change... followed by a rsyslog restart.
    The reply is currently minimized Show
  • Accepted Answer

    Kiki Gak2
    Kiki Gak2
    Offline
    Monday, October 16 2017, 02:31 AM - #Permalink
    Resolved
    0 votes
    Tony,
    This is what I did on my ClearOS boxes but I'm not sure if this is what you mean?

    ClearOS 6
    echo 'if $programname == 'arpwatch' and ($msg contains 'bogon 192.168.1.3 6:18:d6:e3:44:4b' or $msg contains 'bogon 192.168.1.4 6:18:d6:67:a7:3a' or $msg contains 'bogon 0.0.0.0 0:23:54:e1:ab:d8') then ~' /etc/rsyslog.d/ignore-arpwatch-bogon.conf
    service rsyslog restart

    ClearOS 7
    echo 'if $programname == "systemd" and ($msg contains "Starting Session" or $msg contains "Started Session" or $msg contains "Created slice" or $msg contains "Starting user-" or $msg contains "Starting User Slice of" or $msg contains "Removed session" or $msg contains "Removed slice User Slice of" or $msg contains "Stopping User Slice of") then stop' /etc/rsyslog.d/ignore-arpwatch-bogon.conf
    systemctl restart rsyslog
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 12 2017, 06:30 AM - #Permalink
    Resolved
    0 votes
    Great - hope it performs well. Looks like you should be OK re. writes... The default file-system in 7.3 is xfs. With xfs the default atime behaviour is relatime which has almost no overhead compared to noatime - so no requirement to add the noatime option in /etc/fstab... How much memory did you install?

    One area it might be wise to watch is /var/log/messages... found 7.3 is extremely "chatty" here -too many 'routine' messages that added nil value and make it more difficult to find those that are important. This is of course depend on what's running... There are techniques to reduce this chatter - ask if you feel the need... Reducing writes, if warranted, will cause less eMMC wear and up performance a wee bit..
    The reply is currently minimized Show
  • Accepted Answer

    Kiki Gak2
    Kiki Gak2
    Offline
    Thursday, October 12 2017, 05:43 AM - #Permalink
    Resolved
    0 votes
    @Nick
    Using ClearOS 7, detected eMMC and installed on it.
    I was avoiding ClearOS 7 because I was having difficulty with WebUI. :p

    @Tony
    I'm using IDS, IPS, Content Filtering and OpenVPN site-to-site only.
    LAN workstations are only 4 (small branch office). I hope eMMC can handle this.

    Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 11 2017, 11:27 AM - #Permalink
    Resolved
    0 votes
    I found the same link earlier. The hopeful thing is that the thread is from 2014 and RedHat are continually back-porting updates into the kernel. Fingers crossed .....
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 11 2017, 09:26 AM - #Permalink
    Resolved
    0 votes
    You might get to experience similar 'fun' to that detailed at https://www.centos.org/forums/viewtopic.php?t=47536 :p Also do a goggle search - there may be other hits that will give you some ideas...

    Another possible temporary solution until support is mature is to install a mSATA drive into the full-size Mini-PCIe slot and see if you can install onto that drive - if it can be configured as the boot drive... check the manual.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 11 2017, 07:14 AM - #Permalink
    Resolved
    0 votes
    I think eMMC is relatively recent in hardware terms and RedHat tends not to support bleedin' edge technology. EL6/ClearOS 6 has been out for a few years now so may not support eMMC or perhaps eMMC/this motherboard. Your best chance is to try ClearOS 7 which has a later kernel and should support more devices.

    Please also note that your Gigabit NIC's work best with the r8168 driver and not the built in r8169 driver. I have the r8168 drivers compiled here.
    Like
    1
    The reply is currently minimized Show
Your Reply