Jump to content

Truenas to unraid


Recommended Posts

Posted

Good afternoon, I am a truenas user and honestly it seems unraid has a lot more of what I was looking for in a nas setup. So since I already have data on my nas and unraid (beta?) supports zfs stuff. Am I able to safely just import over my pools? Do I need to do anything to avoid data loss in the process?

Posted

Depends on how the pool was created, if there are swap partitions, default with older TrueNAS releases, you would need to manually remove them for now, post the output from:

 

zpool status -LP

 

Posted
5 minutes ago, JorgeB said:

Depends on how the pool was created, if there are swap partitions, default with older TrueNAS releases, you would need to manually remove them for now, post the output from:

 

zpool status -LP

 

 

Here is an image from it.

root@truenas [/]# zpool status -LP
  pool: boot-pool
 state: ONLINE
 scan: scrub repaired 0B in 00:00:07 with 0 errors on Thu Nov 7 03:45:09 2024
config:

	NAME        STATE     READ WRITE CKSUM
	boot-pool  ONLINE       0     0     0
	  /dev/sda3  ONLINE       0     0     0

errors: No known data errors

  pool: truenas
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
	The pool can still be used, but some features are unavailable.
action: Enable  
 all features using 'zpool upgrade'. Once this is done,
	the pool may no longer be accessible by software that does not support  

	the features. See zpool-features(7) for details.
 scan: scrub repaired  
 0B in 16:39:49 with 0 errors on Sun Nov 3 15:39:51 2024
config:

	NAME        STATE     READ WRITE CKSUM
	truenas     ONLINE       0     0     0
	  raidz1-0  ONLINE       0     0     0
	    /dev/sdb2  ONLINE       0     0     0
	    /dev/sdc2  ONLINE       0     0     0
	    /dev/sdd2  ONLINE       0     0     0
	    /dev/sde2  ONLINE       0     0     0
	    /dev/sdg2  ONLINE       0     0     0
	    /dev/sdf2  ONLINE       0     0     0
	    /dev/sdh2  ONLINE       0     0     0
	    /dev/sdi2  ONLINE       0     0     0
	    /dev/sdj2  ONLINE       0     0     0

errors: No known data errors

root@truenas [/]# 

 

Screenshot 2024-11-12 122040.png

Posted

The pool is using partition #2 for zfs, swap will be using #1, in the future Unraid should support importing those pools, but not at the moment, you would need to manually correct that, note that doing will not prevent the pool from working with TrueNAS if you decided to go back:

 

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

 

Posted (edited)
4 hours ago, JorgeB said:

The pool is using partition #2 for zfs, swap will be using #1, in the future Unraid should support importing those pools, but not at the moment, you would need to manually correct that, note that doing will not prevent the pool from working with TrueNAS if you decided to go back:

 

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

 

 

Thanks mate, going to try it now. I got it working in proxmox so I just need to clean the drives and pass the hba over and well hopefully awesome happens. I don't see a pool import button, did I miss something?

Edited by Riffy
Posted

I booted my TrueNAS server, exported my ZFS pool with "zpool export Poolname", booted the server with an Unraid Stick (7.0.2beta) and did a "zpool import Poolname". Worked like intended and did nothing to the pool, it's still usable when I boot the server with TrueNAS.

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