Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

monitoring entire file server for file creations

11 views
Skip to first unread message

Paul Matear

unread,
Feb 12, 2004, 7:32:15 PM2/12/04
to
I have issues with data storage (who doesn't) - got inconvenienced today
when 2Gb of free space on a file server disappeared in the space of 20
minutes - this normally would last a full week. My usual reaction is to
remove empty filler files to accomodate this until I can archive off some
redundant data. However today I got fed up and just let it fill, then
broadcast an email for the culprit to make themselves known. Didn't get a
response but the space freed up within 15 minutes..... I've absolutely no
idea what or who was responsible (although I'd never say that publicly)

This kind of thing usually happens when there are PC replacements and the
muppets copy their entire local drives to network storage "just so I don't
lose any data in the transfer", or when users are doing their own
application upgrades and taking multiple copies of 500Mb datafiles (which
space never gets reclaimed) "in case we have a problem" - that's what WE are
here for guys!

It infuriates me that I have no immediate idea where the space is going - I
can track it retrospectively with scripts that walk the entire 300Gb
filesystem, but I want something quicker

Anyway, this set me to wondering how I could scan the entire fileserver for
file creation. There are plenty of examples on how to scan specific folders,
but I want to think bigger.

My first idea is to repeatedly run NET FILE and look for patterns, but I
don't think that'll be clear enough.

My second (better) idea is to access the Change Journal.
(http://msdn.microsoft.com/library/en-us/fileio/base/change_journals.asp)
but I can't work out how to get information from the USN_RECORD
structure - bear in mind I'm not a programmer so the provided examples don't
mean much to me except in an abstract sense - I don't have the tools/skills
to implement them.

Are there plans to write a COM object that could be scripted against? or a
'skunkworks' tool to dump this into SQL or even decipherable text?

for example, a check of ParentFileReferenceNumber or USN_REASON_FILE_CREATE
during the last 20 minutes could indicate hotspots of file change or
identify individual large files

if nothing else, I'll try vbs and the wshAPIToolkit to see if I can get
anything useful.
Anyone know where the interfaces may be implemented?


regards
paul


Drew Cooper [MSFT]

unread,
Feb 12, 2004, 7:48:44 PM2/12/04
to
You could try auditing. It might be easier to just give all of the users
quotas, though.
--
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.

"Paul Matear" <pa...@nospam.com> wrote in message
news:u$qvaic8D...@TK2MSFTNGP11.phx.gbl...

Paul Matear

unread,
Feb 12, 2004, 8:06:33 PM2/12/04
to
Thanks Drew

the audit option is "Create Files/ Write Data" - even if I restrict it to
"This Folder and Subfolders" from the root of the data area I'm not sure I
could take the hit of auditing the entire file system - in cases where they
are copying up the entire hard drive it would generate a significant number
of events.....

I've been proposing quotas and HSM for a long time now but the company line
is just to throw more disk at it - I've been stressing the problems this
causes with the DR strategy and ongoing costs but I'm not a salesman so seem
to have a problem getting my message across

regards
paul

"Drew Cooper [MSFT]" <dc...@online.microsoft.com> wrote in message
news:%23vMmjsc...@TK2MSFTNGP09.phx.gbl...

Paul Matear

unread,
Feb 12, 2004, 8:09:21 PM2/12/04
to
besides, where's the fun in that? It's more the challenge of being able to
access the Change Journal!

regards
paul

"Drew Cooper [MSFT]" <dc...@online.microsoft.com> wrote in message
news:%23vMmjsc...@TK2MSFTNGP09.phx.gbl...

Drew Cooper [MSFT]

unread,
Feb 13, 2004, 3:33:09 PM2/13/04
to
AFAIK the only scriptable tool we offer with the OS for querying a journal
is fsutil. Maybe someone else knows of something. . .

Too bad you can't use quotas - seems more like the right tool for the job.


--
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.

"Paul Matear" <pa...@nospam.com> wrote in message

news:eDnUl1c8...@TK2MSFTNGP09.phx.gbl...

Lars Temme

unread,
Feb 13, 2004, 4:36:35 PM2/13/04
to
You should look into http://veritas.com/offer?a_id=3808
Storage Central is a pretty cool utlity and you can run some pretty nice
reports using it.
You really need to pitch this properly to Management.
-Lars

"Paul Matear" <pa...@nospam.com> wrote in message
news:u$qvaic8D...@TK2MSFTNGP11.phx.gbl...

Paul Matear

unread,
Feb 13, 2004, 5:59:58 PM2/13/04
to
Hi Lars

I've used earlier versions of StorageCentral (when it was precise/wquinn)
and I agree it's a good tool but I've never been permitted to use hard
quotas - I've got a couple of 500Gb v5 licences for use in a new SAN due to
go online soon so maybe I can use the stats from that to push the point.

I'd hoped to be able to use a simpler(?) method for the smaller utility
servers though.....

regards
paul

"Lars Temme" <no_spam@L+A+R+S.T...@fsc.fiserv.com> wrote in message
news:usZA2ln8...@tk2msftngp13.phx.gbl...

Lars Temme

unread,
Feb 16, 2004, 12:08:44 PM2/16/04
to
You should consolidate all of the shares to a larger server of file cluster.
I partook in such an indevour with good results. The ability to show
management reports of disk usage makes them work with the end users to
prompt them to lean up the shares. Housed about 3 TB on one file/print
cluster.

-Lars
"Paul Matear" <pa...@nospam.com> wrote in message
news:uH6teTo8...@TK2MSFTNGP12.phx.gbl...

DN

unread,
Mar 11, 2004, 3:03:42 PM3/11/04
to
"Paul Matear" <pa...@nospam.com> wrote in message news:<u$qvaic8D...@TK2MSFTNGP11.phx.gbl>...

You should try watchdisk from poweradmin.com. It's made for exactly
the problem you describe.

larry....@gmail.com

unread,
Jul 2, 2013, 9:49:54 AM7/2/13
to
Since setting up of a file server is easy . You can have a look at this video link for the same...

http://www.youtube.com/watch?v=JQhcD8VCeJM

Moreover if you want to monitor all the files and folder with in the server then please have a look at the third party application such as LepideAuditor For File Server.

This will help you to monitor all the files and folder with in the network with a real time alerts and Reports

You can have a look at the tool from the given link below..

http://www.lepide.com/file-server-audit/

Thanks.
0 new messages