HPE 3PAR StoreServ Storage
1846249 Members
5472 Online
110255 Solutions
New Discussion

3par volume Defragmentation task failed

 
Omaroo7
Advisor

3par volume Defragmentation task failed

Hello

I have an issue that the task called defragmentation is failed .

I have a few question :

This task is system task run in repetitve schedule or when system realize that volume need defragmentation?

It have any relation with defragmenation on the Host operating system ?

If volume is fullly provisioned that it need defrag or not? It only defraged by host OS not by storage?

Only thinly volumes is being defraged by storage system ?

Why this task is being failed ?

Defragmentation Task issue.jpg

Thanks

5 REPLIES 5
sbhat09
HPE Pro

Re: 3par volume Defragmentation task failed

Hello @Omaroo7,

The system will periodically run the defragmentation task to bring the scattered free space back to the pool (CPG). I believe it it runs at CPG level, not on any volumes and nothing to do with the host OS.
For the reason why the task failed, please try to scroll down for further details of the task. Or you can run the command from CLI 'showtask -d 1763'.

Regards,
Srinivas Bhat

If you feel this was helpful please click the KUDOS! thumb below!
Note: All of my comments are my own and are not any official representation of HPE.



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Omaroo7
Advisor

Re: 3par volume Defragmentation task failed

Her is the output for one failed defragmentation process:

note : some values replaced by ****** like volume name

****** cli% showtask -d 1643
Id Type Name Status Phase Step -------StartTime------- ------FinishTime------- -Priority- ---User----
1643 defragmentation ********  failed --- --- 2022-10-21 18:15:02 EET 2022-10-21 18:15:02 EET n/a sys:3parsys

Detailed status:
2022-10-21 18:15:02 EET Created task.
2022-10-21 18:15:02 EET Started defrag process for VVs
2022-10-21 18:15:02 EET Failed to defrag VV ****** because admck exited abnormally
****** cli%

 

 

What is admck ? why exited abnormally?

 

sbhat09
HPE Pro

Re: 3par volume Defragmentation task failed

Hello @Omaroo7,

Can you please try to re-run the defrag task? If it still fails, run it again upto 3-4 times to ensure if it was a temporary error due to any issue or recurring.

Regards,
Srinivas Bhat

If you feel this was helpful please click the KUDOS! thumb below!
Note: All of my comments are my own and are not any official representation of HPE.



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
nutnon
Senior Member

Re: 3par volume Defragmentation task failed

I need to know , How to re-run the defrag task 
please show step by step If possible, that's good. 

Thank you,

AnilKT
HPE Pro

Re: 3par volume Defragmentation task failed

Hi nutnon,

Open the Putty session.

Run the command compactcpg <name of the cpg>

Note: This may take a while to complete.

For more information on how to run the defragmentation/Compacting please refer to the link given below to watch the video.

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

CLI commands reference guide: https://www.hpe.com/psnow/doc/c04204279

 

Hope this helps.!

Regards

Anil



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo