Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize NVMe sector size on snap-01 #1140

Open
Firefishy opened this issue Aug 8, 2024 · 1 comment
Open

Resize NVMe sector size on snap-01 #1140

Firefishy opened this issue Aug 8, 2024 · 1 comment
Labels
location:amsterdam Equinix AM6 data centre

Comments

@Firefishy
Copy link
Member

The NVMe disks in snap-01 are using 512 sectors instead of 4096 byte sectors. The sector size should likely be changed if boosts performance.

LBA Format  0 : Metadata Size: 0   bytes - Data Size: 512 bytes - Relative Performance: 0 Best (in use)
LBA Format  1 : Metadata Size: 0   bytes - Data Size: 4096 bytes - Relative Performance: 0 Best

Changing the disk sector size formats the disk, the sector size needs to be carefully coordinated with mdadm.

Outline steps:

  1. Confirm array idle via /proc/mdstats
  2. mdadm --fail
  3. mdadm --remove
  4. nvme format --lbaf=1
  5. mdadm --add

(repeat disk by disk across all 9 disks)

@Firefishy Firefishy added the location:amsterdam Equinix AM6 data centre label Aug 8, 2024
@Firefishy
Copy link
Member Author

Related #1139

@Firefishy Firefishy added this to the 2024 AM6 Visit milestone Sep 15, 2024
@Firefishy Firefishy removed this from the 2024 AM6 Visit milestone Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
location:amsterdam Equinix AM6 data centre
Projects
None yet
Development

No branches or pull requests

1 participant