Guest User!

You are not Sophos Staff.

[8.920][ANSWERED] will there be trim support for SSD?

I remember reading in the forums previously concerning 8.3 that v9 will have trim support for SSD.

Will the ultimate release of 8.9 include trim support for ssd?
Parents
  • rayik, you forgot to add the 'discard' mount option for the ext4 partitions. This effectively makes use of TRIM support on filesystem level.
  • Hi,
    I found out why mine was failing. I had added all the necessary commands to /etc/fstab, but the UTM does not like having 2 /var/spool directories and as a result does not start postfix.
    As far as I can see the build files would need to be edited to remove the creation of the permanent /var/spool directory and add one to the fstab file. Of course this is probably a feature request to allow finer config tuning at build time.
    I removed the /var/spool from the tmpfs function all is working again.

    Ian
  • A monitor attached to the astaro box showed that postfix failed due to astaro being unable to locate directory /var/spool/postfix/etc.  Because that directory was missing, astaro could not create these files:

    localtime
    nsswitch.conf
    paswd
    resolv.conf
    services

    Solution was to change the /etc/fstab file to create that directory in tmpfs.   On reboot no longer did postfix fail.

    This is what I have added to /etc/fstab to create the ramdisk:




    tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
    tmpfs /var/spool/postfix/etc tmpfs defaults,noatime,mode=1777 0 0
    tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0

    #removed due to error on bootup
    #tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0



    Ramdisk in use:



    astaro:/home/login # df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sda6       5.4G  1.7G  3.5G  33% /
    tmpfs           1.9G  176K  1.9G   1% /dev
    tmpfs           1.9G     0  1.9G   0% /dev/shm
    /dev/sda1       348M   30M  301M   9% /boot
    /dev/sda5       9.1G  1.5G  7.2G  17% /var/storage
    /dev/sda7        12G  883M   11G   8% /var/log
    /dev/sda8       1.9G   52K  1.9G   1% /tmp
    tmpfs           1.9G   52K  1.9G   1% /tmp
    tmpfs           1.9G  320K  1.9G   1% /var/spool/postfix/etc
    tmpfs           1.9G     0  1.9G   0% /var/tmp
    tmpfs           1.9G   32K  1.9G   1% /var/storage/chroot-smtp/tmp/ram



    **************** EDIT

    The second error in photo #2 is due to my error in not having a final endline at the end of the /etc/fstab file.  Adding a carriage return to the end of file fixed this error and it no longer appeared on bootup and ramfs /var/tmp was created successfully

    **************** END EDIT


    Attached are two screen shots showing the errors on bootup.

    Bob
Reply
  • A monitor attached to the astaro box showed that postfix failed due to astaro being unable to locate directory /var/spool/postfix/etc.  Because that directory was missing, astaro could not create these files:

    localtime
    nsswitch.conf
    paswd
    resolv.conf
    services

    Solution was to change the /etc/fstab file to create that directory in tmpfs.   On reboot no longer did postfix fail.

    This is what I have added to /etc/fstab to create the ramdisk:




    tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
    tmpfs /var/spool/postfix/etc tmpfs defaults,noatime,mode=1777 0 0
    tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0

    #removed due to error on bootup
    #tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0



    Ramdisk in use:



    astaro:/home/login # df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sda6       5.4G  1.7G  3.5G  33% /
    tmpfs           1.9G  176K  1.9G   1% /dev
    tmpfs           1.9G     0  1.9G   0% /dev/shm
    /dev/sda1       348M   30M  301M   9% /boot
    /dev/sda5       9.1G  1.5G  7.2G  17% /var/storage
    /dev/sda7        12G  883M   11G   8% /var/log
    /dev/sda8       1.9G   52K  1.9G   1% /tmp
    tmpfs           1.9G   52K  1.9G   1% /tmp
    tmpfs           1.9G  320K  1.9G   1% /var/spool/postfix/etc
    tmpfs           1.9G     0  1.9G   0% /var/tmp
    tmpfs           1.9G   32K  1.9G   1% /var/storage/chroot-smtp/tmp/ram



    **************** EDIT

    The second error in photo #2 is due to my error in not having a final endline at the end of the /etc/fstab file.  Adding a carriage return to the end of file fixed this error and it no longer appeared on bootup and ramfs /var/tmp was created successfully

    **************** END EDIT


    Attached are two screen shots showing the errors on bootup.

    Bob
Children
No Data
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?