[Gluster-users] ZFS setup question

Jacob Shucart jacob at gluster.com
Thu Jan 6 22:12:47 UTC 2011


That's correct.  There really is no downside to doing separate ZFS
filesystems unless you consider the process of creating them or managing
them a downside.  ZFS is pretty easy to administer, so my overall
recommendation would be scenario #2.


-----Original Message-----
From: Shain Miley [mailto:smiley at npr.org] 
Sent: Thursday, January 06, 2011 2:10 PM
To: Jacob Shucart
Cc: 'Gluster General Discussion List'
Subject: Re: [Gluster-users] ZFS setup question

Thanks for the input.  I did consider that along with having the ability 
to set different properties on each (compression, dedup, etc)  none of 
which I plan on using right now...however I would at least have the 
option in the future.

The only other thing I was able to come up with was this:

If one of the shares did get out of sync for example (or if you simply 
wanted to know the size the shares for that matter)...it might be easier 
to tell which one using 'zfs list' or something like that...rather then 
having to do a 'du' on a several TB folder.


On 01/06/2011 04:58 PM, Jacob Shucart wrote:
> Shain,
> If you are planning on taking snapshots of the underlying filesystems
> #2 would be better.  If you are not planning on taking snapshots then #1
> and #2 are equal really and so I would say that #1 is fine because there
> are less filesystems to manage.  I hope this clarifies things.  Since
> snapshots are done at the filesystem level, if you wanted to take a
> snapshot of just music then you could not do that unless music was on
> own ZFS filesystem.
> -Jacob
> -----Original Message-----
> From: gluster-users-bounces at gluster.org
> [mailto:gluster-users-bounces at gluster.org] On Behalf Of Shain Miley
> Sent: Thursday, January 06, 2011 1:47 PM
> To: Gluster General Discussion List
> Subject: [Gluster-users] ZFS setup question
> Hello,
> I am in the process of setting up my Gluster shares and I am looking at
> the following two setup options and I am wondering if anyone can speak
> to the pros/cons of either:
> 1) Create one large zfs filesystem for gluster.
> eg:
> zfs create pool1/glusterfs
> and then create several folders with 'mkdir' inside '/pool1/glusterfs'
> (music,videos,documents).
> 2) Create 1 zfs filesystem per share.
> eg:
> zfs create pool1/glusterfs
> zfs create pool1/glusterfs/music
> zfs create pool1/glusterfs/videos
> zfs create pool1/glusterfs/documents
> I would then share /pool1/glusterfs out with gluster (I do not want to
> have to have an overly complicated .vol file with each share having it's
> own gluster volume).
> Any thoughts would be great.
> Thanks,
> Shain
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

More information about the Gluster-users mailing list