ML
2017-Oct-11 06:50 UTC
[Gluster-users] gluster volume + lvm : recommendation or neccessity ?
Hi everyone, I've read on the gluster & redhat documentation, that it seems recommended to use XFS over LVM before creating & using gluster volumes. Sources : https://access.redhat.com/documentation/en-US/Red_Hat_Storage/3/html/Administration_Guide/Formatting_and_Mounting_Bricks.html http://gluster.readthedocs.io/en/latest/Administrator%20Guide/Setting%20Up%20Volumes/ My point is : do we really need LVM ? For example , on a dedicated server with disks & partitions that will not change of size, it doesn't seems necessary to use LVM. I can't understand clearly wich partitioning strategy would be the best for "static size" hard drives : 1 LVM+XFS partition = multiple gluster volumes or 1 LVM+XFS partition = 1 gluster volume per LVM+XFS partition or 1 XFS partition = multiple gluster volumes or 1 XFS partition = 1 gluster volume per XFS partition What do you use on your servers ? Thanks for your help! :) Quentin
Ric Wheeler
2017-Oct-11 07:07 UTC
[Gluster-users] gluster volume + lvm : recommendation or neccessity ?
On 10/11/2017 09:50 AM, ML wrote:> Hi everyone, > > I've read on the gluster & redhat documentation, that it seems recommended to > use XFS over LVM before creating & using gluster volumes. > > Sources : > https://access.redhat.com/documentation/en-US/Red_Hat_Storage/3/html/Administration_Guide/Formatting_and_Mounting_Bricks.html > > http://gluster.readthedocs.io/en/latest/Administrator%20Guide/Setting%20Up%20Volumes/ > > > My point is : do we really need LVM ? > For example , on a dedicated server with disks & partitions that will not > change of size, it doesn't seems necessary to use LVM. > > I can't understand clearly wich partitioning strategy would be the best for > "static size" hard drives : > > 1 LVM+XFS partition = multiple gluster volumes > or 1 LVM+XFS partition = 1 gluster volume per LVM+XFS partition > or 1 XFS partition = multiple gluster volumes > or 1 XFS partition = 1 gluster volume per XFS partition > > What do you use on your servers ? > > Thanks for your help! :) > > QuentinHi Quentin, Gluster relies on LVM for snapshots - you won't get those unless you deploy on LVM. Regards, Ric
ML
2017-Oct-11 07:09 UTC
[Gluster-users] gluster volume + lvm : recommendation or neccessity ?
just had an answer here for those interrested : https://github.com/gluster/glusterdocs/issues/218 Le 11/10/2017 ? 08:50, ML a ?crit?:> Hi everyone, > > I've read on the gluster & redhat documentation, that it seems > recommended to use XFS over LVM before creating & using gluster volumes. > > Sources : > https://access.redhat.com/documentation/en-US/Red_Hat_Storage/3/html/Administration_Guide/Formatting_and_Mounting_Bricks.html > > http://gluster.readthedocs.io/en/latest/Administrator%20Guide/Setting%20Up%20Volumes/ > > > My point is : do we really need LVM ? > For example , on a dedicated server with disks & partitions that will > not change of size, it doesn't seems necessary to use LVM. > > I can't understand clearly wich partitioning strategy would be the > best for "static size" hard drives : > > 1 LVM+XFS partition = multiple gluster volumes > or 1 LVM+XFS partition = 1 gluster volume per LVM+XFS partition > or 1 XFS partition = multiple gluster volumes > or 1 XFS partition = 1 gluster volume per XFS partition > > What do you use on your servers ? > > Thanks for your help! :) > > Quentin > >
Mohammed Rafi K C
2017-Oct-11 07:34 UTC
[Gluster-users] gluster volume + lvm : recommendation or neccessity ?
On 10/11/2017 12:20 PM, ML wrote:> Hi everyone, > > I've read on the gluster & redhat documentation, that it seems > recommended to use XFS over LVM before creating & using gluster volumes. > > Sources : > https://access.redhat.com/documentation/en-US/Red_Hat_Storage/3/html/Administration_Guide/Formatting_and_Mounting_Bricks.html > > http://gluster.readthedocs.io/en/latest/Administrator%20Guide/Setting%20Up%20Volumes/ > > > My point is : do we really need LVM ?This recommendations was added after gluster-snapshot. Gluster snapshot relays on LVM snapshot. So if you start with out lvm, in future if you want to use snapshot then it would be difficult, hence the recommendation to use xfs on top of lvm. Regards Rafi KC> For example , on a dedicated server with disks & partitions that will > not change of size, it doesn't seems necessary to use LVM. > > I can't understand clearly wich partitioning strategy would be the > best for "static size" hard drives : > > 1 LVM+XFS partition = multiple gluster volumes > or 1 LVM+XFS partition = 1 gluster volume per LVM+XFS partition > or 1 XFS partition = multiple gluster volumes > or 1 XFS partition = 1 gluster volume per XFS partition > > What do you use on your servers ? > > Thanks for your help! :) > > Quentin > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users
ML
2017-Oct-11 07:53 UTC
[Gluster-users] gluster volume + lvm : recommendation or neccessity ?
Thanks Rafi, that's understood now :) I'm considering to deploy gluster on a 4 x 40 TB? bricks, do you think it would better to make 1 LVM partition for each Volume I need or to make one Big LVM partition and start multiple volumes on it ? We'll store mostly big files (videos) on this environement. Le 11/10/2017 ? 09:34, Mohammed Rafi K C a ?crit?:> > On 10/11/2017 12:20 PM, ML wrote: >> Hi everyone, >> >> I've read on the gluster & redhat documentation, that it seems >> recommended to use XFS over LVM before creating & using gluster volumes. >> >> Sources : >> https://access.redhat.com/documentation/en-US/Red_Hat_Storage/3/html/Administration_Guide/Formatting_and_Mounting_Bricks.html >> >> http://gluster.readthedocs.io/en/latest/Administrator%20Guide/Setting%20Up%20Volumes/ >> >> >> My point is : do we really need LVM ? > This recommendations was added after gluster-snapshot. Gluster snapshot > relays on LVM snapshot. So if you start with out lvm, in future if you > want to use snapshot then it would be difficult, hence the > recommendation to use xfs on top of lvm. > > > Regards > Rafi KC > >> For example , on a dedicated server with disks & partitions that will >> not change of size, it doesn't seems necessary to use LVM. >> >> I can't understand clearly wich partitioning strategy would be the >> best for "static size" hard drives : >> >> 1 LVM+XFS partition = multiple gluster volumes >> or 1 LVM+XFS partition = 1 gluster volume per LVM+XFS partition >> or 1 XFS partition = multiple gluster volumes >> or 1 XFS partition = 1 gluster volume per XFS partition >> >> What do you use on your servers ? >> >> Thanks for your help! :) >> >> Quentin >> >> >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://lists.gluster.org/mailman/listinfo/gluster-users
ML
2017-Oct-11 13:37 UTC
[Gluster-users] gluster volume + lvm : recommendation or neccessity ?
After some extra reading about LVM snapshots & Gluster, I think I can conclude it may be a bad idea to use it on big storage bricks. I understood that the LVM maximum metadata, used to store the snapshots data, is about 16GB. So if I have a brick with a volume arount 10TB (for example), daily snapshots, files changing ~100GB : the LVM snapshot is useless. LVM's snapshots doesn't seems to be a good idea with very big LVM partitions. Did I missed something ? Hard to find clear documentation on the subject. ++ Quentin Le 11/10/2017 ? 09:07, Ric Wheeler a ?crit?:> On 10/11/2017 09:50 AM, ML wrote: >> Hi everyone, >> >> I've read on the gluster & redhat documentation, that it seems >> recommended to use XFS over LVM before creating & using gluster volumes. >> >> Sources : >> https://access.redhat.com/documentation/en-US/Red_Hat_Storage/3/html/Administration_Guide/Formatting_and_Mounting_Bricks.html >> >> http://gluster.readthedocs.io/en/latest/Administrator%20Guide/Setting%20Up%20Volumes/ >> >> >> My point is : do we really need LVM ? >> For example , on a dedicated server with disks & partitions that will >> not change of size, it doesn't seems necessary to use LVM. >> >> I can't understand clearly wich partitioning strategy would be the >> best for "static size" hard drives : >> >> 1 LVM+XFS partition = multiple gluster volumes >> or 1 LVM+XFS partition = 1 gluster volume per LVM+XFS partition >> or 1 XFS partition = multiple gluster volumes >> or 1 XFS partition = 1 gluster volume per XFS partition >> >> What do you use on your servers ? >> >> Thanks for your help! :) >> >> Quentin > > Hi Quentin, > > Gluster relies on LVM for snapshots - you won't get those unless you > deploy on LVM. > > Regards, > Ric > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users
Possibly Parallel Threads
- gluster volume + lvm : recommendation or neccessity ?
- gluster volume + lvm : recommendation or neccessity ?
- gluster volume + lvm : recommendation or neccessity ?
- gluster volume + lvm : recommendation or neccessity ?
- gluster volume + lvm : recommendation or neccessity ?