[Gluster-devel] Is there any way to export several directory on ONE brick.
Sebastien LELIEVRE
slelievre at tbs-internet.com
Mon Sep 3 09:14:45 UTC 2007
KrzyCube a écrit :
> // I resent this post cause i have not subscribe to this maillist before.
> sorry if any disturb
>
> as i know , when we configure a glusterfs brick . there's a option:
>
> ================================================
> volume ss1
> type storage/posix # POSIX FS translator
> option directory /mnt/raid # Export this directory
> end-volume
> ================================================
> this is from the glusterfs's document.
>
> but , the "/mnt/raid/" is actually a mounted raid array.
>
> now i have two disks on each brick machine,
> is there any way to export this two disks without raid, but as one
> glusterfsd brick when i configure in gluster-client.vol.
> ================================================
> volume ss1
> type storage/posix # POSIX FS translator
> option directory /mnt/dir1 # Export this directory
> end-volume
> volume ss2
> type storage/posix # POSIX FS translator
> option directory /mnt/dir2 # Export this directory
> end-volume
> volume ss-raid
> type cluster/afr
> subvolumes ss1 ss2
> option replicate *:2
> end-volume
> ================================================
And then, you export ss-raid :)
Don't forget performance xlators too :) They will change your like !
(or, at least, your client access speed to the brick ;) )
Best Regards,
Sebastien.
More information about the Gluster-devel
mailing list