Root dataset permissions cannot be edited

lyle

Contributor
Joined
Jul 30, 2013
Messages
123
Hi, there. I recently upgraded to TrueNAS 12 along with all the jails. I then came to realize that I was storing the data on one of my pools in the root directory, so now I have a big problem. Unfortunately I have zero knowledge about using the CLI (haven't needed to learn with the lovely web interface) and I'm even worse understanding the linux password commands (chmod, what now?).

The pool is 2.4TB and it says my data is using 1.1TB of this. So I was thinking that I could create a dataset in this pool 1.2TB in size, then move the data from the root to the new dataset (I can handle the "mv /mnt/etc" command in the Shell).

Would that work?

After the data is moved, can I then expand the dataset to access all of the pool?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Datasets don't need to be limited in size, just create your dataset and move the contents.

Make sure you destroy any snapshots or the consumed space will remain in the root until they expire or are destroyed manually).

Use rsync -auv /mnt/pool/directory /mnt/pool/dataset to do the job, it will save you the permissions headaches.
 

lyle

Contributor
Joined
Jul 30, 2013
Messages
123
It worked! Whew. Thanks!
 
Top