noatime option is not working with mount


 
Thread Tools Search this Thread
Operating Systems Solaris noatime option is not working with mount
# 1  
Old 06-13-2009
noatime option is not working with mount

Hi Gurus,

I mount a filesystem with -o noatime option to avoid getting the recording of time into the inode, however as on when i am doing any chnage in any file create in this file system the timestamp of the file is changing, whcih i can see with ls -l Smilie.

What can be the reason ?

i mount the file system like below

# mount -o noatime /dev/dsk/c0t2d0s6 /adminusers

Please suggest
# 2  
Old 06-13-2009
According to ls man page to display file's access time you need to use -u option:

ls -lu
# 3  
Old 06-13-2009
I'm afraid you are misunderstanding both the purpose of the noatime mount option and how to look at a file access time with ls.

Access time can be seen with the "ls -lu" command, not "ls -l".
Modifying a file is something that will update file timestamp(s) regardless of the noatime option.

Last edited by jlliagre; 06-13-2009 at 11:23 AM..
# 4  
Old 06-15-2009
Thanks jlliagre !

Can you please help me in understanding the use of noatime option with mount ?
# 5  
Old 06-15-2009
The -noatime option (no access time) will tell the OS not to update the file access timestamps when files are accessed (i.e. read).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

SQLPLUS -S option not working

Hi All, I am using the following script to run some sql on database but i am not getting the result. When i tried the same by removing "-s" option it is working fine but getting other things as well with my input as shown below. Can anyone please suggest why "-s" option is not working in AIX and... (2 Replies)
Discussion started by: ssk250
2 Replies

2. Solaris

Mount with 'noatime' option

Is it safe to mount all ufs slices with 'noatime' on SPARC Solaris 10 running Oracle database? (5 Replies)
Discussion started by: orange47
5 Replies

3. Shell Programming and Scripting

-v and -f option for grep not working

In solaris, i m trying to find the files having a particulat extension and then from the list i want to exclude those files which is present in a file. But it seems the -f and -v option are not working find $source -type f -name $extn | /usr/xpg4/bin/grep -F -v -f $exclude | while read... (7 Replies)
Discussion started by: millan
7 Replies

4. Shell Programming and Scripting

Egrep not working with -f option

Hi, I am trying to find out patterns in file 1 using patterns stored in file 2. Following is the code FILE1=inputfilename FILE2=blacklist blacklist 1203 97715555 20afEOF egrep -f $FILE2 $FILE1 but the above code is not working either using egrep or grep. Just for your... (10 Replies)
Discussion started by: siramitsharma
10 Replies

5. UNIX for Dummies Questions & Answers

~c is not working properly with -r option

Hi There, --------- file1 ------- ~c asd@ac.com -------------- Now i am using below command cat file1|mailx -s " testing" -r " My Name" abc@tech.com (3 Replies)
Discussion started by: Tapan Sharma
3 Replies

6. AIX

Enable large filesize option in NFS mount in AIX 4.3

Hi All, I have a NFS mount filesystem, however it is not supporting a creation of filesize greater than 2 GB in it, how can i enable the option (bf = true) in it. The AIX version is 4.3.2 Thanks in Advance!! (1 Reply)
Discussion started by: mad_man12
1 Replies

7. HP-UX

who command option not working

Running HP 11.31 on a HP3600. But when I log in as a user the who command works but if I use an option like "who -m" I get nothing. Any thoughts on what is causing this problem. (11 Replies)
Discussion started by: KMRWHUNTER
11 Replies

8. Solaris

Mount option

Can i able to mount a directory with specific size in solaris 10. for eg: mount -o size=5g /test /test1 Thanks. (7 Replies)
Discussion started by: Jartan
7 Replies

9. UNIX for Dummies Questions & Answers

-d option not working...

:confused: In the following, when I enter a valid, existing directory,why am I getting Not Found when the Dir DOES exist? read auser echo "You entered $auser" wait 2 cd /home if then echo "Dir Exists" sleep 2 else echo "/home/$auser Not Found" sleep... (2 Replies)
Discussion started by: rgouette
2 Replies

10. Solaris

Why does the 'ps' command with -u option not working?

How can I use the 'ps' command to view current sessions but only for a given process/user, with the -u parm? In older versions of Unix, this used to work, but not in Sun Solaris. Thanks (4 Replies)
Discussion started by: ElCaito
4 Replies
Login or Register to Ask a Question