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

Hello everyone!

 

I took quite some time to read up information on unRAID within the last couple days and I'm 100% sure that this is the product for me. For this reason, I just bought the Pro version of unRAID and I'm more or less ready to migrate from TrueNAS SCALE to it.

 

My usecase:

  • Serve files to the local network
  • Create scheduled, encrypted backups of an important part of this data to 2 separate cloud providers at night (using Duplicati)
  • Media server (using Jellyfin)
  • Password storage (using Vaultwarden)
  • etc.

 

I'm using a pretty old platform for this:

  • AMD FX-8320E (4 cores, 8 threads)
  • 24 GB RAM
  • 4x 10 TB SAS-HDDs connected through a RAID controller in IT mode
  • 5 SSDs of varying size for things like docker containers, VMs, cache, etc.
  • NVIDIA GeForce GTX 1050 Ti

 

I used to run all my stuff bare-metal (and later virtualized on Proxmox) on a rackmounted server, which was quite a lot beefier, but used a lot more power and it also sounded like a jet engine, so only recently, I repurposed this old hardware that I had laying around to check out TrueNAS SCALE, which works fine, but has some features that I just don't need or like for my scenario (for instance K3s or ZFS).

 

I'm planning to purchase new hardware at some point, especially to be able to lower power consumption significantly, but for now, this works.

 

I prefer standard Docker and I'd also like to use a file system that doesn't claim huge amounts of my RAM for caching purposes. I'm aware of the performance and data safety benefits of ZFS, but I'd still like to move to unRAID's XFS approach, even if it's slower.

 

So here's my actual question:

Can I somehow migrate my data (roughly ~12 TB) off my RAID-Z2 to XFS without having to acquire more drives to temporarily copy my stuff over to? I'm not that knowledgable when it comes to ZFS, so I figured I'll just ask here before looking for a temporary storage medium for my data migration.

 

Thank you very much for your time!

 

Regards,

- NH

Edited by NettoHikari
I used TrueNAS SCALE and not CORE

Solved by Vr2Io

  • Author

Just adding to my question here...

 

Given that my most important files are safely backed up off-site, could I just do the following to migrate my data away from RAID-Z2?

 

1. Take one drive offline and mark as faulted, purposefully degrading the pool:

zpool offline -f poolname disk-identifier

 

2. Use fdisk (or similar tool) to create a fresh partition table on that disk.

 

3. Create a temporary file system on that disk to copy everything over there without redundancy (again, it'd be nice to have the data migrated, but it's not vital).

 

4. Destroy the pool.

 

5. Install unRAID.

 

6. Create new Array.

 

7. Copy data over there.

 

8. Format the drive again and add it to the array.

  • Solution

As you have RAID-Z2 pool, so it allow two disk failure / missing, and you have 12TB data which can't fit in one 10TB disk.

 

You shouldn't destroy the RAID-Z2 pool, just cleanup two disk under Unraid and format it, then boot back TrueNAS and confirm it can mount both, then copy all data to those disks.

Edited by Vr2Io

  • Author

Thank you very much. That's exactly what I ended up doing. The migration is currently running.

  • Author

Just chiming in again to say that this worked flawlessly. All data is intact and I'm very happy with unRAID.

  • 3 months later...

Hello, new to unraid and swapping from Truenas. How do i cleanup two disk under Unraid and format it?

  • Community Expert
12 hours ago, Skysec said:

How do i cleanup two disk under Unraid and format it?

You can just assign them to the array or a new pool and re-format them.

  • 4 months later...

Maybe this is a stupid question ....

I am in the process of migrating my zfs datasets and so far it works nicely but I am reaching a point that my 1 drive is exactly what I want it to be on unraid.

 

Can I simply unplug it from my scale system and assign it as a zfs pool in unraid?I would think there shouldn't be any issues with that....

  • Community Expert
6 minutes ago, bar1 said:

Can I simply unplug it from my scale system and assign it as a zfs pool in unraid?

Depends on the layout, post the output of:

zpool status -LP

 

Scale:

  pool: Bar1-18TB
 state: ONLINE
  scan: scrub repaired 0B in 12:59:58 with 0 errors on Sun Jul 21 13:00:00 2024
config:

        NAME         STATE     READ WRITE CKSUM
        Bar1-18TB    ONLINE       0     0     0
          /dev/sdb2  ONLINE       0     0     0

 

Unraid:

  pool: bar1-u-20tb
 state: ONLINE
config:

        NAME           STATE     READ WRITE CKSUM
        bar1-u-20tb    ONLINE       0     0     0
          raidz1-0     ONLINE       0     0     0
            /dev/sdg1  ONLINE       0     0     0
            /dev/sdh1  ONLINE       0     0     0
            /dev/sdi1  ONLINE       0     0     0

errors: No known data errors

The 18TB on scale should be a separate pool,that I will be using for backups, snapshots, ect.

I

U 20 is already on unraid (I wasn't clear on where to run the command so I run it on both unraid and scale)

I will check the link thanks.

Looks a bit risky....

I am  on the latest beta 2, are the steps still the same?

  • Community Expert
48 minutes ago, bar1 said:

are the steps still the same?

Yep, and should be safe, me and other users have already done it.

 

 

I have some zvol, Iscsi, will unraid detect it ok?

  • Community Expert

Should be fine as long as you use it manually, since there's no GUI support for zvols.

Yeah! working nicely...thank you!

Small issue though.....it's not imported properly, keeps on coming up as "unassigned device " after a reboot.

I think I need to change the mount point....

I am getting this:

Disk Label: Bar1-18TB

Changing the Mount Point will also change the disk label on all disks and the pool name on a ZFS disk.

 

Is it safe to do?

Edited by bar1

  • Community Expert
1 hour ago, bar1 said:

it's not imported properly, keeps on coming up as "unassigned device " after a reboot

This you assign the pool in the GUI, you must let Unraid mount it, not use zpool import.

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.