Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Migrating from Truenas SCALE to UNRAID

Featured Replies

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.

 

Solved by JorgeB

  • Community Expert

Depending on the TrueNAS release you were running/pool was created, you may be able to import the pool directly, post the output of:

zpool import

 

 

 

  • Author

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

  • Community Expert

If the pool was created with Cobia it won't be importable with v6.12, only with v6.13, but it should still show up under 'zpool import', assuming it's connected.

  • Author

OK. I've created the pool under Truenas CORE, not SCALE Cobia.

I wonder if I should detach the first disk drive from mirror, format it with Unraid and import the second one in Unraid.

  • Community Expert
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

 

  • Author

Do I need an other hard drive to install unraid?

My disk drive under truenas scale contains the pool, right?

  • Community Expert

You can just boot Unraid with the flash drive and if the pool is connected it will show up and zpool import.

  • Community Expert
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.

 

  • Author

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

  • Author

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

  • Community Expert

Didn't you say that you had a mirror?

 

Post the output of 

zpool status -LP

 

  • Community Expert

And don't format anything, Unraid will not delete any existing pool unless you format it (or assign a disk to parity)

  • Author
root@NAS:~# zpool status -LP
no pools available

 

  • Community Expert

Then 

3 hours ago, bjornz said:

I just did zpool import Pool1 -f,

 

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

  • Author
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

  • Community Expert
2 minutes ago, bjornz said:

Or it doesn't matter now?

It doesn't matter for now, import the pool manually with -f and post the output of zpool status -LP

  • Author

Ok I did a mistake with the name of the pool, which I changed earlier in the day.

With "toto" :

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

  • Community Expert

OK, now export the pool with zpool export toto and post the output of:

 

fdisk -l /dev/sdb

 

Looks like the is a swap partition, you will need to remove it first, I'll post a link.

  • Author

Yes.

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

  • Community Expert
  • 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.

 

 

  • Author

I delete partition number one right? Don't want to loose on such mistake...

  • Community Expert

Yes, you delete the small swap partition (#1)

  • Author

Ok it is loading, I think it is doing the job.

Yes, it worked perfectly. Thank you!!!

  • Author

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

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.