Need to replace main drive, no encryption, with my apps, data, and permissions

I setup a simple TrueNAS computer (first time doing this) that has the following:

  1. Mvme drive for boot/OS
  2. 8 TB SATA - Pool1 - (started here, but now it has a physically broken SATA connector - it still works but I NEED TO REPLACE). Most of my apps and data reside on this drive which is 85% full
  3. 16 TB SATA - Pool2 - other storage and SMB shares for Win 10 connection - 12% used
  4. 28 TB SATA - Disk28A - other storage and SMB shares for Win 10
  5. 16 TB SATA - Pool3 - new drive I added to hopefully move all data/apps/permissions from Pool1 so I can replace and remove Pool1 while it still works.

I don’t use any mirroring, all drives are single stripe disks with no encryption. I might later try to mirror disks but right now I simply want to move everything on Pool1 (8 TB SATA) to Pool3 (the new 16 TB SATA) and keep my apps working. I’m unsure on how to do this as simply as possible.

I am running 3 apps (all installed on the Pool1 drive that I need to replace)

  1. immich
  2. jellyfin
  3. tailscale

I know how to “Manage Configuration” and “Download File” to save the TrueNAS configuration. Again, there is a Nvme 2 TB drive that holds the boot OS. The apps and data are all on Pool1 drive. I don’t understand the best way to simply move Pool1 to Pool3 and have the apps, data, and permissions moved over to Pool3 drive. I do NOT use drive encryption and every drive is single striped.

From my understanding you’d normally make a snapshot (which would be stored on the same drive) and then use replication to copy it to the new Pool3 drive, but that is not possible because Pool1 drive is 85% full.

Is there a way to do this? No encryption, single striped drives.

If you have enough disk ports, just do an in place replacement of the 8TB with your 16TB. It will report only 8TB after but you will just have to intervene and do, I think, the expand option, in the GUI. Check the documentation for details or search for forum post about that issue.

You didn’t mention if you were on TrueNAS Core or Scale or the version number so I don’t know if the auto expansion feature will work or requires GUI intervention.

If you have any questions on the documents, just post

1 Like

My drive has not yet failed, its just the SATA adapter is broken, but it still works. From what I’ve been reading, I can just “replace” the drive using a new, larger drive (8 TB to a 16TB drive I already installed). Since the drives are not set up in a raid, it should be a 1 to 1 swap. That’s all I want to do, but I want my data, apps, and permissions to be all in place and working on the new drive. Will a simple “replace” do that? I’m using 25.04 fangtooth community edition. Since the old 8TB drive still works, can I leave it “online” when I “replace”?

It should work and you not only can but absolutely need to leave the old drive in place while it is replaced.

Consider adding some redundancy to your pools before disaster strucks…

3 Likes

It worked. After choosing “replace” it “resilvered” to the new replacement drive. I shutdown the computer, unconnected the old 8TB drive, and re-booted the TrueNAS system, and everything came up with Pool1 running correctly on the new 16TB drive. The only problem is… I still only show 8TB on the new 16TB drive. I thought I could “extend” to add the rest of the space on the 16TB drive (I want to add it to the same drive/pool/dataVDEV). But when I click “extend” there is nothing in the drop down available. There is “Extend”, “Remove”, and “Offline”. How do I enlarge Pool1 now that the drive has an extra 8TB of unused storage without destroying the original data placed there when resilvering? I’ve been doing all this through the graphic user interface.

The “Expand” button you’re looking for is at pool level in the “Storage Dashboard” view, not at device level in the “Manage Devices” view. (It is, of course, not confusing at all to have buttons with the same label at different levels and which do different things… :roll_eyes:)

2 Likes