Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Copying to Shares Mistake

Featured Replies

I think I made a mistake and want to make sure I don't do it again.  I created a share called "movies" with a split level of 2.  I then copied a directory (and all 700+ gigs of files/directories within it) called "PG - Non-Animated" to the "movies" directory.  Before it finished copying, I got an out of space message on the hard drive.  Indeed, it was writing the whole directory to one drive and it completely filled it up.

 

Since I used a split level of 2, should I have created the "PG - Non-Animated" directory first and then copied the contents to it.  Would that have split the files amongst my drives?  I use "most free" allocation method and v4.7b1.  Thanks.

What program did you use to do the copy?

 

Peter

 

  • Author

Window 7 file manager.  Source was a sata hard drive connected via esata to windows 7 laptop, copying over the network.

Odd, split level 2 means that subdirectories under that Movies share should split.

 

What is the directory structure of this "PG - Non-Animated" directory?

What are the complete "Movies" share settings?

How many disks in the array?

How full are the other disks?

 

Peter

 

 

 

 

  • Author

The directory structure consist of each movie being in its own directory under PG - Non-Animated directory

 

Share name:  Movies

Comments:  Movies

Allocation method:  Most-free

Min. free space: 

Split level:  2

Included disk(s): 

Excluded disk(s): 

Export (SMB):  Export read/write

Exceptions: 

Valid users: 

Invalid users: 

Export (NFS): 

 

 

Three disks in the array.  The other ones were only about 20% full.  I just set this up and was starting to copy over my data.

Check and see if there are a bunch of empty movie directories on the full disk, ie individual movie directories under that PG - Non animated directory.

 

Peter

 

  • Author

There is.  I am assuming this is because it ran out of space.

 

Split level 2 and 'most free' should work out ok for your described structure.

 

If you're interested in figuring out what's happening, here's what you can do, but it means deleting all the files you already copied and starting over.

 

Suppose you start out with a blank Movies share.  Open a window for the Movies share on the server, and a window for each disk share on the server.  Now drag the 'PG - Non-animated" directory from your esata drive to the Movies folder of the server.  Eventually you should see the 'PG - Non-animated" directory get created on the Movies share - now click on it.  Do you see all the movie title directories created at once?  What you should see is a title directory created, long pause while files underneath that directory get copied... then next title directory, etc.  Meanwhile in the individual disk share windows you should see which disk the titles are being created on.

 

By looking at the 'free' column on the webGui main page you should even be able to predict which disk the next title directory should be on.

 

But... if you see windows create all the title directories at once, then start filling them in...well this would be a problem.

  • Author

But... if you see windows create all the title directories at once, then start filling them in...well this would be a problem.

 

It is doing this right now for my music share.  Anyway to make it stop doing this or is it a Windows thing?  BTW, when I create a share shouldn't it create that directory on every drive because its not?

There is.  I am assuming this is because it ran out of space.

 

 

No, all the directories were created first. Then, an attempt was made to put all the files into those directories. You ran out of space on the drive before all the files were moved. Those directories are not allowed to split so the disk ran out of space instead of creating duplicate directories on another disk.  

 

You can delete the empty directories and move the rest. Hint, W7 will ask what to do with duplicates. I've done that before to copy when I didn't know what was copied and what was not. It will ask what to do and you can check a box to do the same thing for all similar conflicts. I've done it before and just used the don't copy or do nothing option, whatever it's officially called.

 

Peter

 

But... if you see windows create all the title directories at once, then start filling them in...well this would be a problem.

 

It is doing this right now for my music share.  Anyway to make it stop doing this or is it a Windows thing?  BTW, when I create a share shouldn't it create that directory on every drive because its not?

 

I think you'd have to use another program. It's possible Terracopy does it one directory at a time. If you're filling the array and causing these big copies then you could also do it more manually and use the disk shares. You would monitor each drive free space and spread the data out.

 

unRAID will only create a new share directory when it first places data on the drive. It won't create a blank one "just because".

 

Peter

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.