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

/proc/diskstats reporting stats to wrong/unknown device #667

Open
shlokshah-dev opened this issue Dec 17, 2024 · 0 comments
Open

/proc/diskstats reporting stats to wrong/unknown device #667

shlokshah-dev opened this issue Dec 17, 2024 · 0 comments

Comments

@shlokshah-dev
Copy link

Required information

  • Distribution:
    • cat /etc/os-release or cat /etc/lsb-release
      DISTRIB_ID=Ubuntu
      DISTRIB_RELEASE=22.04
      DISTRIB_CODENAME=jammy
      DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
  • LXCFS version:
  • The output of
    • cat /proc/1/mounts
      /dev/nvme0n1 /var/lib/kubelet/plugins/kubernetes.io/csi/containerstorage.csi.azure.com/23b54db93fa03ea1d2fa7c4f33c3ff02aa274d2d7643903bff843c1fae6c1778/globalmount ext4 rw,relatime,stripe=32 0 0

Issue description

The /proc/diskstats file reports the following -

   0       0 nvme0c0n1 162 2 5122 480 18918 8384 218384 118074 0 151248 169966 0 0 0 0 7740 51411
 259       1 nvme0n1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

I'm reading the diskstat file and matching the Maj:Min number from lsblk to match the stats (which is 259 and 1). But the diskstats are being reported for the first device with Maj:Min 0:0.

Need Help

Need help in understanding why the diskstat is adding the c0 namespace?
If this is a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant