Feature Request - More Granular Shares

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Feature Request - More Granular Shares

Postby ciscoh » Tue Apr 17, 2012 4:50 am

I would like to be able to build sub-shares that have different settings than the parent.

For instance.....

Amahi by default has Music, Movies, Pictures as spearate shares. i hate flat folder structures for storage so i have a media share with sub folders for each.

I would like to be able to have different settings for the number of file copies for each sub share for Greyhole.


Thanks.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Feature Request - More Granular Shares

Postby bigfoot65 » Tue Apr 17, 2012 5:30 am

Please submit this in the bug tracker so we don't lose sight of it.

Also, can you create the structure you want and then in the dashboard create shares, mapping them to the sub folders?

You can create a share and map it to any folder you choose. Then you would only enable Greyhole on the sub folders.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: Feature Request - More Granular Shares

Postby ciscoh » Tue Apr 17, 2012 6:24 am

wow......perfect example of overthinking the problem


that will work perfectly


thank you.

:)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Feature Request - More Granular Shares

Postby bigfoot65 » Tue Apr 17, 2012 6:41 am

Certainly. Sometimes the obvious eludes us LOL
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: Feature Request - More Granular Shares

Postby ciscoh » Tue Apr 17, 2012 6:54 am

yes.....especially around tax time.....mind suffering from overload

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

Re: Feature Request - More Granular Shares

Postby sgtfoo » Tue Apr 17, 2012 8:38 am

it's true.. the dashboard will map to any sub-share you created.. eg:

/var/hda/files/movies
/var/hda/files/movies/horror

and in the dashboard, mount both of these, but one it named horror, the other names movies.
The permissions and greyhole pooling should be changeable from there.

Funny, I've used this once and got confused, so I changed my structure of shares entirely later on.
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: Feature Request - More Granular Shares

Postby ciscoh » Tue Apr 17, 2012 9:30 am

Please submit this in the bug tracker so we don't lose sight of it.

Also, can you create the structure you want and then in the dashboard create shares, mapping them to the sub folders?

You can create a share and map it to any folder you choose. Then you would only enable Greyhole on the sub folders.

this didnt work so well.......deleted ALL my files. i am guessing that unchecking "uses pool" on the parent folder caused greyhole to remove the files

any issues with leaving this checked but having different numbers of copies for the child folders?

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: Feature Request - More Granular Shares

Postby ciscoh » Tue Apr 17, 2012 11:01 am

thankfully an --fsck got my stuff back but that was a little scary....

crashplan had not quite finished its backup....;/



so i guess as long as i setup the shares that way from the start, i should be good.

the only problem with this is that my samba shares are back to flat since they only share what greyhole knows about. so i am back to my orginal feature request....:)

i will try to write it up and outline my failed attempt at a workaround so that the Amahi and Greyhole dev(s) can understand what i am asking for and hopefully have an easy fix.

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

Re: Feature Request - More Granular Shares

Postby sgtfoo » Tue Apr 17, 2012 11:12 am

AFAIK Greyhole doesn't delete stuff when you remove folders from the pool. Your files are likely still there, but just not sym-linked to anywhere you can see them.

I'm curious what the nesting you seek will look like :?: :? :shock: :geek:
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: Feature Request - More Granular Shares

Postby ciscoh » Tue Apr 17, 2012 11:18 am

the files are still on the drives under the gh folder.......the symlinks were removed from the landing zone is all.

not a major incident but it made me gasp.....at first

basically the nesting i want is this

backups-->crashplan (no copies)
backups-->dbbackup (max copies)
backups-->Dropbox (no copies)
backups-->windows_backups (1 copy)

media-->books (max)
media-->music (max)
media-->movies (1 copy)

Who is online

Users browsing this forum: No registered users and 16 guests