Dear List,
I am trying to get file size and age distribution stats per volume on a Ontap8.1 system. Apparently, "filestats" command was removed on Ontap8.1 as "filestats" relies on java and java was removed on 8.1.
Does anybody know of any quick ways to get this kind of stats on 8.1?
Regards,
Ken Kawakubo Seattle
On a related question, anyone know of a script or tool that can do this for nfs ? We have a few non-netapp nfs systems hosting archives (~330TB auto-mounted into a single namespace), that we would like to gather age distribution stats. On the windows side we use TreeSize, but it doesn't scale beyond 20TB. Doing that over samba is very slow.
Sorry to hijack your post. -sto
On Thu, Dec 6, 2012 at 10:38 AM, Kawakubo, Ken kkawakub@fhcrc.org wrote:
Dear List,
I am trying to get file size and age distribution stats per volume on a Ontap8.1 system. Apparently, "filestats" command was removed on Ontap8.1 as "filestats" relies on java and java was removed on 8.1.
Does anybody know of any quick ways to get this kind of stats on 8.1?
Regards,
Ken Kawakubo Seattle
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
Maybe this?
http://www.chiark.greenend.org.uk/~sgtatham/agedu/
--tmac
Tim McCarthy Principal Consultant
On Thu, Dec 6, 2012 at 9:49 PM, Sto Rage© netbacker@gmail.com wrote:
On a related question, anyone know of a script or tool that can do this for nfs ? We have a few non-netapp nfs systems hosting archives (~330TB auto-mounted into a single namespace), that we would like to gather age distribution stats. On the windows side we use TreeSize, but it doesn't scale beyond 20TB. Doing that over samba is very slow.
Sorry to hijack your post. -sto
On Thu, Dec 6, 2012 at 10:38 AM, Kawakubo, Ken kkawakub@fhcrc.org wrote:
Dear List,
I am trying to get file size and age distribution stats per volume on a Ontap8.1 system. Apparently, "filestats" command was removed on Ontap8.1 as "filestats" relies on java and java was removed on 8.1.
Does anybody know of any quick ways to get this kind of stats on 8.1?
Regards,
Ken Kawakubo Seattle
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
On 7 Dec 2012, at 03:14, tmac wrote:
Maybe this?
I can recommend this, I run it on many petabytes of data successfully ( and not all of it netapp ).
Simon is always very responsive and helpful.
Wow, thanks Tim. 'll take a look at this, looks like it has everything I was looking for :)
-sto
On Thu, Dec 6, 2012 at 7:14 PM, tmac tmacmd@gmail.com wrote:
Maybe this?
http://www.chiark.greenend.org.uk/~sgtatham/agedu/
--tmac
Tim McCarthy Principal Consultant
On Thu, Dec 6, 2012 at 9:49 PM, Sto Rage© netbacker@gmail.com wrote:
On a related question, anyone know of a script or tool that can do this
for
nfs ? We have a few non-netapp nfs systems hosting archives (~330TB auto-mounted into a single namespace), that we would like to gather age distribution stats. On the windows side we use TreeSize, but it doesn't scale beyond 20TB.
Doing
that over samba is very slow.
Sorry to hijack your post. -sto
On Thu, Dec 6, 2012 at 10:38 AM, Kawakubo, Ken kkawakub@fhcrc.org
wrote:
Dear List,
I am trying to get file size and age distribution stats per volume on a Ontap8.1 system. Apparently, "filestats" command was removed on
Ontap8.1 as
"filestats" relies on java and java was removed on 8.1.
Does anybody know of any quick ways to get this kind of stats on 8.1?
Regards,
Ken Kawakubo Seattle
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
I just issued my first "vol copy" operation. It's running just fine as it copies a 1tb volume. I originally tried a flexclone split but after 15 hours it was only 6% complete.
As I read the cmd ref guide I saw that you can run 4 concurrent "vol copy" cmds, and there is a "vol copy status" cmd to monitor progress. From this I assumed a "vol copy" was a background process. When I issued the "vol copy start" on the console the prompt never returned - the copy seems to be running in foreground on the console. That is, the console prompt doesn't look like it will return until the copy completes. This surprised me! It spits out status msgs ever once in a while, and I can issue status cmds via rsh.
q) How do you get a "vol copy" command into background processing?
(OnTap v7.3.6)
Thanks!
Rick
----------------------------------------- The information contained in this message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately, and delete the original message.
I had the same experience - I was able to execute a vol copy on the other head. Maybe you could execute another vol copy via rsh?
Jack Sent from my Verizon Wireless BlackBerry
-----Original Message----- From: rrhodes@firstenergycorp.com Sender: toasters-bounces@teaparty.net Date: Fri, 7 Dec 2012 10:00:56 To: toasters@teaparty.nettoasters@teaparty.net Subject: vol copy question
_______________________________________________ Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
On a related question, anyone know of a script or tool that can do this for nfs ? We have a few non-netapp nfs systems hosting archives (~330TB auto-mounted into a single namespace), that we would like to gather age distribution stats. On the windows side we use TreeSize, but it doesn't scale beyond 20TB. Doing that over samba is very slow.
Sorry to hijack your post. -sto
Hi folks,
If anyone is interested I wrote a "Find" class in ruby with all of the features of the Unix "find" command and a few more:
1) access to parent directory chain
2) save/accumulate information during the find
3) post-process a directory after traversing it
4) terminate traversal at any time
5) supports multiple processes or Ruby threads
Probably doesn't work on Windows, only Unix.
The standard Ruby "find" is pretty rudimentary. It consumes TONs of memory if run in a large directory tree (breadth-first search) and it returns file pathnames as strings.
My find uses depth first search (only needs memory for the current item and the parent directory chain) and it returns a "Find" object with many useful methods, including "stat" information via Ruby's File::Stat class.
Here is a simple Ruby script that implements Unix "du -k" with my Find class:
Usage: du.rb dir ...
===========cut======== #! /usr/bin/ruby
include("./find.rb") # file not included in this email
top = Find.new
# register callback code to run after traversing a directory
top.postprocess do |dir| printf(dir[:total] / 2, " ", dir.path, "\n")
# add our total to our parent directory
dir.parent[:total] += dir[:total] if dir.parent end
# Run the find, which passes a "Find" object to the # block of code for each item in the directory tree
top.find(ARGV) do |f|
# This is a netapp, so we avoid .snapshot folders
if f.name == ".snapshot" f.prune next end
# accumulate disk usage (512 byte blocks)
if f.stat.directory? f[:total] = f.stat.blocks elsif f.parent f.parent[:total] += f.stat.blocks end end =============cut=======
On Thu, Dec 6, 2012 at 10:38 AM, Kawakubo, Ken kkawakub@fhcrc.org wrote:
Dear List,
I am trying to get file size and age distribution stats per volume on a Ontap8.1 system. Apparently, "filestats" command was removed on Ontap8.1 as "filestats" relies on java and java was removed on 8.1.
Does anybody know of any quick ways to get this kind of stats on 8.1?
Regards,
Ken Kawakubo Seattle
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support
I use the fsrm add-on for DFM. Came in handy when we were purging user homes of music files.
--- Scott Eno
On Dec 6, 2012, at 1:38 PM, "Kawakubo, Ken" kkawakub@fhcrc.org wrote:
Dear List,
I am trying to get file size and age distribution stats per volume on a Ontap8.1 system. Apparently, "filestats" command was removed on Ontap8.1 as "filestats" relies on java and java was removed on 8.1.
Does anybody know of any quick ways to get this kind of stats on 8.1?
Regards,
Ken Kawakubo Seattle
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters