1758838 Members
2998 Online
108876 Solutions
New Discussion юеВ

Reclaim Space

 
matou801
Occasional Contributor

Reclaim Space

Hello,

We have 2 3Par 8200 on Remote Copy . The volumes are presented to 3 Windows 2016 servers Hyper-V in Failover Clustering CSV. The are filling up and I'm losing GB every week.
I started cleaning up the CSV volumes (1To) , but despite this, I can't seem to save space on the 3Par.
On 3Par, the defragmentation task is not carried out on certain virtual volume sets?
I tried the compactcpg and freespace commands, but without success.

3par.png

No defragmentation task

defrag.png

 showspace -cpg SSD_r1
       -----------------------(MiB)-----------------------
   CPG -------EstFree--------                              -----------Efficiency------------
  Name RawFree  LDFree OPFree     Base  Snp  Free    Total Compact Dedup Compress DataReduce Overprov
SSD_r1 2377728 1188864      - 11344768 1024 10368 11356160    2.09  1.36     1.18       1.53     0.77

How to reclaim space?

Thanks for your help 

Matt

8 REPLIES 8
AnilKT
HPE Pro

Re: Reclaim Space

Hi matou801,

To free up the space please try the following steps:

  1. Delete some unused snapshots. This may help you to reclaim some space.
  2. After deleting the snapshots, please compact the CPG. (Run the command тАЬcompactcpg -trimonly <name of the CPG>тАЭ)

Please use the given URL for more information on compacting CPG https://support.hpe.com/hpesc/public/videoDisplay?videoId=vtc00030632en_us

  1. You may try to change the volume type from FPVV to TPVV
  2. Check if you have enabled the deduplication and compression settings on the volume level.

 

Hope this helps.!

Regards

Anil

I work for HPE.
Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise.

Accept or Kudo

matou801
Occasional Contributor

Re: Reclaim Space

Hello AnilKT

Thanks for your return !

There are no snapshots and the volumes are also Compression and dedup enabled

 

                                                       ---------Snp---------- --------------Usr-------------- ---------------Total---------------
                                                       --(MiB)-- -(% VSize)-- ------(MiB)------ --(% VSize)-- ---------------(MiB)--------------- ---Efficiency---
Id Name                          Prov Compr Dedup Type Rsvd Used Used Wrn Lim     Rsvd     Used  Used Wrn Lim     Rsvd     Used   HostWr    VSize Compact Compress
 2 .shared.SSD_r1_0              dds  NA    No    base    0    0  0.0  --  --  3240704  3197102   4.8  --  --  3240704  3197102       -- 67108864      --       --
23  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0    88704    82470  20.1   0   0    88704    82470   193407   409600    4.97     1.14
30  XXXXXXXXXXXXXXXXXXX          tdvv Yes   Yes   base    0    0  0.0   0   0   199040   196730  38.4   0   0   199040   196730   332801   512000    2.60     1.16
31  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0   808960   807349  38.5   0   0   808960   807349  1854732  2097152    2.60     1.24
35  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0   112512   103428  25.3   0   0   112512   103428   269320   409600    3.96     1.19
37  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0   360960   351159  33.5   0   0   360960   351159   839483  1048576    2.99     1.16
38  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0  1422592  1395602  43.6   0   0  1422592  1395602  2513240  3198976    2.29     1.13
40  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0   614272   612327  34.7   0   0   614272   612327  1347016  1765376    2.88     1.14
42  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0   522496   516649  33.6   0   0   522496   516649   993407  1536000    2.97     1.13
44  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0   487680   486473  23.8   0   0   487680   486473  1212521  2048000    4.21     1.39
45  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0  1421824  1405448  36.1   0   0  1421824  1405448  3247763  3891200    2.77     1.22
48  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0   680064   673837  26.9   0   0   680064   673837  1510738  2506752    3.72     1.19
53  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0   569984   561581  53.6   0   0   569984   561581   966433  1048576    1.87     1.07
55  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0   414848   409820  43.5   0   0   414848   409820   761478   942080    2.30     1.15
59  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0    54912    52405  14.6   0   0    54912    52405   156811   358400    6.84     1.28
62  XXXXXXXXXXXXXXXXXXXXXXXXX    tdvv Yes   Yes   base    0    0  0.0   0   0   349568   196288  14.5   0   0   349568   196288   747835  1355776    6.91     1.16
 1 .srdata                       full NA    NA    base    0    0  0.0  --  --    81920    81920 100.0  --  --    81920    81920       --    81920      --       --
 0 admin                         full NA    NA    base    0    0  0.0  --  --    10240    10240 100.0  --  --    10240    10240       --    10240      --       --
 6 quorum_XXXXXXXXXXXXX          tpvv No    No    base 1024    0  0.0   0   0     1024       18   1.8   0   0     2048       18       18     1024     >25       --
