Storage Assesment on Solaris 9 & 10

Hi All,

I've been tasked with doing a storage assessment of our Sun servers. We need to find out the following from our servers:

1. Largest files

2. Duplicate files

3. Total used space

4. Total free space

5. Files not accessed in over a year

6. Files not backed up.

7. Output should be easily put in a report form to present to management. (we need to make our case for additional storage.)

I know that most if not all of these tasks can be accomplished by creating scripts. However, is there a free tool that would accomplish this? I could take on the task of writing the scripts, but it would be nice to see bar graphs, etc, like some commercial tools put out.

Any suggestions are greatly appreciated. If you already have a similar script that you are using and don't mind sharing, I'd be forever grateful. :)

Thanks again!

-Nicole

[915 byte] By [nicole1980a] at [2007-11-27 11:00:04]
# 1

if you *do* find that in a free tool, post it - it's definitely not the simplest thing to script out, some parts are, but a lot of those parts wouldn't be (in a tool that has to account for variances) - jeff

jeffrey.sa at 2007-7-29 12:27:17 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

> We need to find out the following

> from our servers:

>

> 1. Largest files

Trivial with a tree walk.

> 2. Duplicate files

Hmm. Harder. One method is do a checksum for all the files as you pass and then compare checksums later. Most checksum algorithms are expensive, plus you're going to have to read the file to generate it. That's going to take a lot longer.

> 3. Total used space

> 4. Total free space

> 5. Files not accessed in over a year

Trivial from file metadata.

> 6. Files not backed up.

I'm not sure how you'd directly assess this from the server itself. You'd need to cross-reference the server with whatever is doing backups.

--

Darren

Darren_Dunhama at 2007-7-29 12:27:17 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...