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.

Redistributing data from full to empty disks

Featured Replies

Basically, want to move some data from a nearly-full disk in the array to a nearly-empty one.

 

Context:

I screwed up when migrating my data from my FlexRAID NTFS disks. I have 8+ TBs of TV Shows. My TV_Shows share is set to split level 1, so that each show is on a single disk and not split by seasons. Some of these TV shows directories may contain 200+ GB of content. I initially had my TV Shows share set to High-Water. Then what happened was that instead of copying each show at a time, I copied a bunch of shows at once. Several directories were created on disks where they wouldn't fit under the high-water mark once data finished copying. I now have a couple of drives that are about 90% full and several almost empty. This wouldn't normally be an issue, but many of the directories on these disks will continue growing.

 

The TV_Shows share is now set to Free-Space, so any future added shows will be less likely to exhibit this issue. For now, I need to move some of the directories to emptier disks.

 

This thread http://lime-technology.com/forum/index.php?topic=39012.msg363353#msg363353 seems to have the answer I'm looking for, but it's a bit dated and aimed at UnRAID 5.

 

Question:

According to that, I think I could simply use Finder on Mac or File Explorer on Windows, use SMB to access the Disk Shares, NOT the User Share, then (1) copy from the full disk share (2) paste to the empty disk share (3) delete from the full disk share. Will that work? Do I need to do the delete in terminal, or will deleting from the disk share in Finder/File Explorer do the trick?

If you want to do it manually and select the files to move this is the way I did it..

Telnet into your server.

In terminal.

cd - change to the drive/directory or your files are in.

for me it was. "cd /mnt/disk1/TVShows/EyeTV\ Archive/" (the back slash is because of the space in the name)

TVShows=foldername1

EyeTV\ Archive=foldername2

 

Make sure export disks from unRaid is set.

In desktop.

Open a window on your desktop of disk1...these are the source files/disk.

I made a folder "FolderA" that I put the files I wanted to move in because is was faster to copy/move a folder than separate files to another drive.

I did this in Mac OSX finder/ desktop.. You could use a Linux command as well but this was easier.

Then just dragged the files into it from the finder(Mac OSX) or desktop.

Because moving to a new directory on the same disk does not move the files it was fast.

FolderA was created in.

/disk1/TVShows/EyeTV\ Archive/FolderA

 

In terminal.

COPY everything in folder and keep dates etc (-a = Archive)

Mine was 2 folder levels in. I moved the files from disk1 to disk5.

 

cp -va folderA/* /mnt/disk5/foldername1/foldername2

 

This will take a while but much faster than moving with the OSX finder or thru your desktop.

 

In desktop.

Open a 2nd window on your desktop of disk5 or wherever your moving to...this is the destination disk.

Once you know your moved files are ok you can delete the originals.

if you cd to another directory make sure you go back to the original first.

 

In terminal.

cd /mnt/disk1/TVShows/EyeTV\ Archive/

rm -r FolderA

 

In desktop.

Then you can just drag the files out of the FolderA on disk5 to any directory you want again using the finder/desktop.

Again this is fast because your not moving the actual file.

 

Just make sure that you are looking at the exported disks on the desktop and not shares.

 

 

Try this with a test file first..

It's actually easier than it looks here.

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.