------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

 

Thank you

 

 

 

AnilKT
HPE Pro

Re: Reclaim Space

Hi matou801,

Could you please run the commands and give the output.

showcpg

showcpg -d <name of the CPG>

showpd

Also, please tell us about the RAID configuration.

 

Hope this helps.!

Regards

Anil

I work for HPE.
Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise.

Accept or Kudo

matou801
Occasional Contributor

Re: Reclaim Space

Hello,

The disks are configured in RAID1.

 

showcpg
                         ----Volumes---- -Usage- -----------(MiB)-----------
Id Name            Warn% VVs TPVVs TDVVs Usr Snp     Base  Snp Free    Total
 3 CPG_DEDUP_RAID5     -   0     0     0   0   0        0    0    0        0
 0 SSD_r1              -  17     1    15  17  16 11361920 1024 9600 11372544
 1 SSD_r5              -   0     0     0   0   0        0    0    0        0
 2 SSD_r6              -   0     0     0   0   0        0    0    0        0
----------------------------------------------------------------------------
 4 total                                  17  16 11361920 1024 9600 11372544

 showcpg -d SSD_r1
                ----Volumes---- -Usage- -----------(MiB)----------- --LD--- -RC_Usage- -Shared-
Id Name   Warn% VVs TPVVs TDVVs Usr Snp     Base  Snp Free    Total Usr Snp  Usr   Snp  Version
 0 SSD_r1     -  17     1    15  17  16 11361920 1024 9600 11372544   0  46   16    16        3
-----------------------------------------------------------------------------------------------
 1 total                         17  16 11361920 1024 9600 11372544   0  46   16    16

 showpd
                           ---Size(MiB)---- ----Ports----
Id CagePos Type RPM State     Total    Free A      B      Capacity(GB)
 0 0:0:0   SSD  100 normal  3660800  306176 0:1:1* 1:1:1*         3840
 1 0:1:0   SSD  100 normal  3660800  284672 0:1:1* 1:1:1*         3840
 2 0:2:0   SSD  100 normal  3660800  302080 0:1:1* 1:1:1*         3840
 3 0:3:0   SSD  100 normal  3660800  283648 0:1:1* 1:1:1*         3840
 4 0:4:0   SSD  100 normal  3660800  302080 0:1:1* 1:1:1*         3840
 5 0:5:0   SSD  100 normal  3660800  283648 0:1:1* 1:1:1*         3840
 6 0:6:0   SSD  100 normal  3660800  299008 0:1:1* 1:1:1*         3840
 7 0:7:0   SSD  100 normal  3660800  283648 0:1:1* 1:1:1*         3840
----------------------------------------------------------------------
 8 total                   29286400 2344960

 

AnilKT
HPE Pro

Re: Reclaim Space

Hi matou801,

From the above output, I could see you have 16 snapshots that are drawing space from the same CPG SSD_r1 on which the base volumes were created.

You may try to change the CPG which is allocated to snapshots to draw the space.

Please refer the below link to change the CPG allocated to Snapshots

https://support.hpe.com/hpesc/public/videoDisplay?videoId=vtc00000989en_us

After this, please try compacting the CPG.

 

Hope this helps.!

Regards

Anil

I work for HPE.
Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise.

Accept or Kudo

matou801
Occasional Contributor

Re: Reclaim Space

@AnilKT Hello Anil,

I don't have access to the video. The contract has expired with my account. Can we recover this video in another way ?

Thank you.

Matthieu

 

 

AnilKT
HPE Pro

Re: Reclaim Space

Hi matou801,

Please follow the below steps to assign a Copy CPG to a virtual volume on HPE SSMC 

  1. Login to the HPE SSMC.  
  2. Go to the Main menu.  
  3. Click on Virtual Volumes under Block Persona.  
  4. Select a virtual volume from the list.  
  5. Go to the Actions menu at the top right corner. Click on тАЬEditтАЭ from the dropdown.  
  6. On the edit volume screen, click Advanced options check box.  
  7. Under the Protection and Additional Settings pane, click on Volume to assign the Copy CPG.  
  8. Use the тАЬSearchтАЭ button to search for a specific CPG by name or you may select the CPG from the list.
  9.  After making the changes, click ok to save the changes.

 

Hope this helps.!

Regards

Anil

I work for HPE.
Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise.

Accept or Kudo

matou801
Occasional Contributor

Re: Reclaim Space

@AnilKT Hello,

I made the modification on a volume to test, but unfortunately no improvement, worse I lost a few additional gigabytes.

Thank you