Closed nexeck closed 12 years ago
Yes, I had planned for this... Probably using a --unwind command. Example: greyhole --unwind Photos
Thanks, that option would be very helpful for us. Do you have any idea when it could be release ?
I have no schedule whatsoever for anything Greyhole-related. I work on it whenever I have time, and feel like doing something! Might be this weekend, or the next, or could be months away. I'll try to make it happen sooner rather than later!
FYI, this is probably how I'll implement it: https://github.com/gboudreau/Greyhole/wiki/RemoveShareFromPool
With a big 'du' of the share folders on all storage pool drives before it, in order to know how much free space you'd need in the shared folder for unwind to work. (I'll divide the total disk usage by the number of file copies in greyhole.conf. It's an approximation, but it should be pretty close.)
Thanks a lot :)
Hi Guillaume,
Any plan on supporting this feature ? That's the last feature we need to have a "full working" plugin. https://github.com/OMV-Plugins/openmediavault-greyhole/issues/4
Have a nice day, Greetings.
Yes, I will add that, but I can't know when. Like I said, I hope it will be soon... I'll try this am, but with the kids that will wake up, I don't know if I'll have time to finish it.
LOL ! Same problem here ;) My daughter is sleeping but don't know when she's going to wake up !!!
Take care of them ;)
-----Message d'origine----- From: Guillaume Boudreau Sent: Sunday, April 01, 2012 12:49 PM To: Stéphane Bocquet Subject: Re: [Greyhole] Add some kind of going SMB Share feature (#52)
Yes, I will add that, but I can't know when. Like I said, I hope it will be soon... I'll try this am, but with the kids that will wake up, I don't know if I'll have time to finish it.
Reply to this email directly or view it on GitHub: https://github.com/gboudreau/Greyhole/issues/52#issuecomment-4865596
Not enough space:
$ sudo greyhole --remove-share=TimeMachine
Will remove 'TimeMachine' share from the Greyhole storage pool, by moving all the data files inside this share to it's landing zone: /mnt/hdd2/TimeMachine_share_test
Finding how much space is needed, and if you have enough... Please wait...
Space needed: 505GB
Free space: 217GB
Not enough free space available in /mnt/hdd2/TimeMachine_share_test. Aborting.
Unknown share:
$ sudo greyhole --remove-share TimeMachine
'TimeMachine' is not a known share.
If you removed it already from your Greyhole configuration, please re-add it, and retry.
Otherwise, please use one of the following share name:
Backups
Books
CrashPlan
Games
gb
Music
Photos
RecordedTV
Software
Videos
VideosAttic
Worked:
$ sudo greyhole --remove-share TimeMachine
Will remove 'TimeMachine' share from the Greyhole storage pool, by moving all the data files inside this share to it's landing zone: /mnt/hdd2/TimeMachine_share_test
Finding how much space is needed, and if you have enough... Please wait...
Space needed: 11.0MB
Free space: 217GB
OK! Let's do this.
Deleting symlinks from landing zone... Please wait...
Done.
Folder does not exist: /mnt/hdd0/gh/TimeMachine. Skipping.
Folder does not exist: /mnt/hdd1/gh/TimeMachine. Skipping.
Moving files from /mnt/hdd2/gh/TimeMachine into /mnt/hdd2/TimeMachine_share_test... Please wait...
Done. Copied 3 files.
Folder does not exist: /mnt/hdd3/gh/TimeMachine. Skipping.
Moving files from /mnt/hdd4/gh/TimeMachine into /mnt/hdd2/TimeMachine_share_test... Please wait...
Done. Copied 0 files.
Folder does not exist: /mnt/hdd5/gh/TimeMachine. Skipping.
Folder does not exist: /mnt/hdd6/gh/TimeMachine. Skipping.
Moving files from /mnt/hdd7/gh/TimeMachine into /mnt/hdd2/TimeMachine_share_test... Please wait...
Done. Copied 0 files.
Moving files from /mnt/hdd8/gh/TimeMachine into /mnt/hdd2/TimeMachine_share_test... Please wait...
Done. Copied 0 files.
Folder does not exist: /mnt/airport/gh/TimeMachine. Skipping.
All done. Copied 3 files.
You should now remove the Greyhole options from the [TimeMachine] share in your smb.conf.
Great job Guillaume.
Thanks a lot, and don't wake up the kids ;)
Is it possible to add an option, to tell Greyhole that an SMB Share is going. Greyhole should stop managing files from this SMB Share, and should start to Copy all Files Back into the real SMB SHare Directory.