Unsolved

This post is more than 5 years old

1 Rookie

 • 

115 Posts

8842

July 8th, 2013 10:00

how to find directory total size [web interface] ??

hello,

how to get the total size of directory [ including inner directories / files as well ]  like if i create a parent directory called  prod_share  then it has

bunch of inner folders/files but when i see click the prod_share on top its showing size in 501 B but i know the data inside is ~ 100GB.

i believe we can navigate to that path on CLI /ifs/xx/xx then du cmd but is there any way to find that on web interface??

1 Attachment

83 Posts

August 9th, 2013 09:00

I was curious, did this get sorted out?If so what resolved it?

2 Intern

 • 

165 Posts

April 12th, 2014 23:00

Peter, the physical size of a directory shown in IIQ, does it also include snaps ?

4 Operator

 • 

1.2K Posts

April 14th, 2014 02:00

Hi Damal, I don't think so, afaik the FSA scans basically the same

information (stat() call) as a normal "du".

-- Peter

2 Intern

 • 

165 Posts

April 14th, 2014 06:00

Thanks peter.

We have a billing requirement in which a department will be charged for physical size of a directory + snaps. Thought IIQ includes snaps as well in physical size but its not. (Ran a du -sh on a directory and matched its results to IIQ values and they are same)

Is there a solution for this ?

Thanks,

Damal.

132 Posts

April 14th, 2014 07:00

The correct way to handle this would be to use accounting quotas.  Setup an accounting quota to include snapshot size and then you can run a quota report to get your billing information.

1 Rookie

 • 

114 Posts

April 14th, 2014 07:00

If you go the accounting quota way, keep in mind that the quotas with --include-snapshots   only account for snapshots that are created after the quota was created. So if you already have snapshots and want to chargeback for them you're in bad luck.

The really lousy way to do this is to parse the

isi snapshot snapshots list -v

but then you'd have convert all b,K,M,T numbers to MB and add up

2 Intern

 • 

165 Posts

April 14th, 2014 08:00

Even CLI is not helpful to account snaps that are created before quotas ?

4 Operator

 • 

1.2K Posts

April 14th, 2014 08:00

> only account for snapshots that are created after the quota was created

thanks

And Plan B is not so lousy any more with OneFS 7.x and its

more or less consistent appearance of the option  --format csv or json 

-- Peter

2 Intern

 • 

165 Posts

April 14th, 2014 08:00

There already exist advisory and hard quota on directories.

Will there be any kind of impact in view of performance if we have multiple quotas set on same directory

2 Intern

 • 

165 Posts

April 14th, 2014 09:00

Is there a scenario in which we can use snapshot aliases for a scheduled snapshot

Top