Move old pool on 2 drives to new pool on 2 drives, easiest method

I have an old pool based on two mirrored drives. These drives were in a flood where the TrueNAS mini was destroyed. I have installed a new TrueNAS mini, put the drives in, and it is working. I was given the advice to get new drives and move the data to them as the old drives could still fail.

I have the two new drives, they are in place. I already created a new pool, although I am open to undoing that if it helps (it is currently unused). I have no snapshots on the original. As far as I know, there are no other possible complications for moving the data.

What I need now is a map to move forward, recommendations on what to do. The old drives may, actually, be fine. I would want the data on the new drives, and to have all of the original mappings and permissions assigned there. Once that is done, how should I proceed with the old drives? Is there a way to remap the original drives to use the new drives as mirrors? Would that be recommended? I am ready to move on, as soon as I have a plan that I can enact. I found a previous topic on this, and it looked like it might be beyond my expertise on the use of TrueNAS.

Any help will be appreciated!

For safety, you should have some periodic snapshots. And preferably some replication strategy to another NAS.
And periodic SMART tests. Etc.

So you have a mirrored pool, and enough ports in your new NAS to plug all drives at the same time.

Easiest:
Destroy your new (empty!) pool.
Go to Storage > Pool > Status.
Select the first drive in your old pool and “Replace” it with a new drive.
Repeat with the second drive.
done

1 Like

I love the simplicity of the solution :slight_smile:

I do not see an option to destroy the pool, how is that done?

The original drives are 3.5" and the new drives are 2.5", they are also different technologies. If your advice remains the same (IE mount the 2.5" in the 3.5" drawer) then how do I check when the replication on a replaced drive is completed?

Storage > Pool > Status, and then Export/Disconnect… and you tick the fateful checkbox to wipe the disks. :scream:

As long as you can mount more than two drives at a time, the advice remains the same, and ZFS will automatically offline the old drives when the transfer is complete.

I was able to destroy the new pool. I do not see the option to remove a drive from Tank.

for Tank the options are:
Add Dataset
Add ZVol
Edit Options
Edit Permissions (grayed out)
User Quotas
Group Quotas
Create Snapshot

Under tank I see:
iocage
NASD

For each, all of the options are the same as listed above, except that none are grayed out.

The settings icon for NASD (the old pool) shows:
Pool Options
Export/Disconnect
Add Vdevs
Scrub Pool
Status
Expand Pool
Upgrade Pool

I do not see individual drives listed under the pool

Storage > Pool > Status, then select a drive
Remove is under the 3-dot menu in CORE.

1 Like

I was able to remove one of the original drives. I then discovered that I cannot use the new drives to replace the original as they are slightly different sizes, and it says this is not allowed. Now, when I try to add the original drive I removed, back to the pool, it wants to stripe it instead of going back to mirrored.

At this point, I need to know how to get my original mirrored pair back, then get it to work the same on a new pool with the two new drives, then switch to using the new pool.

Storage > Pool > Status > (drive) > Extend to add a mirrored drive.

You’re doing something wrong, but are not providing enough details to understand what.
Please read the documentation carefully.

I did some Google searches. I was able to add one of the new drives, to the original pool, as a mirrored drive (mirrored pool). How can I tell when I the new drive is a complete mirror? I assume I need to wait for it to “catch up” before trying to replace the other original drive with the other new drive.