spylex Posted January 6, 2011 Share Posted January 6, 2011 Is this possible? I'd like to move my Transdroid downloads, MySQL storage and XBMC Thumbnails storage onto the cache drive permanently, without them being written on the array. I tried using the underscores script and creating _Downloads but that still gets added and shared automatically. Is it possible to create a directory on the cache drive that is ignored by the mover, not added to the array but shared on the network? Link to comment
Joe L. Posted January 6, 2011 Share Posted January 6, 2011 Is this possible? I'd like to move my Transdroid downloads, MySQL storage and XBMC Thumbnails storage onto the cache drive permanently, without them being written on the array. I tried using the underscores script and creating _Downloads but that still gets added and shared automatically. Is it possible to create a directory on the cache drive that is ignored by the mover, not added to the array but shared on the network? You just need to go to the "Shares" page and disable the export of that "_Downloads" share. Link to comment
spylex Posted January 6, 2011 Author Share Posted January 6, 2011 But, i want it to be shared on the network. What i don't want is for it to be added to the array just yet, i.e. parity etc. When i add is as _Downloads on the cache drive it somehow appears in my shares and data is written on all drives. Link to comment
Joe L. Posted January 6, 2011 Share Posted January 6, 2011 But, i want it to be shared on the network. What i don't want is for it to be added to the array just yet, i.e. parity etc. When i add is as _Downloads on the cache drive it somehow appears in my shares and data is written on all drives. Then I'm confused... What "underscore" script did you run? I thought it prevent the folders from being moved? If you mean they still show locally on /mnt/user, I'm not sure if there is an easy way to avoid that right now. You can partition the cache drive to accomplish your needs, but that is a more advanced topic. unRAID will use the 1st partition for the cache drive. You can use remaining partition(s) as desired. Joe L. Link to comment
prostuff1 Posted January 6, 2011 Share Posted January 6, 2011 I use the mover_exclude and have not had the problem you mention. I actually use my own version but the one in unMenu is exactly the same as the one I created. Anyway, can you run this command: find /mnt -type d -name *_Downloads* and post the output. I see the folder as existing on the cache drive and in /mnt/user but not on any of my actual array disks (/mnt/disk*) Also, could you post the output of: cat /usr/local/sbin/mover so I can see if the mover has actually been modified. Link to comment
spylex Posted January 6, 2011 Author Share Posted January 6, 2011 That sounds like an interesting proposition Joe. And then i can use a script like S.N.A.P. to share the other partition on the network? Right now im trying to rename everything to .Downloads and see if this works. I guess the underscore script was just for the mover, not for the cache drive functionality, my bad! Is there no other way to get unraid to ignore certain drives on the cache drive but at the same time enable them to be shared? prostuff1: interesting that we are getting different results. I've just tried a different approach as i mentioned here, hold on.. Link to comment
spylex Posted January 6, 2011 Author Share Posted January 6, 2011 Ok by making the directories 'hidden' (adding a period in front of their name) they are no longer created as shares and it seems like Transmission and MySQL are happy with that. Now, the only way to get my Downloads to appear as a share is if i enable disk shares and have them as hidden. While this solution is fine for me it's inconvenient for my novice network users. Is there a way to add it as an SMB share through command line? Link to comment
prostuff1 Posted January 6, 2011 Share Posted January 6, 2011 Yes, create a file in the config folder of the flash drive and call it smb-extra.conf in it you can add something like: [movies] path = /mnt/disk1 read only = yes [music] path = /mnt/disk2 read only = yes just change what you want and you should be good to go. Link to comment
Joe L. Posted January 6, 2011 Share Posted January 6, 2011 Yes, create a file in the config folder of the flash drive and call it smb-extra.conf in it you can add something like: [movies] path = /mnt/disk1 read only = yes [music] path = /mnt/disk2 read only = yes just change what you want and you should be good to go. Probably something like this: [Downloads] path=/mnt/cache/.Downloads read only = yes Link to comment
spylex Posted January 6, 2011 Author Share Posted January 6, 2011 Excellent. You both helped me solve my 'problem'. Thank you for your assistance, everything seems to be working ok for now! Cheers to the both of you Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.