Re: [Gluster-users] Usage monitoring per user

2018-05-02 Thread JOHE (John Hearns)
I rather like ageduIt probably does what you want.

But as Mohammad says you do have to traverse your filesystem.


https://www.chiark.greenend.org.uk/~sgtatham/agedu/

agedu: track down wasted disk space - chiark home 
page
www.chiark.greenend.org.uk
agedu. a Unix utility for tracking down wasted disk space Introduction. Suppose 
you're running low on disk space. You need to free some up, by finding 
something that's a waste of space and deleting it (or moving it to an archive 
medium).







From: gluster-users-boun...@gluster.org  on 
behalf of Alex Chekholko 
Sent: 01 May 2018 18:45
To: mohammad kashif
Cc: gluster-users
Subject: Re: [Gluster-users] Usage monitoring per user

Hi,

There are several programs that will basically take the outputs of your scans 
and store the results in a database. If you size the database appropriately, 
then querying that database will be much quicker than querying the filesystem.  
But of course the results will be a little bit outdated.

One such project is robinhood. 
https://github.com/cea-hpc/robinhood/wiki

A simpler way might be to just have daily/weekly cron jobs that output text 
reports, without maintaining a separate database.

But there is no way to avoid doing a recursive POSIX tree traversal, since that 
is how you get your info out of your filesystem.

Regards,
Alex

On Tue, May 1, 2018 at 5:30 AM, mohammad kashif 
> wrote:
Hi

Is there any easy way to find usage per user in Gluster? We have 300TB storage 
with almost 100 million files. Running du take too much time. Are people aware 
of any other tool which can be used to break up storage per user?

Thanks

Kashif

___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] New style replication in version 4?

2018-05-01 Thread JOHE (John Hearns)
Good morning all.  I am landing here again following a spell on the list when I 
worked at XMA in the UK. Hello again.


I have a use case of having a remote office, which should be able to have a 
common storage area with a main office.

I recently worked on GPFS with AFM to achieve this at another company (not 
really relevant to this list).


I at first though Geo Replication would be ideal fo rthis use case, however 
further reading says that it is suitable for making a slave only copy

for disaster recovery. Ie. there is no 'two way' syncing of files.


Would anyone be able to comment on the New Style Geo Replication which has come 
along in Gluster version 4?

What is the status please, and is it a suitable method for enabling a share at 
a remote office which syncs either way?


thankyou

John Hearns

___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users