Subscribe

Space allocation issue with volume Snapmirrored

Just got some volumes mirroring to my DR with SM.

In my production environment, vol "blaze" has 10GB allocated with guarantee set to volume.

Volume                          Allocated            Used       Guarantee

blaze                                10GB           862MB          volume

In my DR environment the same volume mirrored has 147GB allocated.

Volume                          Allocated            Used       Guarantee

blaze                               147GB           863MB            none

Anyone could explain me why space allocated in this volume is 14 times bigger than my vol in production environment, or possible causes for this to happen?

Re: Space allocation issue with volume Snapmirrored

Hi,

Are you using Protection Manager to create the relationship? If so it creates the secondary volume of aggregate size(which is attached to secondary) with "None" space guarantee.

As the volume created with None guarantee, it will not consume space from the aggregate until actual data  is added in the volume.

-KJag

Re: Space allocation issue with volume Snapmirrored

Hi there,

Yeah, I'm using PM to create the relationships, but take a look at these outputs.

DR-filer> df -hA

Aggregate                total       used      avail capacity

aggr0                     25TB       22TB     3557GB      87%

aggr0/.snapshot            0TB        0TB        0TB     ---%

DR-filer> aggr show_space -h

Aggregate 'aggr0'

    Total space    WAFL reserve    Snap reserve    Usable space       BSR NVLOG           A-SIS          Smtape

           28TB          2938GB             0KB            25TB             0KB            51GB             0KB

Space allocated to volumes in the aggregate

Volume                          Allocated            Used       Guarantee

vol0                                242GB          6656MB          volume

...

blaze                               147GB           863MB            none

Aggregate                       Allocated            Used           Avail

Total space                          22TB            17TB          3557GB

Snap reserve                          0KB             0KB             0KB

WAFL reserve                       2938GB           307GB          2631GB

The used space in aggr0 is the same allocated, in other words it's consuming the space.

Re: Space allocation issue with volume Snapmirrored

Hi,

No.

If you see the volume details, its having "none" guarantee. Which means it will not take the space from aggregate until some data has added into it.

>> In my DR environment the same volume mirrored has 147GB allocated.

>> Volume                          Allocated            Used       Guarantee

>> blaze                               147GB           863MB            none

The used space from aggr0 might be take for some other volume.

-KJag

Re: Space allocation issue with volume Snapmirrored

I just have 3 volumes with guarantee set to file

Volume                          Allocated            Used       Guarantee

...

sybase                              563GB           554GB            file

progress                           1380GB          1369GB            file

vmwarec                            1362GB          1348GB            file

All other volumes are set to none.

Re: Space allocation issue with volume Snapmirrored

Can you check the used space of none volumes?

-KJag

Re: Space allocation issue with volume Snapmirrored

The used is space on volumes set to none are correct, it matches my production environment.

Re: Space allocation issue with volume Snapmirrored

>> The used is space on volumes set to none are correct, it matches my production environment.

If so what is the issue?

The mirror volume created by protection manager with none guarantee is not consuming the space from Aggregate.

-Kjag

Re: Space allocation issue with volume Snapmirrored

As I stated before and pasted the output from my DR filer, the used space on aggr0 is the same allocated.

DR-filer> df -hA

Aggregate                total      used      avail capacity

aggr0                     25TB      22TB     3557GB      87%

aggr0/.snapshot            0TB        0TB        0TB     ---%

DR-filer> aggr show_space -h

Aggregate 'aggr0'

    Total space    WAFL reserve    Snap reserve    Usable space       BSR NVLOG           A-SIS          Smtape

           28TB          2938GB             0KB            25TB             0KB            51GB             0KB

Space allocated to volumes in the aggregate

Volume                          Allocated            Used       Guarantee

vol0                                242GB          6656MB          volume

...

blaze                               147GB           863MB            none

Aggregate                       Allocated            Used           Avail

Total space                          22TB            17TB          3557GB

Snap reserve                          0KB             0KB             0KB

WAFL reserve                       2938GB           307GB          2631GB