AFP - TIME MACHINE - CATALINA

AFP - TIME MACHINE - CATALINA

Postby MacGTO » Mon Mar 30, 2020 9:54 pm

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.
MacGTO
Donator VIP
Donator VIP
 
Posts: 23
Joined: Thu Jul 27, 2017 8:59 am

Re: AFP - TIME MACHINE - CATALINA

Postby Jocko » Mon Mar 30, 2020 10:03 pm

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
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: AFP - TIME MACHINE - CATALINA

Postby MacGTO » Tue Mar 31, 2020 9:42 am

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
MacGTO
Donator VIP
Donator VIP
 
Posts: 23
Joined: Thu Jul 27, 2017 8:59 am

Re: AFP - TIME MACHINE - CATALINA

Postby Jocko » Tue Mar 31, 2020 10:03 am

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
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: AFP - TIME MACHINE - CATALINA

Postby MacGTO » Tue Mar 31, 2020 10:14 am

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
MacGTO
Donator VIP
Donator VIP
 
Posts: 23
Joined: Thu Jul 27, 2017 8:59 am

Re: AFP - TIME MACHINE - CATALINA

Postby MacGTO » Thu Apr 02, 2020 6:21 pm

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?
MacGTO
Donator VIP
Donator VIP
 
Posts: 23
Joined: Thu Jul 27, 2017 8:59 am

Re: AFP - TIME MACHINE - CATALINA

Postby Jocko » Thu Apr 02, 2020 6:39 pm

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
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: AFP - TIME MACHINE - CATALINA

Postby Jocko » Thu Apr 02, 2020 7:02 pm

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.
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: AFP - TIME MACHINE - CATALINA

Postby MacGTO » Thu Apr 02, 2020 7:19 pm

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
MacGTO
Donator VIP
Donator VIP
 
Posts: 23
Joined: Thu Jul 27, 2017 8:59 am

Re: AFP - TIME MACHINE - CATALINA

Postby MacGTO » Thu Apr 02, 2020 7:19 pm

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
MacGTO
Donator VIP
Donator VIP
 
Posts: 23
Joined: Thu Jul 27, 2017 8:59 am

Next

Return to Lacie 2Big Network vs2

Who is online

Users browsing this forum: No registered users and 1 guest