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

Incorrect Storage Size for NVMe #1023

Open
nchizhov opened this issue Aug 14, 2022 · 0 comments
Open

Incorrect Storage Size for NVMe #1023

nchizhov opened this issue Aug 14, 2022 · 0 comments

Comments

@nchizhov
Copy link

Using version 2.6

When try to get storage size of NVMe disk - it's return 0.

Problem in hdparm - it's return incorrect data for NVMe disks. If I try to comment^

for my $k (qw(MODEL FIRMWARE SERIALNUMBER DISKSIZE)) {
     $storage->{$k} = $info->{$k} if defined $info->{$k};
}

disk size returned correct disksize.

@nchizhov nchizhov changed the title Incorrect Storage Size Incorrect Storage Size for NVMe Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant