Import a disk from an OLD Truenas to a new one.

Z_Ema_46

Cadet
Joined
Oct 12, 2022
Messages
6
Hello guys,
I have got a question for you all ProModeLike Truenas users.
I got two system running aside and now is time for the old one to be turn off.
I need to import a stripe pool (1x1TB HDD) to the new system but, before i do it, i wanted to know if importing that pool will import also the user and relative permissions (cause i need them to be imported too) .
I'm sorry for my english but i came from the pizzapastamandolino country :)
Thank you all for reply me :smile::smile::smile:
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
The ACLs will be preserved. But there is a catch: they are saved in the filesystem in numerical fashion. Each user on a Unix system has got a numerical user ID and a numerical primary group ID. Possibly some more secondary group IDs, also numerical.

So if user "patrick" has got ID 1001 on the old system and when you created the user accounts you did not create them in the exact same order, so on the new system "patrick" has got ID 1002 - then the permissions will not work correctly.

Try pw user show -a on both systems, old and new, to see if they match.

if your users come from a central directory like Active Directory, you should be fine. If you created them manually, expect inconsistencies.
 

c77dk

Patron
Joined
Nov 27, 2019
Messages
468
How old is the "old" system? just wanting to be sure it's not from the UFS era :smile:
 

Z_Ema_46

Cadet
Joined
Oct 12, 2022
Messages
6
The ACLs will be preserved. But there is a catch: they are saved in the filesystem in numerical fashion. Each user on a Unix system has got a numerical user ID and a numerical primary group ID. Possibly some more secondary group IDs, also numerical.

So if user "patrick" has got ID 1001 on the old system and when you created the user accounts you did not create them in the exact same order, so on the new system "patrick" has got ID 1002 - then the permissions will not work correctly.

Try pw user show -a on both systems, old and new, to see if they match.

if your users come from a central directory like Active Directory, you should be fine. If you created them manually, expect inconsistencies.
Uhm,
Thank you for the reply.
I kinda understood what you say.
I'll have a try expecting some inconsistencies.... :(
 

Z_Ema_46

Cadet
Joined
Oct 12, 2022
Messages
6
How old is the "old" system? just wanting to be sure it's not from the UFS era :smile:
It actually isn't that bad.. i made it 4 months ago.
It was my first attempt to TrueNAS world! It's like a Frankestein pc.. Bad components for a NAS infact is dying slowly xD
 
Top