Page 1 of 1

Verify Replication status

Posted: Wed Jul 06, 2011 8:18 am
by SebaD
Hello,
I have my Amahi up and running and I have defined replication for some folders (extra copies=1).
How can I verify the status of this replication? Was it done, was it successfull, is it in progress, will be done overnight?

Thanks
Seba

Re: Verify Replication status

Posted: Wed Jul 06, 2011 6:08 pm
by sgtfoo
It's done whenever a greyhole file system check is done..... typically it automatically runs at midnight.

the command to manually run one (must be sudo / su )

Code: Select all

greyhole --fsck

Once it's done replicating your stuff across the second drive, you will see your storage space used up as though the folder(s) you defined to duplicate are taking up the double space they did before.

Re: Verify Replication status

Posted: Thu Jul 07, 2011 3:19 am
by SebaD
I understand how I can trigger the replication/fsCheck, but is there a way to determine at a certain point what is the status without starting a process which would take couple of
hours?

Re: Verify Replication status

Posted: Thu Jul 07, 2011 6:25 am
by sgtfoo

Code: Select all

greyhole -q
This will show the queue of things it's doing/going to do

Code: Select all

greyhole -s
this will show its status

see this...
http://wiki.amahi.org/index.php/Linux-hda_commands

Re: Verify Replication status

Posted: Thu Jul 07, 2011 6:34 am
by SebaD
Thank you for these quick answers and I try not to be a stick in the mud...

The 2 commands show what is greyhole doing now.
If the greyhole process is fine and sleeping is this 100% same with all the folders are properly replicated as per setting?
If the serif is sleeping doesn't mean all the bad guys are locked up...

So if I change the replication mode for a folder basically I'm leaving a message for greyhole and it is going to be serviced at some point, agreed. But how do I know if that moment has passed or not, if it went well or not?

Does it make sense?