OMV-Plugins/openmediavault-greyhole — Issue #10: Add some greyhole management buttons in the share tab
Author: sbocquet
Created: 2012-01-30 10:07:08+00:00
State: open

Need to provide this Greyhole's options in OMV WebUI.

Add some buttons in the Share tab to use :

greyhole --balance
Balance available space on storage pool drives.

greyhole --fix-symlinks
Try to find a good file copy to point to for all broken symlinks found on your shares.

greyhole --fsck --checksums --dir=path --email-report
Read ALL files in your storage pool, and check that file copies are identical.
This will identify any problem you might have with your file-systems.
NOTE: this can take a LONG time to complete, since it will read everything from all your drives!

greyhole --cancel-fsck
Cancel all scheduled fsck.

Optional button ?

greyhole --fsck --delete-orphaned-metadata --dir=path --email-report
When fsck find metadata files with no file copies, delete those
metadata files. If the file copies re-appear later, you'll need
to run fsck with --find-orphaned-files to have them reappear in

greyhole --fsck --find-orphaned-files --dir=path --email-report
Scan for files with no metadata in the storage pool drives.
This will allow you to include existing files on a drive
in your storage pool without having to copy them manually.