November 20, 201015 yr I currently had in place a user share movies with split level 1 and splitting was correct across all drives movies -->movie_name I then decided to alter the structure like so, thinking that split level 2 would correctly allocate the data across all disks movies -->SD -->movie_name -->HD -->movie_name but to my surprise it filled up one disk to capacity and the rsync command bailed complaining of having no more space available. the command I used was this, moving the old data from the movies share to the new share movies_new ./rsyncmvd /mnt/user/movies_new/SD /mnt/user/movies/ any thoughts...
November 27, 201015 yr Author Really struggling to get the files under the directories HD and SD to split properly across disks. I know the split level 2 is correct. No matter what I do the data gets written always to disk2. Judging by the free space available shouldn't data get written to disk3 first cause it has the most space free? Free parity - disk1 404,476,564 disk2 638,577,340 disk3 862,059,744 disk4 380,562,804 disk5 669,992,156 I've transfered all my movies outside the array on a disk mounted on "movies", so I have the following structure under that mount point- -->HD -->movie_name -->SD -->movie_name I've tried all the following to no avail: cp -Rp /mnt/disk/movies/* /mnt/user/movies Script using the rsync command. Not sure whether the rsync is the culprit as it begins by creating ALL directories before it starts copying individual files. Basically by running the command below, all movie_name directories are created on the same disk. ./rsyncmvd /mnt/user/movies /mnt/disk/movies/ Same result in each case, everything gets allocated to disk2 and I run out of space. I've also created the directories manually (thought I didn't have to) on each disk, /mnt/disk1/movies/SD /HD ... /mnt/disk5/movies/SD /HD In need of some help....
December 1, 201015 yr Author Yes, level 2 should be good. What are the rest of the share settings? Peter, I retried using the CP command while having the data on a drive outside the array and that seemed to have done the trick. The rsyncmvd script, which relies on rsync, coupled with the fact that I was trying to move data from one existing user share to another did not work. Perhaps due to the fact that rsync creates all directories before hand and then copies the data in. This could explain why the data was moved to only one disk. Being not totally familiar with rsync, is there some was to alter this behavior?
December 1, 201015 yr Creating all the directories first will cause it to fail. I have no idea if you can modify that behaviour or not. Peter
Archived
This topic is now archived and is closed to further replies.