Tag Info

Hot answers tagged

12

You can use rsync's --iconv option to convert between UTF-8 NFC & NFD, at least if you're on a Mac. There is a special utf-8-mac character set that stands for UTF-8 NFD. So to copy files from your Mac to your NAS, you'd need to run something like: rsync -a --iconv=utf-8-mac,utf-8 localdir/ mynas:remotedir/ This will convert all the local filenames ...


6

Here's an article I've stumbled upon that describes how to configure an Ubuntu box to be recognized as something to use with Time Machine by OSX. I've meant to hack this together on my Gentoo, but never got around to do, so I'm not making guarantees of whether it works or not. ...


4

Replaced my original answer after doing some testing of my own using a OS X 10.5.6 Server and a 10.5.7 Client: What I found after a bit of experimentation is that OS X is a bit crazy when it comes to ACL inheritance for share points. ACLs that are inherited will always take precedence over ACLs that are set at the share point (or lower in the tree) but only ...


4

Just a hunch but it's quick to test. Try doing this on both Macs: sysctl net.inet.tcp.delayed_ack ...note what it reports. It'll be an integer, probably the value 2 or 3...then set it to zero: sudo sysctl -w net.inet.tcp.delayed_ack=0 ...then on the AFP client, unmount all AFP-mounted volumes and re-mount them so that you're establishing new TCP ...


4

From the command line at the console: mount -uw / cd /conf/base/etc/local Edit /conf/base/etc/local/netatalk.conf Uncomment the line that says: **#AFPD_MAX_CLIENTS=20** Change the 20 to the number of users you want Save the file Reboot


3

The :2e prefix appears to be a side effect of the netatalk service's default setting that disallows dotfiles; to avoid this (i.e. have the file names appear on the server as .DS_Store etc), add options:usedots to each share in /etc/netatalk/AppleVolumes.default (see this previous question and the netatalk documentation). This won't either get rid of the ...


3

The AFP stack for Linux, upon which FreeNAS is built, is not nearly as robust as Samba is. Because NetAtalk has a much smaller client base pounding on it than Samba does, the rate of code improvement is slower and the push to optimize the code is not nearly as intense. The problems you note are very likely due to code-maturity differences between Samba and ...


3

If you have SMB working, why not just connect the Mac using that as well? Afaik, there's no advantage to use AFP in this case as OS X supports SMB equally well. AFP does have some minor benefits (such as SSO, Open Directory integration etc) when running in a Mac managed environment, but I don't think you need it here.


3

Escape the question mask with a backslash: $ cp tes\?t /mnt/share/


3

if your server is CentOS, the clients are Mac and performance is a significant concern then I'd tend to avoid AFP and - as you've discovered - WebDAV. The only significant win with AFP is that making Time Machine work is easier, but everything else ends up harder. Your two primary (mainstream) options are CIFS/SMB or NFS. The former has the advantage of ...


2

Get a better access point. You're taking huge bandwidth penalties because the link from the source machine to the access point is sharing bandwidth with the link from the destination machine to the access point. Better access points can handle multiple simultaneous streams. This not only immediately doubles the available bandwidth but it also reduces the ...


2

I've found the solution by trying to tune .config files ! /etc/avahi/services/ contains *.services like afpd.services Copy the afpd.servicies to match each machine you want to advertise : server1.service, server2.service, ... Add the <host-name></host-name> tag in each .service *.service : <?xml version="1.0" ...


2

I've used netatalk for some time (1+ year)m, but only two clients at home. Never had problems. I use SMB along with this for my third client, so that everyone can access the same share of files. So yes, and no, are the answers :)


2

I've used 25 mac's on an ubuntu server using netatalk and NFS. It's a disaster : first of all, don't use home directories on the server with NFS. It is possible, but some applications (Adobe InDesign, Illustrator, Apple Mail etc.) don't like this. Apple Mail will in time complete mess up its mail database on the workstation, forcing to recreate all the ...


2

