Project

General

Profile

Actions

Support #50309

closed

bluestore_min_alloc_size_hdd = 4096

Added by Greg Smith about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

Hi,
We’ve changed ‘bluestore_min_alloc_size_hdd’ to 4096 in ceph.conf and deployed disks with the new configuration.
The recovery has finished and we want to make sure the block size is indeed 4096 on the physical disks.
How can we do that?

Actions #1

Updated by Greg Smith almost 3 years ago

We encountered a problem that we have some of the disks that are both old and new and we have no ability to identify them.

Actions #2

Updated by Loïc Dachary almost 3 years ago

  • Target version changed from v14.2.20 to v14.2.21
Actions #3

Updated by Greg Smith almost 3 years ago

Can someone help?

Actions #4

Updated by Dan van der Ster almost 3 years ago

min_alloc_size is printed in hex at debug_bluestore level 10 when the superblock is opened:

int BlueStore::_open_super_meta()
{
...
    dout(10) << __func__ << " min_alloc_size 0x" << std::hex << min_alloc_size
             << std::dec << dendl;

commit 4087f82aea674df4c7b485bf804f3a9c98ae3741 makes that more visible by logging at level 1, but that wasn't backported to nautilus or octopus.

Actions #5

Updated by Greg Smith almost 3 years ago

Thanks.

Actions #6

Updated by Dan van der Ster almost 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Dan van der Ster

This have now been backported to the next nautilus/octopus release. #50549 #50550

Actions #7

Updated by Loïc Dachary almost 3 years ago

  • Target version changed from v14.2.21 to v14.2.22
Actions

Also available in: Atom PDF