#32 Do all mounts with the 'noatime' and 'nodiratime' options

closed
Steven Shiau
wishlist (20)
5
2011-02-07
2010-02-11
Anonymous
No

When mounting the /home/partimag directory, the mount command should be given the options 'noatime' and 'nodiratime'.
Otherwise, the access time of files and directories is uselessly updated every time a file or a directory is accessed. This is bad especially for flash memory media, DVD-RAMs, DVD packet writing etc.
(BTW, thanks for Clonezilla, it's a great product!)

Discussion

  • Steven Shiau
    Steven Shiau
    2010-02-11

    What did you mean by "uselessly updated"?
    How about that when saving an image? Did you mean for reading an image?

    Steven.

     
  • Steven Shiau
    Steven Shiau
    2010-02-11

    • assigned_to: nobody --> steven_shiau
     
  • i believe he means that even reading (atime is on Access Time) the contents of the folder may trigger the atime update.

     
  • Steven Shiau
    Steven Shiau
    2010-03-29

    For reading? Really? I do not see any problem when using CD/DVD as the image repository.

     

  • Anonymous
    2010-11-21

    The problem is that by default, every time a file is *read* on a linux, the system *writes* to the disk a timestamp that the file was accessed. This is what I mean by 'useless'. Just adding the 'noatime' (or 'relatime') and 'nodiratime' options brings quite noticable performance improvement.
    See for example http://lwn.net/Articles/244829/ and http://kerneltrap.org/taxonomy/term/834

     
  • Steven Shiau
    Steven Shiau
    2010-11-24

    So does this apply to all the file systems? e.g. including cifs and nfs?

    Steven.

     
  • Steven Shiau
    Steven Shiau
    2011-02-07

    • status: open --> closed
     
  • Steven Shiau
    Steven Shiau
    2011-02-07

    Thanks for this suggestion. The options "noatime" and "nodiratime" were added in Clonezilla live 1.2.7-11.