I want to migrate my Truenas Mini to new Hardware , but leave the drives with the old system.

Rob Granger

Dabbler
Joined
May 12, 2015
Messages
23
I have a truenas mini, 4 drives w/ raidz. I will be moving to 6 drives with raidz+2. When I create the new system. Do I reload my saved config first or create the Pool first and then restore the config. I was thinking that I could build the new sever, setup the /mnt/tank pool and then sync the contents over. I won't have enough sata connections to have the boot drive, and 6 data drives and the 4 old drives connected to the new box.

Rob Granger
Breaking more things by 8am than most people break all day.
I think I setup a signature with system info, but... first time posting in years and years.
 

Rob Granger

Dabbler
Joined
May 12, 2015
Messages
23
I solved part of my drive issue: bought an Icy Dock 6 drive cage that I have connected to the old system.
I have started copying the old pool "tank" to the new pool "new-tank"
Once this completes how do I keep the new pool current until I am ready to move the cage to the new server?
I have tried several replication jobs, but I seem to keep screwing the pooch (failures below)
I don't need to keep it in an ongoing state of being current, just wanted to seed the process so that I can freshen up the pool before moving it over.
Thanks in advance,

root@freenas:/mnt # zfs send -vv -R tank@tank-hourly-2023-11-13_13-00-2m | zfs receive -F new-tank total estimated size is 4.15T TIME SENT SNAPSHOT tank/vmparallels@auto-2023-01-03_19-14 13:04:51 122M tank/vmparallels@auto-2023-01-03_19-14 13:04:52 249M tank/vmparallels@auto-2023-01-03_19-14 13:04:53 518M tank/vmparallels@auto-2023-01-03_19-14 13:04:54 799M tank/vmparallels@auto-2023-01-03_19-14 13:04:55 1015M tank/vmparallels@auto-2023-01-03_19-14 13:04:56 1.19G tank/vmparallels@auto-2023-01-03_19-14 13:04:57 1.42G tank/vmparallels@auto-2023-01-03_19-14 13:04:58 1.68G tank/vmparallels@auto-2023-01-03_19-14 ...

new-tank 158G 6.68T 264K /mnt/new-tank new-tank/vmparallels 158G 6.68T 158G /mnt/new-tank/vmparallels tank 3.02T 2.12T 203K /mnt/tank tank/backup 140K 2.12T 140K /mnt/tank/backup tank/depot 1.36T 2.12T 1.36T /mnt/tank/depot tank/iocage 4.23G 2.12T 10.9M /mnt/tank/iocage tank/iocage/download 402M 2.12T 140K /mnt/tank/iocage/download tank/iocage/download/12.2-RELEASE 402M 2.12T 402M /mnt/tank/iocage/download/12.2-RELEASE tank/iocage/images 140K 2.12T 140K /mnt/tank/iocage/images tank/iocage/jails 2.13G 2.12T 140K /mnt/tank/iocage/jails tank/iocage/jails/plex 2.13G 2.12T 459K /mnt/tank/iocage/jails/plex tank/iocage/jails/plex/root 2.13G 2.12T 2.08G /mnt/tank/iocage/jails/plex/root tank/iocage/log 145K 2.12T 145K /mnt/tank/iocage/log tank/iocage/releases 1.69G 2.12T 140K /mnt/tank/iocage/releases tank/iocage/releases/12.2-RELEASE 1.69G 2.12T 140K /mnt/tank/iocage/releases/12.2-RELEASE tank/iocage/releases/12.2-RELEASE/root 1.69G 2.12T 1.69G /mnt/tank/iocage/releases/12.2-RELEASE/root tank/iocage/templates 140K 2.12T 140K /mnt/tank/iocage/templates tank/media 165G 2.12T 164G /mnt/tank/media tank/plex_media 59.1G 2.12T 59.1G /mnt/tank/plex_media tank/vmparallels 678G 2.12T 661G /mnt/tank/vmparallels tank/vmprod 655G 2.12T 622G /mnt/tank/vmprod tank/vmtest 129G 2.12T 129G /mnt/tank/vmtest
Once this completes how do I keep the new pool current until I am ready to move the cage to the new server?
I have tried several replication jobs, but I seem to keep screwing the pooch


New alert:
* Replication "tank -> new-tank" failed: cannot unmount '/mnt/new-tank': pool or dataset is busy
warning: cannot send 'tank@tank-hourly-2023-11-13_10-00-2m': signal received..

The following alert has been cleared:
* Replication "tank -> new-tank" failed: Target dataset 'new-tank' does not have snapshots but has data (e.g. 'STORAGE' and replication from scratch is not allowed. Refusing to overwrite existing data..

Current alerts:
* Replication "tank -> new-tank" failed: cannot unmount '/mnt/new-tank': pool or dataset is busy
warning: cannot send 'tank@tank-hourly-2023-11-13_10-00-2m': signal received..
 
Top