Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

an application accesses a disk directory containing about 3 million files (including directories). I would like to apply the noatime option for that filesystem and I would like to know whether I can do that while applications are running and accessing that filesystem.

the command I'd apply would look like this:

mount -o remount,noatime /

Any experience with that? I run one single application using the file system, and it is a 100% Java application (1 JVM running).

Ubuntu Version: 9.10 (Karmic)

Thanks!

share|improve this question

1 Answer 1

You can use the command you proposed while the system is running, for security reasons I would do it during the night or when the application is not in use. The command mount return, among other lines, somthing like this

/dev/sda5 on / type ext4 (rw,errors=remount-ro,data=writeback)

then if you issue the command you proposed

mount -o remount,noatime /

the output of the command mount looks like this

/dev/sda5 on / type ext4 (rw,noatime,errors=remount-ro,data=writeback)

showing that the option was added correctly. Hope I helped you!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.