Jump to content

Some questions about first array build


Excypher

Recommended Posts

Hi everyone, I have a couple questions about the setup before going ahead with my unraid build, just to clear up a couple potential concerns.

 

Currently I have 4x4TB drives in raid 1 as my storage, I have about 5TB used of the 7.25TB usable.

 

I am planning on putting those 4x4tb, plus an additional 4TB into the unraid array, In addition I have 2x 1TB SSD's I plan to Mirror as a cache volume. 

 

Obviously since I'm going to have to store the data in the mean time, I have 2x new 18TB drives, one of which I'm going to use to copy the array to before building it, and the other is going to be the parity drive, once the array is built I'm going to add the other 18TB that I've used for temporary storage to the array. 

 

So, My question is: since the cache is going to be 1TB, and I'll have 5TB to copy to the array once completed, what steps need I take, if any, to ensure this transfer onto the array goes cleanly?

 

As my understanding of the cache setup is that you schedule a worker task to move the data from the cache onto the actual redundant storage overnight during normal use, does this mean I'm going to have to copy 1TB ish worth, run the worker, rinse and repeat or is there a way to just transfer the whole shebang without interruptions and just leave it to it overnight?

 

My other question is a general usability question, My understanding of how unraid works is it only spins up the drives required if you access them, basically, does this apply to metadata too? As in, if I have the share mapped as a network drive, if I go to click on it to browse the file structure, but not necessarily access files, am I going to expect some spin up time for the drives when this happens if I have them configured to spin down? Or is it smart enough to save that file structure elsewhere? 

 

Thanks all!

Link to comment

Usual recommendation is to not cache initial data load. To make those writes faster, don't install parity until initial data load is complete, then build parity at the end.

 

Keep the source data disks intact with all their contents until parity build complete. And you might keep them as backup if they aren't already backed up somewhere. You will need a backup plan, of course. Parity is not a substitute for backups.

Link to comment

You can add cache without using it for the initial data load. Each User Share has Settings which control whether and how it uses cache.

 

In any case, you should definitely have cache going before you enable Docker or VM Manager so those User Shares get created on cache.

 

https://wiki.unraid.net/Manual/Shares#Default_Shares

 

Ideally, appdata, domains, system shares should be on fast pool (cache) so Docker/VM performance isn't impacted by slower array, and so array disks can spin down since these files are always open.

 

If these aren't created on cache to begin with, it's a little more trouble to get them moved since nothing can move open files.

 

 

Link to comment
  • 2 weeks later...
On 12/27/2022 at 3:53 PM, trurl said:

  

Not clear you understand the difference between a disk and a user share (click the link). I recommend not sharing disks on the network.

 

Would you clarify your statement here please?

 

My understanding, as loose as it is, is that a share is effectively unraids method to map what is recognised by other systems as disk to a physical space on the disks themselves?

 

IE this share equals this space on these disks, and you then map that drive onto the user systems (in this case windows, so mapping a network drive)

 

My plan is to build the unraid server on a new machine, and keep my existing array in an old machine temporarily, to allow the data to be transferred onto the unraid pool, then add the old array disks to the new unraid pool once this is populated.

 

Or is this a definition thing, where a share or network share is different to a user share?

 

Thanks!

 

 

Link to comment
8 minutes ago, JonathanM said:

Did you read the link?

 

What exactly needs more explanation? It would be helpful to know what is unclear in the manual so it can be better explained.

 

OK I see the confusion now.

 

I thought he was referring to the act of sharing the space at all over the network was the issue, rather then the definition of disk shares VS user shares.

 

I gave the link a read (albeit skimming a lot of what I considered to be irrelivent to this discussion, IE the allocation method sections), and honestly, I couldn't really make much sense of the distinction until I just googled 'unraid difference between user and disk shares' where the following statement finally gave clarity:

 

Quote

An Unraid “User” share is a volume backed by Unraid's FUSE filesystem, while a “Disk” share is a volume directly backed by the disk's native filesystem.

 

The article itself even says:

 

Quote

It is sometimes important to realize that these are two different views of the same underlying file system. Every file/folder that appears under a User Share will also appear under the Disk Share for the physical drive that is storing the file/folder.

 

Which doesn't suggest there's much of a concern or reason to use either.

 

So I guess if you are looking for feedback on that article, it doesn't really give a clear definition between disk and user shares that at least, made sense to me. 

 

But to clarify the original concern I quoted, no I do not intend on using disk shares.

Link to comment

The additional material you quote doesn't really seem to clarify anything. Still not sure you get it since you think the wiki link was irrelevant.

 

The whole point of user shares is they allow folders to span disks. Did you understand that most important point when you looked at the wiki?

 

A disk is just a disk, a user share can be on multiple disks.

 

If you don't use user shares, then folders can't span disks.

 

If you also share disks over the network, then it is easier to get into trouble mixing disks and user shares. See here for an explanation of what can happen (the surprising results):

 

 

 

Link to comment
1 hour ago, trurl said:

The whole point of user shares is they allow folders to span disks. Did you understand that most important point when you looked at the wiki?

 

No, that particular page of the wiki did not lead me to that conclusion, it was the exterior summary that pointed out user shares allow unraids management that make it make sense to me.


You say: not sure you know the difference between these two shares, here read this, article says, there's two types of shares, here's what this one does, and here's what the other one is called, but doesn't explain why it's different directly to a disk share.

 

To be fair, that's maybe not the purpose of that particular page you linked but that's the source of my confusion.

 

Anyways, all is clear now so, thanks for the help :)

Link to comment
50 minutes ago, trurl said:

Early in the text at that link

 

But it's probably clearer in the Overview.

https://wiki.unraid.net/Manual/Overview#User_Shares

 

 

Again, what these articles are really good at showing is what user shares are and how they operate, they don't show the difference between them and disk shares. 

 

When you say 'disk share' within the context of unraid it sounds much more like it's a method or definition within the unraid ecosystem, it leads you to think it's something special or another method of writing to an array rather than you using what might be the common sense definition, that being simply the disk itself.

 

In this case, honestly, it was simply a definition problem, I said disk as In my application when I do the initial data load the array would consist of a single disk. I'm not at that point talking about an unraid definition (at that point I didn't even know disk shares were a thing!)

 

When it came to setting up the array I would have created a user share because that's the default behaviour and what all the 'getting stated' guides indicate you should do, when you said disk share Initially and expressed concern my immediate thought was you were advising against any kind of sharing on the network at all, hence the confusion.

Link to comment

I usually use the word "disk" when working with a disk directly on the server. It is only when a disk is shared on the network that it becomes a disk share.

 

But the "surprise" behavior when mixing them with user shares as mentioned in that other post I linked applies whether you are working with disks on the server, or disk shares on the network.

Link to comment
3 hours ago, trurl said:

I usually use the word "disk" when working with a disk directly on the server. It is only when a disk is shared on the network that it becomes a disk share.

 

But the "surprise" behavior when mixing them with user shares as mentioned in that other post I linked applies whether you are working with disks on the server, or disk shares on the network.

 

Yes I see why you felt the need to clarify, seems there's potential for some problems if you mix the two by the looks of it.

 

May I ask whilst I have your attention, my plan involves putting my entire storage onto a single disk temporarily, is it easy enough to have it distributed once all the disks are in place and the full array is built? Is there any appropriate reading for that operation?

 

Thanks!

 

 

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