Wondering if there is a best practice for volume creation. I don't see this information in the documentation. For example. I have a 10 node distribute-replicate setup with one large xfs filesystem mounted on each node. Is it OK for me to have just one xfs filesystem mounted and use subdirectories for my bricks for multiple volume creation? So I could have, lets say 10 different volumes but each using a brick as subdir on my single xfs filesystem on each node? In other words multiple bricks on one xfs filesystem per node? I create volumes on the fly and creating new filesystems for each node would be too much work. Your thoughts? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180824/ce2b178d/attachment.html>
Hi, On Fri, Aug 24, 2018, 21:45 Mark Connor <markconnor64 at gmail.com> wrote:> Wondering if there is a best practice for volume creation. I don't see > this information in the documentation. For example. > I have a 10 node distribute-replicate setup with one large xfs filesystem > mounted on each node. > > Is it OK for me to have just one xfs filesystem mounted and use > subdirectories for my bricks for multiple volume creation? > So I could have, lets say 10 different volumes but each using a brick as > subdir on my single xfs filesystem on each node? > In other words multiple bricks on one xfs filesystem per node? >I usually cut different logical volumes for each brick. I create volumes on the fly and creating new filesystems for each node> would be too much work. > > Your thoughts? > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180824/4db21f58/attachment.html>
You can do that, but you could run into issues with the 'shared' remaining space. Any one of the volumes could eat up the space you planned on using in another volume. Not a huge issue, but could bite you. I prefer to use ZFS for the flexibility. I create a RAIDZ pool and then separate zfs filesystems within that for each brick. I can reserve a specific amount of space in the pool for each brick and that can be modified as well. It is easy to grow it too. Plus, configured right, zfs does parallel across all the disks, so you get speedup in performance. Brian Andrus On 8/24/2018 11:45 AM, Mark Connor wrote:> Wondering if there is a best practice for volume creation. I don't see > this information in the documentation. For example. > I have a 10 node distribute-replicate setup with one large xfs > filesystem mounted on each node. > > Is it OK for me to have just one xfs filesystem mounted and use > subdirectories for my bricks for multiple volume creation? > So I could have, lets say 10 different volumes but each?using a > brick?as subdir on my single xfs filesystem on each node? > In other words multiple bricks on one xfs filesystem per node? > I create volumes on the fly and creating new filesystems for each node > would be too much work. > > Your thoughts? > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180824/e776758e/attachment.html>