Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

If I understands it correctly XFS don't have a limit to the size of extended attributes(EA) but Linux kernel impose a limit at 64k? What I am trying to do is build a backup server that our Apple computers will use together with rsync to backup files to. The problem that I face is that Apple HFS+ don't have a limit to EA so it has files with more then 64k of EA in it.

The Linux Kernel has a limit imposed to it in include/linux/limits.h

#define XATTR_SIZE_MAX 65536    /* size of an extended attribute value (64k) */ 

#define XATTR_LIST_MAX 65536    /* size of extended attribute namelist (64k) */

Changing this values feels unsafe because they will be system wide and I use ext4 also in this server.

Is the any possibility to combine Linux + XFS to make a backup that works with EA?

Thanks.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.