How to copy pool to new disks and use on a new TN13 server

profwalken

Patron
Joined
Nov 19, 2013
Messages
410
Hi,
I have a small TN13 server with only 2*2TB disks in mirror , my goal is to change to a more powerfull server and copy all the pool on a mirrored 2*2TB new disks.

How is the best way to do this ? just take one drive from old server pool and connecte it to new server and then rebuild mirror with one new drive ? and once is ended with the first disk restart with the second one ?
 

jlpellet

Patron
Joined
Mar 21, 2012
Messages
287
Easiest way, imo, is simpl;y more the current disks to the new server & import the pool. Also, could save config, move disks to new server, then upload config. Copies all setting/etc. If you are looking to end up with 2 servers, given the small amount of data, assuming GB network, could set up new server & pool then use a network connection to copy the files, even Windows. Good luck.
John
 

profwalken

Patron
Joined
Nov 19, 2013
Messages
410
Hi John,
Thanks for your advice, my goal is to change and increase server hardware power and copy content of pool, on new disks, as the existing used in prod have 7 years .
Actually server A is a I3, 8GB and mirror of 2*2TB
Goal is Server B HP with Xeon E3-1246 with 32Gb ECC RAM and 2*2TB Seagate ironwolf and a mirrored boot too, on 120 GB SSDs.

I have restored a config file to setup new server as the old one, now I need to transfer most impotant users Data.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
zfs send and receive via SSH ... you can even do it in the UI. Look for Replication Tasks.
 

profwalken

Patron
Joined
Nov 19, 2013
Messages
410
So if i connect old disks on new server I will have instantly pool , but how to replicate pool on these new disks.
At the end I want old pool copied on new disks, that's all
Is my initial idea not enough good ?
zfs send and receive via SSH ... you can even do it in the UI. Look for Replication Tasks.
This seems too complicated to me as i'm not enough sure of what to set each side to get the result
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
if you move the disks to the new machine temporarily you can still use zfs send and receive. This is the fastest and most consistent way. The data is guaranteed correct when the job is finished.
 

profwalken

Patron
Joined
Nov 19, 2013
Messages
410
ZFS send and receive, is this command lines or choice to apply in GUI console ?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
For a one time operation it's command line. You can define a local replication task, though, and remove it once it's run to completion the first time.
 

profwalken

Patron
Joined
Nov 19, 2013
Messages
410
I've no idea what could be a command line to do this , so it will be with my modest knowledge in GUI
 
Top