[Gluster-devel] Documentation about enabling extended attributes on NetBSD?
Niels de Vos
ndevos at redhat.com
Tue Nov 3 17:08:36 UTC 2015
On Tue, Nov 03, 2015 at 04:33:44PM +0000, Emmanuel Dreyfus wrote:
> On Tue, Nov 03, 2015 at 05:16:49PM +0100, Niels de Vos wrote:
> > Do you have any additional hints on what to check? Or, maybe I am
> > missing a dependency?
>
> Run config -x on your kernel: do you have UFS_EXTATTR enabled?
> If you do not, rebuild a kernel with UFS_EXTATTR
Aha, so UFS_EXTATTR is not enabled by default in NetBSD-6.1.2. That was
not immediately clear from the MESSAGE.NetBSD below.
> Or just install the NetBSD-7.0 GENERIC kernel. It will work with 6.1.5
> userland and it has UFS_EXTATTR enabled.
I'll do that, assuming this is one of the kernels that should work:
http://ftp.nluug.nl/NetBSD/NetBSD-7.0/amd64/binary/sets/kern-GENERIC.tgz
Or, maybe I just re-install my VM with NetBSD-7.0 now thats out.
Thanks!
Niels
> Note that this is also in the message at glusterfs package installation time:
>
> ===========================================================================
> $NetBSD: MESSAGE.NetBSD,v 1.16 2014/11/20 16:12:48 wiz Exp $
>
> *** GlusterFS clients ***
> This is required in /etc/sysctl.conf in order to avoid hangs on I/O operations
> kern.sbmax=4194304
> net.inet.tcp.sendbuf_max=1048576
> net.inet.tcp.recvbuf_max=1048576
>
> In order to use mount -t glusterfs, please install this link
> ln -s ${PREFIX}/sbin/mount_glusterfs /sbin/mount_glusterfs
>
> * Only for netbsd-5 branch (later NetBSD GENERIC kernels have it enabled):
> A kernel with the following option is required:
> file-system PUFFS
> pseudo-device putter
> pseudo-device pud
>
> *** GlusterFS servers ***
> glusterfs servers will need extended attributes in exported filesystems.
> This is currently only supported in UFS1 (newfs -O1). You will need to
> create the directories below on exported filesystems' roots, and then
> mount with -o extattr
> .attribute/system
> .attribute/user
>
> * For netbsd-6 branch and earlier (later NetBSD GENERIC kernels have it),
> the kernel must have the following option enabled:
> options UFS_EXTATTR
>
> ===========================================================================
>
> --
> Emmanuel Dreyfus
> manu at netbsd.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20151103/484ace1d/attachment.sig>
More information about the Gluster-devel
mailing list