So I saw a sale on some 8TB HGST drives and I just had to get a couple more. Now that I purchased them I started to rethink my setup. Commands is my major weakness, but trying to learn. This is what I want to do. I have a lot of data which I want to move to another pool/dataset
My setup currently
pool A - /mnt/pool
I know, in TrueNAS you cannot have this I came from FreeNAS, but this is what I want to do to make things right. So the structure is
/mnt/pool then several folders (2 are folders with files in them and then 2 folders have more folders in them). I think one folder structure is
/mnt/pool/Folder > Folder > Folders and files while another is /mnt/pool/Folder > files
So if I can "mv" the second folder then all data goes too and for the latter just moving the first folder.
I am going to connect some more drives (I have some laying around that are still good); create a pool with them and then add a dataset so
pool B - /mnt/pool/dataset
Both pools will be in one TrueNAS system.
Then I want to do a "mv" from pool A that has folders with files in them to the new pool B just for temporary storage. This is where I have no clue on what the command would be in the shell. I have done "mv" within a pool in the past, but not from one pool to another. This is where I need help.
Then I want to destroy pool A (I read how to do this) and then add my new drives to the ones that are not even 1 year old. Then create a new pool A the right way; /mnt/pool/dataset.
Then I need to "mv" back to the new pool A from pool B. Here I need help with commands again.
Can someone walk me through this process? I do like the "mv" just because the data is copied first and then when done it then deletes the data from the source. Or "cp" I guess. I also read here that some guy had an issue and he used the tool WinSCP, would that be easier? Looking for suggestions for someone who does not know the command lines very well, but willing to learn.
An early thank you and look forward to this project.
My setup currently
pool A - /mnt/pool
I know, in TrueNAS you cannot have this I came from FreeNAS, but this is what I want to do to make things right. So the structure is
/mnt/pool then several folders (2 are folders with files in them and then 2 folders have more folders in them). I think one folder structure is
/mnt/pool/Folder > Folder > Folders and files while another is /mnt/pool/Folder > files
So if I can "mv" the second folder then all data goes too and for the latter just moving the first folder.
I am going to connect some more drives (I have some laying around that are still good); create a pool with them and then add a dataset so
pool B - /mnt/pool/dataset
Both pools will be in one TrueNAS system.
Then I want to do a "mv" from pool A that has folders with files in them to the new pool B just for temporary storage. This is where I have no clue on what the command would be in the shell. I have done "mv" within a pool in the past, but not from one pool to another. This is where I need help.
Then I want to destroy pool A (I read how to do this) and then add my new drives to the ones that are not even 1 year old. Then create a new pool A the right way; /mnt/pool/dataset.
Then I need to "mv" back to the new pool A from pool B. Here I need help with commands again.
Can someone walk me through this process? I do like the "mv" just because the data is copied first and then when done it then deletes the data from the source. Or "cp" I guess. I also read here that some guy had an issue and he used the tool WinSCP, would that be easier? Looking for suggestions for someone who does not know the command lines very well, but willing to learn.
An early thank you and look forward to this project.