Git Product home page Git Product logo

Comments (12)

gboudreau avatar gboudreau commented on July 17, 2024

Yes, I had planned for this... Probably using a --unwind command.
Example: greyhole --unwind Photos

from greyhole.

sbocquet avatar sbocquet commented on July 17, 2024

Thanks, that option would be very helpful for us. Do you have any idea when it could be release ?

from greyhole.

gboudreau avatar gboudreau commented on July 17, 2024

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!

from greyhole.

gboudreau avatar gboudreau commented on July 17, 2024

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.)

from greyhole.

nexeck avatar nexeck commented on July 17, 2024

Thanks a lot :)

from greyhole.

sbocquet avatar sbocquet commented on July 17, 2024

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.

from greyhole.

gboudreau avatar gboudreau commented on July 17, 2024

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.

from greyhole.

sbocquet avatar sbocquet commented on July 17, 2024

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:
#52 (comment)

from greyhole.

gboudreau avatar gboudreau commented on July 17, 2024

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.

from greyhole.

gboudreau avatar gboudreau commented on July 17, 2024

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

from greyhole.

gboudreau avatar gboudreau commented on July 17, 2024

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.

from greyhole.

sbocquet avatar sbocquet commented on July 17, 2024

Great job Guillaume.

Thanks a lot, and don't wake up the kids ;)

from greyhole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.