peterfarrow
Cadet
- Joined
- May 28, 2017
- Messages
- 4
I am using FreeNAS 11 - Release.
Exported a NFS share to backup Ubuntu and Raspbian servers
Symptom Rsnapshot backup Rsync hangs indefintiely at random points in the backup, soon after it starts.
Environment: Ubuntu 16.04 LTS server and Rasbian Wheezy server - both have the same issue, using Rsnapshot defaults.
First problem: "Operation Not permitted" on first pass caused by ACLs on ZFS, created all empty files, second run attempt, filled those files with data - so turned off ACLs at the root of the dataset on ZFS setacl -bn - that problem was fixed.
Second problem: rsync hangs randomly never completes when backing up to NFS share from freenas.
Test NFS share from second ubuntu server - backup runs fine - problem is linked to FreeNAS.
So
(i) Replaced network cards in FreeNAS server - problem remained
(ii)Installed FreeNAS on new hardware - problem remained
(iii) tried no-lock and investigated all kinds of NFS options - problem remained
(iv) Rsync from USB drive (ext4 format) in Ubuntu Server to FreeNAS server - WORKED
Ubuntu servers running EXT4, raspbian server running both FAT32 and EXT4 problem persists.
Blew out all the ACL stuff at the top of the mounts from Freenas and the problem still remained, but it did copy much faster before it hangs.
Built an Ubuntu 16.04LTS server with NFS shares and the problem goes away.
Installed ZFS on Ubuntu 16.04 and NFS shared from there with ACLS - problem goes away.
This is a FreeNAS issue, possibly a bug? If anyone has any ideas let me know, the FreeNAS box is about to be replaced by Ubuntu/ZFS if this problem is not resolved, I have spent over a week on this, and its a little frustrating because Freenas looks so good so far.
Pete
Exported a NFS share to backup Ubuntu and Raspbian servers
Symptom Rsnapshot backup Rsync hangs indefintiely at random points in the backup, soon after it starts.
Environment: Ubuntu 16.04 LTS server and Rasbian Wheezy server - both have the same issue, using Rsnapshot defaults.
First problem: "Operation Not permitted" on first pass caused by ACLs on ZFS, created all empty files, second run attempt, filled those files with data - so turned off ACLs at the root of the dataset on ZFS setacl -bn - that problem was fixed.
Second problem: rsync hangs randomly never completes when backing up to NFS share from freenas.
Test NFS share from second ubuntu server - backup runs fine - problem is linked to FreeNAS.
So
(i) Replaced network cards in FreeNAS server - problem remained
(ii)Installed FreeNAS on new hardware - problem remained
(iii) tried no-lock and investigated all kinds of NFS options - problem remained
(iv) Rsync from USB drive (ext4 format) in Ubuntu Server to FreeNAS server - WORKED
Ubuntu servers running EXT4, raspbian server running both FAT32 and EXT4 problem persists.
Blew out all the ACL stuff at the top of the mounts from Freenas and the problem still remained, but it did copy much faster before it hangs.
Built an Ubuntu 16.04LTS server with NFS shares and the problem goes away.
Installed ZFS on Ubuntu 16.04 and NFS shared from there with ACLS - problem goes away.
This is a FreeNAS issue, possibly a bug? If anyone has any ideas let me know, the FreeNAS box is about to be replaced by Ubuntu/ZFS if this problem is not resolved, I have spent over a week on this, and its a little frustrating because Freenas looks so good so far.
Pete