1 |
On 2013-11-15 5:18 PM, Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
2 |
> On 15/11/2013 23:58, Tanstaafl wrote: |
3 |
>> Now, the question is, what the heck is thin-provisioning in lvm2, am I |
4 |
>> using it, and if not, do I need it? |
5 |
>> |
6 |
>> I'm pretty sure I'm not using it, but how to be sure? |
7 |
|
8 |
> Google for "thin-provisioning+in+lvm2", first three hits. |
9 |
> |
10 |
> In a nutshell, you can define an LV without actually allocating the |
11 |
> storage yet that you are not using, it gets allocated "on demand" if you |
12 |
> will. |
13 |
> |
14 |
> It's similar in concept to the general idea behind sparse files, lazy |
15 |
> initialization, fixed size vs dynamically allocated disks for VMs and do |
16 |
> on: allocate a resource only when you need it. |
17 |
> |
18 |
> This lets you over-commit storage space as much of it is not being used |
19 |
> in practice. |
20 |
> |
21 |
> If you use thin provisioning, you already know it. There are steps you |
22 |
> must take to put it to use. |
23 |
|
24 |
Thanks Alan... |
25 |
|
26 |
But fyi, my last questions were more just me talking to myself... of |
27 |
course my google-fu is fairly strong, and like you I found all of my |
28 |
answers this morning when I searched... |
29 |
|
30 |
I chose not to use thin provisioning in vmWare because I just don't like |
31 |
the idea... maybe irrational, because I do see the advantages. |
32 |
|
33 |
I'd be curious to learn if anyone here uses it with lvm, and what their |
34 |
experience has been - especially, are there any gotcha's to watch out for? |
35 |
|
36 |
But for now, to rebuild my kernels without lvm thin provisioning (it is |
37 |
enabled) and emerge -C thin-provisioning-tools... |