Project

General

Profile

Actions

Support #24394

closed

Can I increase the pg_num and pgp_num of a replicated pool on the fly?

Added by 宏伟 唐 almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

I have a cluster with an erasure-code pool as the backend storage and a replicated pool as the cache tier of the erasure-code pool. Can I increase the pg_num and pgp_num of the replicated pool (the cache-tier pool) when the pool is still serving I/O requests? Is there any risk on this operation?

When I submit the following command on my production cluster:
"ceph osd pool set reppool pg_num 128",
an error message is printed on the console: "Error EPERM: splits in cache pools must be followed by scrubs and leave sufficient free space to avoid overfilling. use --yes-i-really-mean-it to force."

How should I do in this case?

Thanks a lot.

Actions #1

Updated by Greg Farnum almost 6 years ago

  • Status changed from New to Closed

This is a question for ceph-users, not the tracker. :)

Actions

Also available in: Atom PDF