LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2018, 08:08 PM   #1
Yakooza
LQ Newbie
 
Registered: Sep 2018
Posts: 25

Rep: Reputation: Disabled
Question WARNING: Pool zeroing and 1.00 MiB large chunk size slows down thin provisioning?


Hi Guys,

I am creating a KVM on CentOS 7.x with Thin provisioning and when I create the thin provisioning inside LVM I get this warning. Could you please help me if you know how can fix this issue? Or is it an issue? I do not want a slow performance. Just to make sure



Code:
# lvcreate --size 1.83TiB --type thin-pool --thinpool thin-vps vps
  Rounding up size to full physical extent 1.83 TiB
  Thin pool volume with chunk size 1.00 MiB can address at most 253.00 TiB of data.
  WARNING: Pool zeroing and 1.00 MiB large chunk size slows down thin provisioning.
  WARNING: Consider disabling zeroing (-Zn) or using smaller chunk size (<512.00 KiB).
  Logical volume "thin-vps" created.
[root@tx01 ~]# lvs
  LV       VG  Attr       LSize Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  thin-vps vps twi-a-tz-- 1.83t             0.00   0.39
Thank you
 
Old 09-09-2018, 10:38 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Code:
# lvcreate --size 1.83TiB --type thin-pool --thinpool thin-vps vps
  Rounding up size to full physical extent 1.83 TiB
  Thin pool volume with chunk size 1.00 MiB can address at most 253.00 TiB of data.
  WARNING: Pool zeroing and 1.00 MiB large chunk size slows down thin provisioning.
  WARNING: Consider disabling zeroing (-Zn) or using smaller chunk size (<512.00 KiB).
  Logical volume "thin-vps" created.
[root@tx01 ~]# lvs
  LV       VG  Attr       LSize Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  thin-vps vps twi-a-tz-- 1.83t             0.00   0.39
From the lvmthin man page:

Quote:
When a thin pool provisions a new data block for a thin LV, the new block is first overwritten with zeros.
The size of the data block is given by the chunk size, which you can control with -c. I guess zeroing a 1MB chunk can take a few fractions of a second, but it probably doesn't matter as long you don't create thinly provisioned volumes at a high rate.
 
1 members found this post helpful.
Old 09-10-2018, 04:00 AM   #3
Yakooza
LQ Newbie
 
Registered: Sep 2018
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
Code:
# lvcreate --size 1.83TiB --type thin-pool --thinpool thin-vps vps
  Rounding up size to full physical extent 1.83 TiB
  Thin pool volume with chunk size 1.00 MiB can address at most 253.00 TiB of data.
  WARNING: Pool zeroing and 1.00 MiB large chunk size slows down thin provisioning.
  WARNING: Consider disabling zeroing (-Zn) or using smaller chunk size (<512.00 KiB).
  Logical volume "thin-vps" created.
[root@tx01 ~]# lvs
  LV       VG  Attr       LSize Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  thin-vps vps twi-a-tz-- 1.83t             0.00   0.39
From the lvmthin man page:



The size of the data block is given by the chunk size, which you can control with -c. I guess zeroing a 1MB chunk can take a few fractions of a second, but it probably doesn't matter as long you don't create thinly provisioned volumes at a high rate.
Thank you for your answer. Noted
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Thin Provisioning fails for LVM-backed LXC containers in LXD sundialsvcs Linux - Containers 4 07-05-2017 09:29 PM
Thin provisioning disk space in KVM enkrypted Linux - Virtualization and Cloud 2 02-18-2014 11:17 AM
dd seek problem: thin provisioning? hahacc Linux - General 7 04-22-2013 01:54 AM
[SOLVED] Can anyone explain what is chunk size and spare size in unyaffs chinabenjamin66 Linux - Newbie 1 10-22-2012 12:01 AM
LXer: Linux 3.2 goes bigtime on file systems, improves thin provisioning LXer Syndicated Linux News 0 01-07-2012 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:55 PM.

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions