Moving data from root Dataset to child dataset

chrisk2305

Dabbler
Joined
Feb 5, 2018
Messages
18
Hi,

I just imported a rather large pool from another linux station to my TrueNAS Scale VM.

All the data resides in the top level dataset. I am unable to share this via SMB.

It seems I have to create a child dataset to make that work. How can I quickly move the data from the root dataset to the child dataset?

Any help is much appreciated, as I need to access my files asap.

Thanks
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Unfortunately not--a dataset is treated as a separate filesystem, so "moving" data really is a matter of "copy, then remove the original." That's somewhat hidden--you can use mv to do it--but it still happens and requires all the i/o on the disks.

You might want to run mc in a tmux session to avoid inadvertent disconnection.
 
Top