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 06:08:36PM +0100, Niels de Vos wrote:
> 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.

This all works quite well now. However there is an issue with my
configuration related to "vnconfig -l". This command keeps on listing
vnd-devices, and never seems to end. I did not setup something special
for this, not sure if that is needed?

The following patch makes at least my tests run fine. Is that something
we could (or need to?) include?

Thanks,
Niels


diff --git a/tests/include.rc b/tests/include.rc
index 79fbd6c..c7b1b40 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -488,7 +488,7 @@ function cleanup()
                 done
                 ;;
         NetBSD)
-                vnd=`vnconfig -l | \
+                vnd=`vnconfig -l | head -16 | \
                      awk '!/not in use/{printf("%s%s:%d ", $1, $2, $5);}'`
                 for l in ${vnd} ; do
                         dev=${l%%:*}

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