Most appletalk authentication and connection initiation issues are related to the network interface duplex settings. The issue is usually found where one Ethernet side is set to 100 full and the other side is set to auto-negotiate. This can be remedied by either forcing both sides or setting both sides to auto-negotiate. These settings can be found on the ...


2

The transport doesn't matter (I do it over AFP to an airport extreme and SMB to a FreeBSD box (onto a raidz volume). The key is enabling backups to unsupported volumes: defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 This will make a mounted share available and create a sparse disk image atop it and allow you to back up to ...


2

When /Network/Applications is mounted on the clients, it will be mounted before a user has logged in, so it will be mounted as a guest. It will stay mounted as a guest even when a user logs in. No matter what permissions you have on the client, the AFP server is mapping it to nobody. Please have a look at my answer to this question: AFP uses a ...


2

Have you got a TXT record named servername._afpovertcp._tcp.example.com? As a service is made up of both an SRV record and a TXT record I think you'll find you need both for a service to be resolved successfully.


2

Try to connect to server from command line, it will produce more likely an error code. sudo mount -t afp afp://user:pass@_server_ip_address/share /Volumes/share /Volumws/share must exists before Alternative method: sudo mount_afp afp://user:pass.@_server_ip_address/share /Volumes/share


2

I'd check each servers settings as to what forms of authentication are permitted. Use Server Admin to look at the settings in the AFP section each server.


1

Well, anything interesting in the logs while this is going on? I get 25-60MBps over 1 gigE between my MBP17 and our Linux AFP backup host (raid1 of the built in disks, next step, add storage) depending on sending or receiving, doing Time Machine backups and restores. Not done much with solaris in some time, also, netatalk version? The netatalk people have ...


1

It's simple in principle, you just need to manage preferences for the users' login items list, and add the share point to it. In practice, it's a little weird because you need to add it from a client (on the server, it's just a local folder, not a network share). You also need to decide how to apply this setting: you could apply it to each user as a ...


1

Use the sticky bit (o+t) on the parent directory and change the owners of the directories or files you want to make un-removable to a different user. If you don't want them deleting ANY files from the directory, including ones they make, then continue from above and add the SUID bit to the directory (u+s). This will cause all files to be created with the ...


1

Why not just use SMB? From the Mac - smb://WindowsServerName (OS X supports SMB natively which is part of the reason MS dropped SFM/AFP - there's no real need for it anymore).


1

I cannot speak for open source implementations of AFP, but Apple's implementation seems to have no trouble with it, either for file transfers or for searches. I just tried it with an OS X 10.7 (Lion) client and both 10.7 and 10.7 Servers, and everything worked as expected.


1

While Samba/SMB/CIFs will work just fine for backing up individual files it's not ideal for backing up your fully system. However some QNAP NAS boxes support OSX's native backup system 'Time Machine', there's a few hoops to jump through and it may make sense to update your NAS to the latest firmware but when Time Machine works it's lovely, really hands-off ...


1

You need to make sure that the directory was created with a non-root user. I also recommend uncommenting the user_allow_other line in /etc/fuse.conf, and then adding an entry in /etc/fstab that mounts it as the user that will need to access it (though the group must be fuse), like so: afpfs#afp://USER:PASS@afp.host.com/directory/ /media/dir fuse ...


1

It's probably simplest to create a StartupItem. Take a look at the ones in /System/Library/StartupItems for examples, as well as some useful scripting idioms (NFS is probably a particularly relevant example). Be sure to put your item in /Library/StartupItems (/System/Library is core OS components, /Library is for local customization). You could also ...


1

Netatalk on linux is old, very old. You can use Samba on your macs too, it has just a few problems and generally works great. The biggest issue is most probably file name limit, because nowadays almost nobody uses old fashioned software which creates files with data in resource forks.


1

I know this is a very old question - but after upgrading to Lion I got this problem back. I just installed BlueHarvest and that seems to fix my problem. It removes the unwanted files on my Linux server.



Only top voted, non community-wiki answers of a minimum length are eligible