January 22, 201610 yr Hello All Just a quick question i've had my user shares set across all drives and im looking to organise them a little if i set the included and excluded disks for certain shares will it automatically reorganise the data ?
January 22, 201610 yr No, it won't move them. When you compute the share it will show a message stating that some of the folders are on drives that are set outside of what is set for the share. Also remember, you only have to include or exclude, doing both defeats the purpose.
January 22, 201610 yr Author Thank you for the quick reply, i didn't mean to say do both lol... would be a nice feature :-)
January 22, 201610 yr Community Expert Share settings only tell unRAID what to do with files as they are written. If you change the settings it will make any additional writes follow the new rules, but it won't do anything to files that are already there.
January 22, 201610 yr Thank you for the quick reply, i didn't mean to say do both lol... would be a nice feature :-) I wasn't saying you in particular, I have just seen other users do exactly that.
January 22, 201610 yr Remember the include/exclude really only affect when unRAID writes them. If you want to manually move things feel free. Just make sure you create a folder with the same folder structure on all drives you want unRAID to read the same UserShare from. Disk1/Movies/ files here Disk2/Movies/ files here Disk3/TV/ files here Disk4/Photos/ files here Disk5/Music/ files here To clarify what I mean up above. I write directly to Drive shares, but I created User Shares and manually copy files where I want them and I think to this date I've never assigned a Include/Exclude location. lol
January 22, 201610 yr Great question, I have been thinking of the same thing. Lets say I have 2x500g SSD cache, 2x300g 15k raptors, and 2x2tb NAS disks. So if I wanted to simulate tiered storage I could: 1) create my GAME share on cache only and leave my 'hot' games there (tier1) 2) manually move my less played games to my raptors (tier2) with MC mv /mnt/user/games/*folder* to /mnt/diskX/games/folder (where diskX is one of my raptors) 3) manually move things I wish I had time to play but never do to my NAS disks (tier3) with MC mv /mnt/user/games/*folder* to /mnt/diskY/games/folder (where diskY is one of my NAS disks) Now if only I could figure out a way to spread data across both drives in a tier and simulate raid-1 a tad more. So move data to /mnt/game-tier2 and have it do it for me vs. diskX. Done too much san, old habits die hard. Sorry if I am way off in the weeds, but I am really enjoying this product.
January 22, 201610 yr Yep move data around unRAID does all the magic in the background using shares. For example. I use XBMC now Kodi in my Living room. I point it to my Movie share and my TV share. For the last week I've been juggling files around on my 7Drives because I'm formatting to XFS. I use Disk shares to store my stuff and UserShares so my XBMC machine can read them. I've literally lost track of what files are on which drive because of so many moves. Lol Great thing is XBMC still plays and unRAID is still serving up the requested files while Running Rsync between drives and not one buffer glitch yet.
January 22, 201610 yr Great question, I have been thinking of the same thing. Lets say I have 2x500g SSD cache, 2x300g 15k raptors, and 2x2tb NAS disks. So if I wanted to simulate tiered storage I could: 1) create my GAME share on cache only and leave my 'hot' games there (tier1) 2) manually move my less played games to my raptors (tier2) with MC mv /mnt/user/games/*folder* to /mnt/diskX/games/folder (where diskX is one of my raptors) 3) manually move things I wish I had time to play but never do to my NAS disks (tier3) with MC mv /mnt/user/games/*folder* to /mnt/diskY/games/folder (where diskY is one of my NAS disks) Now if only I could figure out a way to spread data across both drives in a tier and simulate raid-1 a tad more. So move data to /mnt/game-tier2 and have it do it for me vs. diskX. Done too much san, old habits die hard. Sorry if I am way off in the weeds, but I am really enjoying this product. Don't mix user shares and disk shares when moving stuff around, the background magic can easily turn from good magic to bad magic.
January 22, 201610 yr Community Expert Great question, I have been thinking of the same thing. Lets say I have 2x500g SSD cache, 2x300g 15k raptors, and 2x2tb NAS disks. So if I wanted to simulate tiered storage I could: 1) create my GAME share on cache only and leave my 'hot' games there (tier1) 2) manually move my less played games to my raptors (tier2) with MC mv /mnt/user/games/*folder* to /mnt/diskX/games/folder (where diskX is one of my raptors) 3) manually move things I wish I had time to play but never do to my NAS disks (tier3) with MC mv /mnt/user/games/*folder* to /mnt/diskY/games/folder (where diskY is one of my NAS disks) Now if only I could figure out a way to spread data across both drives in a tier and simulate raid-1 a tad more. So move data to /mnt/game-tier2 and have it do it for me vs. diskX. Done too much san, old habits die hard. Sorry if I am way off in the weeds, but I am really enjoying this product. Don't mix user shares and disk shares when moving stuff around, the background magic can easily turn from good magic to bad magic. +1 DON'T!
January 22, 201610 yr Great question, I have been thinking of the same thing. Lets say I have 2x500g SSD cache, 2x300g 15k raptors, and 2x2tb NAS disks. So if I wanted to simulate tiered storage I could: 1) create my GAME share on cache only and leave my 'hot' games there (tier1) 2) manually move my less played games to my raptors (tier2) with MC mv /mnt/user/games/*folder* to /mnt/diskX/games/folder (where diskX is one of my raptors) 3) manually move things I wish I had time to play but never do to my NAS disks (tier3) with MC mv /mnt/user/games/*folder* to /mnt/diskY/games/folder (where diskY is one of my NAS disks) Now if only I could figure out a way to spread data across both drives in a tier and simulate raid-1 a tad more. So move data to /mnt/game-tier2 and have it do it for me vs. diskX. Done too much san, old habits die hard. Sorry if I am way off in the weeds, but I am really enjoying this product. Don't mix user shares and disk shares when moving stuff around, the background magic can easily turn from good magic to bad magic. +1 DON'T! I have no disk shares - but to move data from say Cache to my SATA drives you move them to a disk. i.e. like the steam video or am I missing something here? Source should always be /mnt/user/SHARE/*folder* but destination is /mnt/diskX/SHARE correct?
January 22, 201610 yr Community Expert or am I missing something here? Source should always be /mnt/user/SHARE/*folder* but destination is /mnt/diskX/SHARE correct? User Share Copy Bug Disk to disk or user share to user share, don't mix them. The linux cp and mv commands don't know that /mnt/user/Share/blah might actually refer to file /mnt/diskX/Share/blah and will wipe it out before it has a chance to copy the data.
January 22, 201610 yr or am I missing something here? Source should always be /mnt/user/SHARE/*folder* but destination is /mnt/diskX/SHARE correct? User Share Copy Bug Disk to disk or user share to user share, don't mix them. The linux cp and mv commands don't know that /mnt/user/Share/blah might actually refer to file /mnt/diskX/Share/blah and will wipe it out before it has a chance to copy the data. Looks like the link didnt take - this is one of the official ones about manging steam games off the video page So this video at 7:45 is wrong? I have a hard time seeing his screen details but based upon his verbiage he is doing exactly what I am describing - and if I do it, it will cause issues?
January 22, 201610 yr So this video at 7:45 is wrong? I have a hard time seeing his screen details but based upon his verbiage he is doing exactly what I am describing - and if I do it, it will cause issues?No, if you look closely, he is moving from /mnt/cache/share/blah to /mnt/disk1/share/blah. Neither source or destination contain /mnt/user. As long as you stay out of /mnt/user and /mnt/user0 in midnight commander you should be fine. Repeat.... don't use /mnt/user or /mnt/user0 paths for moving files around.
January 22, 201610 yr or am I missing something here? Source should always be /mnt/user/SHARE/*folder* but destination is /mnt/diskX/SHARE correct? but destination is /mnt/diskX/SHARE correct? NO because depending on how your splits are /mnt/user/SHARE/*folder* could be split /disk1/share /disk2/share That's why its always advised you move everything at the disk level
January 22, 201610 yr Community Expert And just in case it isn't obvious, cache is a disk just like disk1 is a disk, so moving /mnt/cache/games to /mnt/disk1/games is moving disk to disk.
January 22, 201610 yr And just in case it isn't obvious, cache is a disk just like disk1 is a disk, so moving /mnt/cache/games to /mnt/disk1/games is moving disk to disk. ah, that helps thanks.
Archived
This topic is now archived and is closed to further replies.