| 1 Dec 2025 |
xored | I have tried every fruit option and vfs object combination known to mankind I don't know what else to do, my storage is on zfs but it was working before and I didn't upgrade that | 23:11:34 |
xored | * I have tried every fruit option and vfs objects combination known to mankind I don't know what else to do, my storage is on zfs but it was working before and I didn't upgrade that | 23:11:53 |
xored | so I'm asking here while I rebuild 25.05 to confirm | 23:12:50 |
Randy Eckenrode | I haven’t upgraded my NAS to 25.11 yet, so I don’t know. | 23:15:22 |
xored |  Download Screenshot 2025-12-01 at 3.16.21 PM.png | 23:16:51 |
xored | I hate it here | 23:16:55 |
xored | 25.05 works | 23:16:57 |
xored | so what in the world they changed on samba | 23:17:11 |
samasaur | I literally just got it set up for me | 23:18:34 |
samasaur | Time Machine on samba on zfs | 23:19:14 |
samasaur | i did it on unstable though so i probably would have hit the error you're seeing | 23:19:38 |
samasaur | will check when i get home | 23:19:54 |
xored | did it work for you on unstable though? | 23:22:36 |
samasaur | yeah | 23:22:43 |
xored | hmmm unstable has the same version that 25.11 right now | 23:23:16 |
samasaur | exactly yeah | 23:23:23 |
xored | so is something I messed up, what else is new | 23:23:25 |
samasaur | mine doesn't show with the Time Machine disk icon, though... :(
i guess "functional" is more important but still | 23:23:45 |
samasaur | i did get it to show up as an Xserve when you connect via finder | 23:24:04 |
xored | do you see anything on my config you don't have | 23:24:19 |
xored | I think the "hardening" they did in 4.20 is what breaks it | 23:24:47 |
xored | * I think the "hardening" they did in 4.21 is what breaks it | 23:25:03 |
samasaur | when was they | 23:25:19 |
samasaur | * when was that | 23:25:23 |
xored | I have no idea, just looking at the samba releases since 25.05 | 23:25:39 |
xored | there are Mac bug fixes across renaming that could affect this too (the sparse bundle stuff timemachine does) but I reckon if its working for ppl is my valid users or force users or something similar | 23:26:19 |
samasaur | fileSystems."/timemachine" = {
device = "data/timemachine";
fsType = "zfs";
};
users.groups.timemachine.members = [ "sam" ];
services.samba = {
enable = true;
smbd.enable = true;
nmbd.enable = false;
winbindd.enable = false;
usershares.enable = false;
nsswins = false;
settings = {
global = {
"vfs objects" = "catia fruit streams_xattr";
# time machine/apple compatibility options
"fruit:aapl" = true;
"fruit:nfs_aces" = false;
"fruit:copyfile" = false;
# Run `plutil -p /System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist` and grep for RackMac3,1
# Any model like that seems to be valid?
# Icons in `/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/`
"fruit:model" = "RackMac3,1";
# assorted other samba options
"panic action" = '' ${lib.getExe pkgs.curl} cliff/send -d \"title=Samba crashed\" '';
};
timemachine = {
# time machine/apple compat
"fruit:resource" = "xattr";
"fruit:time machine" = true;
# "fruit:time machine max size" = "10T"; # impacts how many backups are kept (logic on time machine side)
"fruit:metadata" = "netatalk";
"fruit:encoding" = "native";
# samba options
path = "/timemachine";
preexec = '' ${lib.getExe pkgs.curl} cliff/send -d \"title=Samba connection initiated\" -d \"body=%u connected to %S from %m (%I)\" '';
writeable = true;
"valid users" = "sam";
};
};
};
services.avahi = {
enable = true;
extraServiceFiles.samba = ''
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_smb._tcp</type>
<port>445</port>
</service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=RackMac3,1</txt-record>
</service>
<service>
<type>_adisk._tcp</type>
<txt-record>dk0=adVN=timemachine,adVF=0x82</txt-record>
<txt-record>sys=waMa=0,adVF=0x100</txt-record>
</service>
</service-group>
'';
};
| 23:26:55 |
samasaur | this is what i have | 23:27:11 |
xored | oh boy you have all those fruit options I tried so many times in different combinations lmao | 23:27:47 |
xored | you do have valid users | 23:28:51 |