Page 1 of 7

AFP - TIME MACHINE - CATALINA

PostPosted: Mon Mar 30, 2020 9:54 pm
by MacGTO
Hi,
i've some trouble using AFP server with time machine on CATALINA.
When i enable "Stop SMB when AFP is enable" i can view all the space of my Time machine share (where i perform the tme machine backup).
Instead i have only 1,7mb to see when together are enabled.

Where is the problem?

Naturally i can complite only first backup...the other fails.

Re: AFP - TIME MACHINE - CATALINA

PostPosted: Mon Mar 30, 2020 10:03 pm
by Jocko
I need to deepen this point but I assume you use samba4. If it is the case then I assume CATALINA uses TM over samba if both are running.

What size did you set for TM ?

Please to note it is useless to run afp server with samba 4

Re: AFP - TIME MACHINE - CATALINA

PostPosted: Tue Mar 31, 2020 9:42 am
by MacGTO
yes i user smb 4.x
Catalina see both AFP and SMB Connection.
But if i connect with samba connection i see only 1.7mb of share
if i connect with afp i see all space.
time machine space is 90% of volume

Re: AFP - TIME MACHINE - CATALINA

PostPosted: Tue Mar 31, 2020 10:03 am
by Jocko
Hi I think I found where is the issue.
in samba conf file, the directive "fruit:time machine max size" requires you set the unit with the size value and if it is missing the default unit is KB whereas we set the size with unit MB

Up to now, we do not yet get feedbacks from mac users even if we asked it on development.

So for testing a patch :
- download the tarball (use the link sent by pm)
- store it in a share (I assume fvdw)
- from a shell window, run the tar command
Code: Select all
tar -xf /direct-usb/fvdw/fvdw-sl-18-2-TMsize-over-smb-31mar2020.tgz -C /etc/finc


Then reboot the nas and check your TM size over samba4

Re: AFP - TIME MACHINE - CATALINA

PostPosted: Tue Mar 31, 2020 10:14 am
by MacGTO
Jocko wrote:Hi I think I found where is the issue.
in samba conf file, the directive "fruit:time machine max size" requires you set the unit with the size value and if it is missing the default unit is KB whereas we set the size with unit MB

Up to now, we do not yet get feedbacks from mac users even if we asked it on development.

So for testing a patch :
- download the tarball (use the link sent by pm)
- store it in a share (I assume fvdw)
- from a shell window, run the tar command
Code: Select all
tar -xf /direct-usb/fvdw/fvdw-sl-18-2-TMsize-over-smb-31mar2020.tgz -C /etc/finc


Then reboot the nas and check your TM size over samba4


yeeeeeeeees now is the right size over SMB!!! tnx you!!!

now i try to perform a full backup.

I'll update the results

Re: AFP - TIME MACHINE - CATALINA

PostPosted: Thu Apr 02, 2020 6:21 pm
by MacGTO
Nope.

after first backup the other don't go up!!

i've configurated all in smb

TM see the right size of disk...but for some strange reason i can't do incremental backups.

do you have some ideas?
maybe the disk need to be formatted in APFS?

Re: AFP - TIME MACHINE - CATALINA

PostPosted: Thu Apr 02, 2020 6:39 pm
by Jocko
MacGTO wrote:do you have some ideas?
maybe the disk need to be formatted in APFS?
Nope you don't need to format the HD as APFS; you can set up a native Linux filesystem like ext4

Do you have a TM journal? and see if there is some information here

Re: AFP - TIME MACHINE - CATALINA

PostPosted: Thu Apr 02, 2020 7:02 pm
by Jocko
On the share settings we removed the xattr stream and used a default stream so that some fs like exFAT can work. Maybe xattr is required on TM.

I go to send you to restore this option. It must be installed like the other tarball.

Re: AFP - TIME MACHINE - CATALINA

PostPosted: Thu Apr 02, 2020 7:19 pm
by MacGTO
Jocko wrote:
MacGTO wrote:do you have some ideas?
maybe the disk need to be formatted in APFS?
Nope you don't need to format the HD as APFS; you can set up a native Linux filesystem like ext4

Do you have a TM journal? and see if there is some information here


i can see Apple website
my disks are ext4 formatted

Re: AFP - TIME MACHINE - CATALINA

PostPosted: Thu Apr 02, 2020 7:19 pm
by MacGTO
Jocko wrote:On the share settings we removed the xattr stream and used a default stream so that some fs like exFAT can work. Maybe xattr is required on TM.

I go to send you to restore this option. It must be installed like the other tarball.


i'll try and i'll inform you for update