Discover Centmin Mod today
Register Now

Beta Branch update /tmp directory loop device mount routine in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 26, 2023.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:52 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update /tmp directory loop device mount routine in 130.00beta01

    - update /tmp directory loop device mount routine to make sure on server reboot that it does not cause the disk / parttion going into read-only mode https://community.centminmod.com/th...ocky8-causing-ro-file-system-on-reboot.23763/ on DigitalOcean droplets. The update for new initial installs to switch from /etc/fstab method of mounting a loop device /tmp directory to using a systemd service file that mounts after the local filesystem has mounted
    - the loop device /tmp mount routine only triggers when the following conditions exist:

    1. The system is not an OpenVZ virtualization or LXD container.
    2. The system is running CentOS 7 or a non-CentOS 7 system.
    3. The total memory of the system falls within specific ranges:
    a. Between 2GB and <8GB
    b. Between 1.1GB and <2GB
    4. Annd based on the available free disk space on /home partition, the size of the /home/usertmp_donotdelete file will be determined.

    Continue reading...

    130.00beta01 branch

    Support Centmin Mod


    If you find Centmin Mod useful, please help support Centmin Mod