xmgx01 Posted March 17 Share Posted March 17 (edited) Hi! I've been doing a ton of reading over the past few days and was able to import my TrueNAS created zfs pool on 6.12.8 just fine via the command line. All of my data is viewable from command line under /naspool ... but unfortunately I'm a "zfs on partition 2" guy and I haven't had the nerve yet to go and edit my partition tables with fdisk. My question is -- any way to actually use this pool? It's definitely mounted / healthy and data all there, but there's no trace of it in the WebUI. I've tried creating a pool in the WebUI with the same name, assigning the devices, choosing "auto" for the filesystem, but it always just gives me the unsupported errors - certainly due to the partitioning. Is there some way to use it without repartitioning - since it does seem to be mounted and accessible... I just can't figure out how to actually create any shares from it, etc. Thanks! Edited March 17 by xmgx01 Added image Quote Link to comment
Kilrah Posted March 17 Share Posted March 17 Supposedly the ability to import those will come in a future version but AFAIK for now there's no option but to wipe and recreate from scratch. Quote Link to comment
xmgx01 Posted March 17 Author Share Posted March 17 7 minutes ago, Kilrah said: Supposedly the ability to import those will come in a future version but AFAIK for now there's no option but to wipe and recreate from scratch. There is this, but I haven't had the nerve to try it yet... Quote Link to comment
Solution JorgeB Posted March 17 Solution Share Posted March 17 1 hour ago, xmgx01 said: but I haven't had the nerve to try it yet... Should be perfectly safe, if you follow the steps correctly, I did it with my TrueNAS CORE pool, just for testing, since I want to keep TrueNAS on this server, booted with an Unraid flash drive, pool before the changes: pool: tank id: 11986576849467638030 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: tank ONLINE raidz3-0 ONLINE sdk2 ONLINE sdg2 ONLINE sdc2 ONLINE sdd2 ONLINE sdf2 ONLINE sdi2 ONLINE sde2 ONLINE sdh2 ONLINE sdm2 ONLINE sdj2 ONLINE sdl2 ONLINE After running fdisk on each device to delete parttion1 and make partition2 > partition1: pool: tank id: 11986576849467638030 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: tank ONLINE raidz3-0 ONLINE sdk1 ONLINE sdg1 ONLINE sdc1 ONLINE sdd1 ONLINE sdf1 ONLINE sdi1 ONLINE sde1 ONLINE sdh1 ONLINE sdm1 ONLINE sdj1 ONLINE sdl1 ONLINE After doing this, the pool imported normally with Unraid 6.12.8: Rebooted the server and booted TrueNAS, pool imported as if nothing changed: Quote Link to comment
xmgx01 Posted March 17 Author Share Posted March 17 OK - I did this. It worked perfectly, no issues. zpool imported fine in GUI, datasets showed up as shares automatically, etc. Just had to export and assign r/w permissions and it was working in no time. Thanks! 1 Quote Link to comment
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.