This post is more than 5 years old

1 Rookie

 • 

115 Posts

5176

August 26th, 2013 12:00

snapshot usage report of specific share

hello,

is there any way i can find out snapshot space usage of single share ? i can see the total space of all on isilon snapshot tab but i am looking for single share

basically we are analyzing how much of specific shares are taking that way we want to increase the number of shapshots and retentions. we have insightiq as well but i couldn't find any reporting stuff of snapshots in insightIQ.

appreciate any help on this.

132 Posts

August 26th, 2013 12:00

Correct.  If you already have a directory quota that you are using to enforce or monitor space usage, add a second quota that monitors usage + snapshots.  Then you can subtract the 2 numbers and get the amount of snapshot space used in that part of the directory tree.

132 Posts

August 26th, 2013 12:00

There is currently no way to get this data from an existing snapshot.  You would have to create multiple accounting quotas on the share you want to monitor.  1 quota with snapshot overhead and 1 without.  Then doing a little bit of math you can find out how much snapshot usage there is on a single directory.  If you already have a quota on the directory, you would only have to add a second accounting quota with the snapshot overhead.

1 Rookie

 • 

115 Posts

August 26th, 2013 12:00

Hi Andrew

thank you for the info. so as per ur info we can create 2 quotas for same share ? bec i have one quota of quota type - directory  ( which is not included the snapshot overhead ) already so the other one quota type should be directory as well but include the snapshot overhead.

132 Posts

August 26th, 2013 14:00

The --verbose listing only works if you have a snapshot schedule on the same directory you are interested in.  If you have a snapshot policy that protects something further up the tree (closer to the root) then the output will cover more of the file system than you are looking for.  I apologize if I misunderstood your situation.

You could ask the system to format in a table and then do a grep and awk to pull out the appropriate piece.

Something like: isi snapshot snapshots list --format table

Then | grep "snapshotschedulename" | awk '{ print $9 }'

1 Rookie

 • 

115 Posts

August 26th, 2013 14:00

just noticed cmd:  isi snapshot snapshots list --verbose    is giving the req info but its displaying all is there anyway does isilon cli supports grep / awk sort of flags to get only required shares name and lines.

1 Rookie

 • 

115 Posts

August 26th, 2013 15:00

isilon1% isi snapshot snapshots list --format table | grep "ftp-share"

434  ftp-share_2013-08-22-_01-30                /ifs/ftp-share

454  ftp-share_2013-08-23-_01-30                /ifs/ftp-share

516  ftp-share_2013-08-24-_01-30                         /ifs/ftp-share

538  ftp-share_2013-08-25-_01-30                         /ifs/ftp-share

558  ftp-share_2013-08-26-_01-30                         /ifs/ftp-share

isilon1% isi snapshot snapshots list --format table | grep "ftp-share" | awk '{print $9}'

isilon1%

isi snapshot snapshots list --format table | grep "ftp-share"  - gave the snapshot names but awk doesn't yield the size result which i am looking for.

isilon1% isi snapshot snapshots ftp-share_2013-08-22-_01-30 --verbose

bad subcommand ftp-share_2013-08-22-_01-30

132 Posts

August 26th, 2013 16:00

I forgot the --verbose flag.  Without it you don't get the space utilization.

Top