Tracing File System Change

Is there a way to trace back the history of file system and/or vg size changes?
i.e. I want to know the changes on /var/mqm and/or mgvg.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If smit was used to make the changes, you could look in the smit.transaction file.

JohnLucaniaAuthor Commented:
Where is smit.transaction file?
smit.log is the smit log and it only keeps trace the history of smitty activity. However you can issue command to change the size or attribute of a file systems or volume groups. You had better run a daily cron job to compare any change of the attributes change of the filesystem /var/mqm and volume group mgvg.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

Smit.transaction should be located in the same directory as smit.log BUT will only be available if you have AIX 5.2 or higher. It logs only cmd_to_exec so is a bit easier to sort through for info.

JohnLucaniaAuthor Commented:
I am on 5.1.  What is the alternative?
As cpc2004 eluded to, you could parse the smit.log then but that only tracks file system changes done through smit and wont catch any that are made via command line.

Depending on the specific info your looking for you may end up writing a shell script thats run via cron to write the output of of lsfs and lsvg to a log file.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.