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.

Can I make the Allocation method work when I copy file by rsync to share directory?

Featured Replies

I have three disk in my array

 

I have created a share directory (Media),and set Allocation method to "Automatically split any directory as required". and than I have saw that these is Media directory in /mnt/user/ and /mnt/user0/ .

 

I mount a disk(previous data) to /mnt/mydisk/.and than try to "rsync -av /mnt/mydisk/ /mnt/user/Media/".

 

I expected Allocation method to work fine with the data spread across three drives. In fact it seems that the data will only be written to one hard drive.

 

 

 

Is my way wrong?

Solved by JorgeB

  • Community Expert
  • Solution
1 minute ago, ClydeLin said:

I expected Allocation method to work fine with the data spread across three drives.

It will, but when it starts to write to the other drives will depend on the allocation method set.

 

2 minutes ago, ClydeLin said:

set Allocation method to "Automatically split any directory as required"

That is the split level, not the allocation method.

  • Author
14 minutes ago, JorgeB said:

It will, but when it starts to write to the other drives will depend on the allocation method set.

 

That is the split level, not the allocation method.

oh, It is my mistake. My allocation method is Most-free and split level is "Automatically split any directory as required".

 

so your means it will write to a drive first and will it be written to another drives at some time in the future?

 

What is the difference between /mnt/user/ and /mnt/user0 ?

Edited by ClydeLin

  • Community Expert
24 minutes ago, ClydeLin said:

so your means it will write to a drive first and will it be written to another drives at some time in the future?

Yes, it will writhe the next file to the disk with most free space.

 

24 minutes ago, ClydeLin said:

What is the difference between /mnt/user/ and /mnt/user0 ?

/mnt/user0 doesn't include any pools

  • Author
14 minutes ago, JorgeB said:

Yes, it will writhe the next file to the disk with most free space.

 

In fact, it seems different. I continue to use the rsync command to migrate data, but it keeps writing to the same disk.

2024-08-07 23.59.13.png

  • Community Expert
22 minutes ago, ClydeLin said:

but it keeps writing to the same disk.

That's normal, disk2 is the one with most free space, until it has < 2.96TB free, it will write to that disk only.

  • Author
12 minutes ago, JorgeB said:

That's normal, disk2 is the one with most free space, until it has < 2.96TB free, it will write to that disk only.

It sounds “high-water”,but I set it to most-free.

 

It is worth mentioning that I operated all this through the root ssh login shell.

Edited by ClydeLin

  • Community Expert
1 hour ago, ClydeLin said:

It sounds “high-water”

No, that is most free, most free writes to the disk with most free space, and at the moment that is disk2, should be obvious by looking at the screenshot posted.

  • Author
5 hours ago, JorgeB said:

No, that is most free, most free writes to the disk with most free space, and at the moment that is disk2, should be obvious by looking at the screenshot posted.

Okay, it's very clear.Thank you for your support.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.