Re: Is there any way to export several directory on ONE brick.

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

 



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.

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux