gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Is there any way to export several directory on ONE


From: Sebastien LELIEVRE
Subject: Re: [Gluster-devel] Is there any way to export several directory on ONE brick.
Date: Mon, 03 Sep 2007 11:14:45 +0200
User-agent: Thunderbird 1.5.0.12 (X11/20060911)

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]