Jump to content

Migrating from Truenas SCALE to UNRAID


Go to solution Solved by JorgeB,

Recommended Posts

Hi,

i've just decided to migrate from  my current Truenas SCALE to Unraid because I don't really like k3s system and find it too complex, plus I would like to have arr suite done with Unraid.

I have a mirror of two 12Tb disks with Truenas with datas I don't want to loose.

 

 

From there, is there a solution I can choose to do this migration?

Detach one disk from the mirror, format it and install Unraid on it, and then import the other disk to keep its data intact?

 

Regards.

 

Link to comment
Posted (edited)

Thanks for your help!

 

TrueNAS-SCALE-23.10.2 Cobia.

Had migrated from Truenas CORE last week, kept the pool.

 

root@truenas[~]# zpool import
no pools available to import
root@truenas[~]#

Edited by bjornz
Link to comment
8 minutes ago, bjornz said:

I've created the pool under Truenas CORE

Then it should be importable, please note that the pool won't show up under zpool import if it's already imported, if the pool is connected, post the output of

zpool status

 

Link to comment
46 minutes ago, bjornz said:

Do I need an other hard drive to install unraid?

Unraid is not installed in the way is common with many other OS.   Instead it is loaded into RAM on boot from the flash drive  and runs from there.   In that sense it is more like firmware on other systems.

 

Link to comment
Posted (edited)

Alright so I've booted on the flash drive, then at zpool import here I have :

 

root@NAS:~# zpool status
no pools available
root@NAS:~# zpool import
   pool: boot-pool
     id: 11697965585323355504
  state: ONLINE
status: Some supported features are not enabled on the pool.
        (Note that they may be intentionally disabled if the
        'compatibility' property is set.)
 action: The pool can be imported using its name or numeric identifier, though
        some features will not be available without an explicit 'zpool upgrade'.
 config:

        boot-pool                                       ONLINE
          ata-PNY_CS900_120GB_SSD_PNY21252106250101206  ONLINE

   pool: Pool1
     id: 17572593702881592873
  state: ONLINE
status: The pool was last accessed by another system.
 action: The pool can be imported using its name or numeric identifier and
        the '-f' flag.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY
 config:

        Pool1                                   ONLINE
          c279bd8f-bbae-11ee-add4-a8a159db65e9  ONLINE
root@NAS:~#

 

 

 

What should I do now to recover my truenas pool (data)?

 

Edited by bjornz
Link to comment
Posted (edited)

I just did zpool import Pool1 -f, not sure what to do now.

 

Will I loose my data if I set one of my two disks on arrays and boot the array?

 

Stuck at this point / Not sure what I do to be honest.

Capture d’écran 2024-05-16 à 15.52.25.png

Edited by bjornz
Link to comment
Posted (edited)
5 minutes ago, JorgeB said:

Then 

 

Did you export the pool? If you did import it again and post the output of the above.

in Unraid right? ^^

 

I just did :

 

Capture d’écran 2024-05-16 à 18.48.04.png

 

That's where I don't know what to do.

Put the disks into array? Or it doesn't matter now?

Edited by bjornz
Link to comment
  • Solution

Make sure the pool is exported and then see below for how to remove swap and make partition #2>#1

 

https://forums.unraid.net/topic/153274-how-to-non-irreversibly-migrate-from-truenas-core-with-zfs-to-unraid/?do=findComment&comment=1369139

 

After that go to Tools - New Config and reset the array, then assign sdb to a pool, not to the array, you also need to assign at least one data array device, you can assign the other disk or an old flash drive for example, start the array and the pool should import.

 

 

Link to comment
Posted (edited)

The only last problem is that the array device (the other disk) says it is unmountable : unsupported partition layout.

 

Should I format the unmountable disk?

Edited by bjornz
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...