[Gluster-users] Mounting a sub directory of a glusterfs volume

Filipe Maia filipe at xray.bmc.uu.se
Mon Jan 19 21:55:35 UTC 2009


That would work fine if I was doing it by hand, but if I have a couple
of computers in which the /home directory is managed by autofs that
doesn't really fix it. Even worse I have some users which have their
homes in glusterfs and others which still have their homes on NFS. I'm
still trying to think what would be the best solution.

On Mon, Jan 19, 2009 at 17:43, Matthias Teege <matthias-glu at mteege.de> wrote:
>> Is it possible to mount a sub directory of a glusterfs volume (for
>> example mounting volume/username, as you can do in NFS).
>
> I'm not sure if I fully understand your question but I mount the glusterfs
> to something like /mnt/gluster and then bind what I need with:
>
> mount -o bind /mnt/gluster/home /home
> mount -o bind /mnt/gluster/data/one /srv/one
>
> Matthias
>




More information about the Gluster-users mailing list