This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

ZFS and rsync

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
dnar
Starter
Starter
Posts: 65
Joined: 27 Apr 2013 10:38
Location: Perth Australia
Status: Offline

ZFS and rsync

Post by dnar »

I just wanted to ask if my current method of syncing pools across N4F servers is ok.

On one server I have an rsync module configured for an entire pool /mnt/MyPool. On the other I perform a daily client sync to an identical pool name. This has been working fine for years, but I have never been sure if I should do this or instead rsync each dataset.... The only down side I can see is that when adding a new dataset I must do the same on both servers.

My zfs:

Code: Select all

$ zfs list
NAME            USED  AVAIL  REFER  MOUNTPOINT
MyPool         1.41T  2.57T  47.7K  /mnt/MyPool
MyPool/alex    44.7G  1.46T  44.7G  /mnt/MyPool/alex
MyPool/backup  73.3G  2.57T  73.3G  /mnt/MyPool/backup
MyPool/helen   47.7K   200G  47.7K  /mnt/MyPool/helen
MyPool/media   1.27T  2.57T  1.27T  /mnt/MyPool/media
MyPool/pub     18.1G  2.57T  18.1G  /mnt/MyPool/pub
MyPool/wayne    482M  2.57T   482M  /mnt/MyPool/wayne
NAS 1: NAS4Free 9.3.0.2 x64 embedded, Intel Core 2 E8400, 8GB, 6 x WD Green 1TB in RAIDZ2, Highpoint 2720 SAS x 8 card 6Gbps
NAS 2: NAS4Free 10.2.0.2 x64 embedded, Intel Core i3-3220, 8GB, 7 x WD Green 750GB in RAIDZ1, onboard SATA 3Gbps

Windependence
NewUser
NewUser
Posts: 2
Joined: 13 Sep 2013 07:07
Status: Offline

Re: ZFS and rsync

Post by Windependence »

I've been doing the same thing for more years than you and I have had zero problems. That being said, I understand we could probably do the same thing with snapshots but it would be slightly more compliccated. I've just never tried doing it that way. Maybe a ZFS expert will come along and tell us how to send snapshots and recreate the file system on a remote box. :-)

-Tim

Post Reply

Return to “ZFS (only!)”