Using ZFS replication to migrate FreeNAS

Status
Not open for further replies.

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
I've setup ZFS replication on my old FreeNAS box and it looks like the data is on the new box although it hasn't caught up with the snapshots yet. My question is I'm seeing the new FreeNAS drives filling up but I don't see any data. Is that normal? Also once the snapshots catch up what are my next steps to get off the old sever onto the new one?
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
My question is I'm seeing the new FreeNAS drives filling up but I don't see any data.
I'm not sure what you mean here. Where don't you see data? You should be able to go to the folder on the target that is being replicated to and see your folders and data.

After the data is transferred, setup any shares and jails just like on the original, then decide if you'd rather move the IP address from the old server to the new one, or just reconfigure your clients to use the new IP. It kinda really depends on you and your environment.
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
I'm not sure what you mean here. Where don't you see data? You should be able to go to the folder on the target that is being replicated to and see your folders and data.

After the data is transferred, setup any shares and jails just like on the original, then decide if you'd rather move the IP address from the old server to the new one, or just reconfigure your clients to use the new IP. It kinda really depends on you and your environment.
So on the target I see nothing except 1 folder that has nothing to do with replication. On the PUSH server I have Vol1 going to volume1/Rodgers. When I look at volume1/Rodgers it's empty.

dRJClOr.jpg


Code:
user@Packers:/mnt/volume1/Rodgers % df -h
Filesystem                                                  Size    Used   Avail Capacity  Mounted on
freenas-boot/ROOT/FreeNAS-9.3-STABLE-201509282017            13G    517M     13G     4%    /
devfs                                                       1.0k    1.0k      0B   100%    /dev
tmpfs                                                        32M    5.3M     26M    17%    /etc
tmpfs                                                       4.0M    8.0k      4M     0%    /mnt
tmpfs                                                       5.3G     96M    5.2G     2%    /var
freenas-boot/grub                                            13G    6.8M     13G     0%    /boot/grub
volume1                                                      10T    230k     10T     0%    /mnt/volume1
volume1/.system                                              10T    166k     10T     0%    /var/db/system
volume1/.system/cores                                        10T     19M     10T     0%    /var/db/system/cores
volume1/.system/samba4                                       10T    2.7M     10T     0%    /var/db/system/samba4
volume1/.system/syslog-5ece5c906a8f4df886779fae5cade8a5      10T    2.4M     10T     0%    /var/db/system/syslog-5ece5c906a8f4df886779fae5cade8a5
volume1/.system/rrd-5ece5c906a8f4df886779fae5cade8a5         10T    153k     10T     0%    /var/db/system/rrd-5ece5c906a8f4df886779fae5cade8a5
volume1/.system/configs-5ece5c906a8f4df886779fae5cade8a5     10T    1.3M     10T     0%    /var/db/system/configs-5ece5c906a8f4df886779fae5cade8a5


Code:
user@Packers:/mnt/volume1/Rodgers % ll
total 15
drwxrwxr-x+ 3 user  wheel   3 Oct  8 17:54 ./
drwxrwxr-x+ 3 user  wheel   4 Oct  8 17:53 ../
drwxrwxr-x+ 2 user  wheel  12 Oct  5 23:38 user/
user@Packers:/mnt/volume1/Rodgers %
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Is the "user" folder under "Rogers" something you created manually? If the dataset location for the replication target isn't empty, it will (or should) fail. Can you run du -h from /mnt/volume1/Rogers

PS-I like the naming convention and avatar. :smile:
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
Is the "user" folder under "Rogers" something you created manually? If the dataset location for the replication target isn't empty, it will (or should) fail. Can you run du -h from /mnt/volume1/Rogers

PS-I like the naming convention and avatar. :)
Thanks! GO PACK GO!

The user folder is the home folder for the user I created. I changed the replication to a new empty dataset I created.
Code:
user@Packers:/mnt/volume1/Rodgers % du -h
83k    ./user
84k    .
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
I ditched ZFS replication for RSYNC. I was just having issues with ZFS replication and I'm familiar with RSYNC.
 
Status
Not open for further replies.
Top