March 4, 20188 yr Good Afternoon All, I never really organized my data. It is now a hot mess. I have backups of old hard drives from PCs and Laptops etc. Along with multiple copies of data (pictures/music/docs/etc). The wife and kids now need access to the data. I believe it will be easier to use shares instead of disk 1-4. I am currently at version 6.4.1. I have cleared all data from disk 1 and started to creating shares for Movies/Pictures/etc. Currently, Disk 1 is the only included disk for the shares. Once I move all the data off of disk 2 and into the newly created shares, I will add disk 2 to the share. During this process, I will be able to find and delete all the duplicates. I don’t understand how the share maps to the disk. I can see the mounts: /mnt/disk1 /mnt/disk2 /mnt/disk3 /mnt/disk4 /mnt/cache /mnt/user0 <— not sure about this one /mnt/user When I want to move a file from disk2 to the new share: mv -v /mnt/disk2/DeerHunter.mkv /mnt/user/Movies/ Where is the data actually stored? It is obviously on disk1. I just don’t understand how it works. root@Tower:~# find / -name DeerHunter.mkv /mnt/user/disk1/.AppleDouble/DeerHunter.mkv/mnt/user/Movies/DeerHunter.mkv /mnt/cache/disk1/.AppleDouble/DeerHunter.mkv /mnt/cache/Movies/DeerHunter.mkv /mnt/disk2/.AppleDouble/DeerHunter.mkv Does the concept of the physical disk go away in place of the virtual "share"? Still the data is written to disk 1, I should be able to see it via the cli right? Chris
March 4, 20188 yr Author I figured it out..... Re-using folder names and duplicate copies of files etc confused the issue. I created a new folder and test file. It all makes sense now: root@Tower:~# find / -name BLIZZARD /mnt/user/BLIZZARD /mnt/user0/BLIZZARD /mnt/disk1/BLIZZARD root@Tower:~# find / -name blizzard.rtf /mnt/user/BLIZZARD/blizzard.rtf /mnt/user0/BLIZZARD/blizzard.rtf /mnt/disk1/BLIZZARD/blizzard.rtf root@Tower:~# File and folder are on disk1 and "virtual" file structure for user and user0. Chris
March 4, 20188 yr 2 hours ago, goybar said: When I want to move a file from disk2 to the new share: mv -v /mnt/disk2/DeerHunter.mkv /mnt/user/Movies/ Where is the data actually stored? It is obviously on disk1. I just don’t understand how it works. THIS IS A NO-NO!!!!! You can easily use data this way. See here fro explanation: https://lime-technology.com/forums/topic/32836-user-share-copy-bug/#comment-316512 Most of the time, folks who get themselves into this problem when they start sharing disks and then use a file manager on their PC's. For this reason, no array disks are shared by default. However, you can much more easily make the same mistake when you use the command line. My recommendation for you is not to make any file moving from the command line between disk and shares until you completely understand how things work. You can start here: http://lime-technology.com/wiki/index.php/UnRAID_Manual_6#Shares and http://lime-technology.com/wiki/Cache_disk IF you would like to watch a video on cache drives, here is one: https://lime-technology.com/forums/topic/54256-video-guide-add-a-cache-drive-replace-a-cache-drive-or-create-a-cache-pool/
March 4, 20188 yr Author Frank1940, Thank you for the links I will check them out. Now that I know the actual path I started moving them directly to the disk: mv -v /mnt/disk2/Documents/* /mnt/disk1/MiscDocs/ MiscDocs being a newly created share: root@Tower:~# find / -name MiscDocs /mnt/user/MiscDocs /mnt/user0/MiscDocs/mnt/disk1/MiscDocs root@Tower:~# I assume moving files & folders directly disk to disk is a valid way. Should I actually be using rsync instead of mv? Chris
March 4, 20188 yr You can use either command .... my personal recommendation is just use which ever command you are less likely to make a mistake using and accidentally lose files. As you have a /mnt/user0 then you must also have a cache disk set up ... so you should also read up on how a cache disk works when included in a share.
Archived
This topic is now archived and is closed to further replies.