September 11, 200817 yr Share name: Movies Comments: Allocation method: High-water Most-free Split level: 3 Included disk(s): disk4,disk5 Excluded disk(s): Export mode: Export read/write Movies share:381 files,136 folders and 144GB disk4/movies:213 files, 123 folders and 72.2GB disk5/movies:168 files, 127 folders and 71.9GB Total:381 files, 250 folders, 144GB So my question is why is it making double folders? There doesn't seem to be any double data, but this doesn't seem correct. I thought split lvl 3, made it so whatever file was created, always stayed in that folder. And when the folder was created it would get created on whichever disk had the most space available. Seems to be creating folders on both disk 4 and disk 5. Not sure what I did wrong. I read the wiki thread on shares. http://lime-technology.com/forum/index.php?topic=1928.0 EDIT- On preview I caught the problem:( I should of used split lvl 2 correct?Not split lvl 3 like I used. I included a chart below of my setup. So what's the easiest way to correct this error? 0 disk4 or disk5 1 Movies 2 Folder name 3 Actual files
September 11, 200817 yr EDIT- On preview I caught the problem:( I should of used split lvl 2 correct?Not split lvl 3 like I used. I included a chart below of my setup. So what's the easiest way to correct this error? from windows, first make your disk shares exported as read/write and visible. from windows file-explorer, drag the files from disk5/Movies into disk4/Movies Then wait... a long time... the files will get there, but it will take many hours. From Linux, log in as root. Type mv /mnt/disk5/Movies/* /mnt/disk4/Movies/ It will be done when you get the prompt back. (expect it to take a while) This will still take a long time, but be shorter than doing it from windows over the lan. Of course, I'm assuming disk4 has enough space for all the files. if not, leave things as they are.
September 11, 200817 yr I believe in your example you want what you call "Folder Name" to only be put onto one disk and you have some a bunch of different folder names. You're probably sorting the movies by something like alphabet or movie name. I believe you want a split level of 1 which means only the Movies directory will be spanned across disks. The subdirectory and all it's files will stick to a single drive once created. Split Level 2 would mean that the "Folder Name" directory and the files stored in it can also span multiple disks. I hope someone corrects me if I'm wrong. If you don't have room on one disk for all the files you can move the files in the subfolders back and forth between drives. I'm not sure what the subfolders are named but say you sorted your movies by alphabet using folders A,B,C,D,etc. You would go; mv /mnt/disk5/Movies/A/* /mnt/disk4/Movies/A/ mv /mnt/disk4/Movies/B/* /mnt/disk5/Movies/B/ Doing it this way, you keep the data spread between disks by shifting the data back and forth folder by folder. I hope that makes sense. You should then go back to Windows Explorer and double check your work first before removing the empty directories. Well, you can also use "rm -r /mnt/disk4/Movies/A" to delete the directory. Peter
September 11, 200817 yr Author The share name is movies whatever the title of the movie is thats what I name the movie's folder so the folders would look like. And whatever is created in the folder I would want it to stay that way. The Boondock saints The Illusionist The Matrix To answer your question I added the level number to the left: 0 Disk1 | 1 Videos (User Share) THIS WILL SPAN DISKS | 2 --Movies (Directory) | 3 --DVDs (Directory) | 4 --[Movie Title 1] (Directory) | | | VIDEO_TS (Directory) | .VOB file | .VOB file | 4 --[Movie Title 2] (Directory) | --VIDEO_TS (Directory) .VOB file .VOB file Above is pulled from the explanation tom gave, so confused now. I thought split lvl 2, would make it so if I created say two movies called X,Y. One would go to disk 4 and one would go to disk 5.
September 11, 200817 yr You want the following structure, correct? 0 - Disk4 1 - Movies 2 - The Boondock saints - files for this movie 2 - The Illusionist - files for this movie 0 - Disk5 1 - Movies 2 - The Matrix - files for this movie You do not want this, correct? 0 - Disk4 1 - Movies 2 - The Boondock saints - some of the files for this movie 2 - The Illusionist -some of the files for this movie 2 - The Matrix - some of the files for this movie 0 - Disk5 1 - Movies 2 - The Boondock saints - some of the files for this movie 2 - The Illusionist -some of the files for this movie 2 - The Matrix - some of the files for this movie The first way is 1 and the second way is 2. I believe you're complaining that you have the second way now and you don't want it that way. The split level number gives the number of folders deep that you want to be able to span multiple drives. I believe you only want the folder Movies to span across drives and you do not want sub-folders to span. Peter
September 11, 200817 yr Author Thanks for clearing this up for me, yeah I wanted it the 1st way you listed.
Archived
This topic is now archived and is closed to further replies.