Jump to content

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


Go to solution Solved by JorgeB,

Recommended Posts

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?

Link to comment
  • 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.

Link to comment
Posted (edited)
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
Link to comment
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

Link to comment
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

Link to comment
Posted (edited)
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
Link to comment
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.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...