Add message to use the mount script so that mount -t glusterfs works
Also remove reference to /etc/mtab in it, prefer /proc/mounts
This commit is contained in:
parent
60d4f07c57
commit
2281a0e51a
2 changed files with 16 additions and 7 deletions
|
@ -1,11 +1,14 @@
|
|||
===========================================================================
|
||||
$NetBSD: MESSAGE.NetBSD,v 1.4 2011/04/28 10:49:41 tnn Exp $
|
||||
$NetBSD: MESSAGE.NetBSD,v 1.5 2011/05/12 10:28:47 manu Exp $
|
||||
|
||||
In order to use mount -t glusterfs, please install this link
|
||||
ln -s ${PREFIX}/sbin/mount.glusterfs /sbin/mount_glusterfs
|
||||
|
||||
glusterfs clients need the following 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
|
||||
kern.sbmax=4194304
|
||||
net.inet.tcp.sendbuf_max=1048576
|
||||
net.inet.tcp.recvbuf_max=1048576
|
||||
|
||||
glusterfs servers will need extended attributes in exported filesystems.
|
||||
The required attributes can be initialized by running
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.7 2011/05/09 09:38:26 manu Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2011/05/12 10:28:47 manu Exp $
|
||||
#
|
||||
|
||||
DISTNAME= glusterfs-3.1.4
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= filesystems
|
||||
MASTER_SITES= http://download.gluster.com/pub/gluster/glusterfs/3.1/LATEST/
|
||||
|
||||
|
@ -36,6 +36,11 @@ SUBST_STAGE.bash= post-build
|
|||
SUBST_FILES.bash= xlators/mount/fuse/utils/mount.glusterfs
|
||||
SUBST_SED.bash= -e "s,/bin/bash,/bin/sh,g"
|
||||
|
||||
SUBST_CLASSES+= mtab
|
||||
SUBST_STAGE.mtab= post-build
|
||||
SUBST_FILES.mtab= xlators/mount/fuse/utils/mount.glusterfs
|
||||
SUBST_SED.mtab= -e "s,/etc/mtab,/proc/mounts,g"
|
||||
|
||||
SUBST_CLASSES+= etc
|
||||
SUBST_STAGE.etc= pre-build
|
||||
SUBST_FILES.etc+= cli/src/cli-rpc-ops.c
|
||||
|
@ -63,7 +68,8 @@ BUILD_DEFS+= VARBASE
|
|||
RCD_SCRIPTS= glusterfsd glusterd
|
||||
|
||||
post-install:
|
||||
cp ${DESTDIR}/sbin/mount.glusterfs ${DESTDIR}/${PREFIX}/sbin/
|
||||
${INSTALL_SCRIPT} ${DESTDIR}/sbin/mount.glusterfs \
|
||||
${DESTDIR}/${PREFIX}/sbin/
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/xattr-init.sh \
|
||||
${DESTDIR}/${PREFIX}/etc/glusterfs
|
||||
|
||||
|
|
Loading…
Reference in a new issue