Re: Documentation about enabling extended attributes on NetBSD?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux