Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Guys,
Is there any way to find the file access details for a volume from Storage.I know "ls" will provide the list of files inside volumes, however i need the access time for the Files inside it.
Thanks
Saran
Solved! See The Solution
1 ACCEPTED SOLUTION
saranraj456 has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Saran -
The Java shell was deprecated with ONTAP 8.
There was a memory leak that was a bad thing.
The 7-mode command map shows no C-mode command for 'filestats'.
Only way I know to see access time is from a client ...
I hope this response has been helpful to you.
At your service,
Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, FastLane US http://www.fastlaneus.com/
(P.S. I appreciate 'kudos' on any helpful posts.)
7 REPLIES 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Saran -
See 'ls -lt -u' or 'ls -l --time=atime'.
Note that there also a 'no atime update' option for NetApp volumes that turns off update of access time.
I hope this response has been helpful to you.
At your service,
Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, FastLane US http://www.fastlaneus.com/
(P.S. I appreciate 'kudos' on any helpful posts.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Eugene,
Will this command work in 7-mode ? .
Also, i see options for running the' ls -lt ' options in java shell (java netapp.cmds.jsh) . However, i couldnt find able to run the options as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Saran -
Run it from a Linux/Unix host that's mounting the NFS export.
How old of a 7-Mode version are you running ?
If you have the Java shell you might still have the native 'filestats' command.
See the man page for it...
I hope this response has been helpful to you.
At your service,
Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, FastLane US http://www.fastlaneus.com/
(P.S. I appreciate 'kudos' on any helpful posts.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have newer version of ontap,i am unable to find java shell in any filer , predominantly all the filers are running in ontap 8 version.
I would like to get the access time information from Storage rather from the server side.
Thanks
Saran
saranraj456 has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Saran -
The Java shell was deprecated with ONTAP 8.
There was a memory leak that was a bad thing.
The 7-mode command map shows no C-mode command for 'filestats'.
Only way I know to see access time is from a client ...
I hope this response has been helpful to you.
At your service,
Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, FastLane US http://www.fastlaneus.com/
(P.S. I appreciate 'kudos' on any helpful posts.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Eugene!!
does Filestats command work on ontap version 8 (7 mode )?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Saran -
I don't think so.
Think it was based on the Java shell, so it was taken out.
It was there back in 7.3.x ...
I hope this response has been helpful to you.
At your service,
Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, FastLane US http://www.fastlaneus.com/
(P.S. I appreciate 'kudos' on any helpful posts.)
