February 24, 201115 yr I ran mv /mnt/user/.custom/sabnzbd/downloads/complete/24/* /mnt/user/TV/24 in Putty. It created a folder named "TV" on my cache drive, and then placed all the data there. I'd obviously prefer the data be in the protected array... In the File Browser within unMENU, /mnt/user/TV/ is the dir that displays EVERYTHING (vs. browsing through /mnt/disk1/, which only displays what is on that disk), so I assumed that using the mv command to that destination would move the data to whichever disk according to user shares and allocation settings. This didn't happen and I deleted 150gb. For some reason, I thought the data was a copy. This page only shows methods that move data directly to a disk. I'd prefer to not choose the disk new data is moved to, allowing the allocation setting to do that. Is that not possible with command line methods? v4.7
February 24, 201115 yr It is possible. When you use 'mv' and the /mnt/user/ path, the file and directory tools will always prefer to keep data on the same drive. This is why it merely moved data from CACHE drive to CACHE drive. The reason it does so is it's trying to be efficient; it prefers/attempts to do a few simple Directory Node / INODE moves which is extremely quick instead of having to move significantly more data. You might have been able to recover after your 'mv' issue by using the webGUI to invoke the mover script or directly invoking it yourself: /usr/local/sbin/mover You need to be careful with your paths. It might have been fine if you used something like this instead (using unRAID 5.0b4 disk notation), of course this depends if you have that share setup to use CACHE or not: mv /mnt/cache/.custom/sabnzbd/downloads/complete/24/* /mnt/user/TV/24
February 24, 201115 yr Author I'm going to look into that mover invoke script, I think. Do I need to mirror EVERY folder in my TV directory for the mover script to work correctly? The idea behind the mover script is to move data from the same named folder within the cache drive to another folder within the array. Is that correct?
February 24, 201115 yr The mover script will ignore files or directory's that start with . mv /mnt/user/.custom/sabnzbd/downloads/complete/24/* /mnt/user/TV/24 will not move from the cache. But it will then allow the mover script to move the files into the array. I don't understand why anything was deleted. mv should succeed if /mnt/user/TV/24/ exists else it will fail; nothing should be deleted. Does the directory /mnt/user/TV contain all of the data? Does the the share TV have "Use cache disk" enabled?
February 24, 201115 yr Author I deleted the files, as I thought they were duplicates. Yes, despite using the mv command...
Archived
This topic is now archived and is closed to further replies.