[Gluster-devel] Mounting multiple volume names from the same fstab

Matthias Saou thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net
Mon Dec 10 15:22:57 UTC 2007


Hi,

I had the need to mount two different volumes from the same server, and
didn't find any way to do this when putting the glusterfs entries in
fstab. I had to make a quick patch to the mount.glusterfs script for it
to work :

http://thias.fedorapeople.org/review/glusterfs/glusterfs-1.3.7-fstab-vol.patch

This makes the following fstab entries work :

myserver          /foo         glusterfs vol=foo  0 0
myserver          /bar         glusterfs vol=bar  0 0

Would it be possible to include most, if not all, of the (relevant)
glusterfs client options to the script so that they can be set in fstab
entries? This makes glusterfs integration so much nicer.

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora release 8 (Werewolf) - Linux kernel 2.6.23.8-63.fc8
Load : 0.66 0.81 0.82





More information about the Gluster-devel mailing list