How do I enable extended attributes on ext4?

I want to experiment with Ceph, and it needs extended attributes enabled. How do I mount my filesystem with this support?


To enable extended attributes the user_xattr option in /etc/fstab

Example:

/dev/sda2  /media/mount_point  ext4  auto,users,user_xattr  0  2

You would then re-mount the partition.

and the man page :

  • http://manpages.ubuntu.com/manpages/precise/man5/attr.5.html

  • I looked at the kernel configs here and support for xattr is enabled by default , so no need for a custom kernel.

  • Discussion on the Ubuntu Forums