Mounting devices with noatime?

Home Page Forums Network Management ZeroShell Mounting devices with noatime?

This topic contains 2 replies, has 0 voices, and was last updated by  bender02 10 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #41581


    Is there a way to mount the device on which databases are stored with ‘option=noatime’? I have it on a CF card, and that would help to increase the lifespan of the card.



    @bender02 wrote:

    … ‘option=noatime’? I have it on a CF card, …

    I haven’t tried but would suggest to add “noatime” to /etc/fstab

    For example:

    /dev/sda1    /boot ext3 noauto,noatime 1 1
    /dev/sda2 / ext3 noatime 0 0
    /dev/sda3 none swap sw 0 0

    (Fulvio please correct me if I’m wrong)

    Greetz RaVEn



    Well the problem is that the stuff mounted from fstab in zeroshell is all either in ram or mounted read-only, so there’s no problem with that. The partition that I wanted to mount with noatime is the partition that holds Profiles (it’s even labelled Profiles), and that one is not mentioned in fstab – I assume it’s because not every zeroshell install does necessarily have one; and it’s mounted somewhere from some script.



    Probably, you just need to put the following command in the pre boot script:

    mount -o remount,noatime /DB
    mount -o remount,noatime /Database


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.