Riffy Posted November 12 Posted November 12 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? Quote
JorgeB Posted November 12 Posted November 12 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 Quote
Riffy Posted November 12 Author Posted November 12 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 [/]# Quote
JorgeB Posted November 12 Posted November 12 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 Quote
Riffy Posted November 12 Author Posted November 12 (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 November 12 by Riffy Quote
JorgeB Posted November 13 Posted November 13 To import a pool with Unraid you must add a new pool using the GUI, assign all the existing pool devices, then start the array and it will import it. Quote
HerrRossi Posted November 15 Posted November 15 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. Quote
JorgeB Posted November 15 Posted November 15 A manual import will always work, just not with the GUI if ZFS is on partition #2 Quote
HerrRossi Posted November 15 Posted November 15 Yeah sure, this has to be done in the terminal. Quote
Recommended Posts
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.