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

Some disks not found #1648

Closed
socol1 opened this issue Aug 18, 2016 · 6 comments
Closed

Some disks not found #1648

socol1 opened this issue Aug 18, 2016 · 6 comments

Comments

@socol1
Copy link

socol1 commented Aug 18, 2016

df -h
image
select * from disk where host ='digit-fdfs01' order by time desc limit 30

image

kapacitor-0.13.1.x86_64
influxdb-0.13.0.x86_64

uname -a
Linux digit-fdfs01 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

@phemmer
Copy link
Contributor

phemmer commented Aug 18, 2016

Can you provide the output of:

  • cat /proc/filesystems
  • grep /dev/sdb1 /etc/mtab
  • grep /dev/sdb1 /proc/mounts

@socol1
Copy link
Author

socol1 commented Aug 18, 2016

image

@phemmer
Copy link
Contributor

phemmer commented Aug 18, 2016

Hrm, that all looks fine at first glance. Was thinking maybe there was something in those files that the library telegraf uses didn't handle.

I'm assuming there's nothing special in your telegraf config? No ignore_fs tagdrop etc?

@socol1
Copy link
Author

socol1 commented Aug 19, 2016

image
The config is default, I think the problem is partition tool, I use the partition tool is parted ,not fdisk

@phemmer
Copy link
Contributor

phemmer commented Aug 22, 2016

Went through the code again, and I think I see something that might cause this to happen. Is telegraf running as an unprivileged user, or is it running as root? If it's running as an unprivileged user, does this user have access to the mount points?

@socol1
Copy link
Author

socol1 commented Aug 22, 2016

Good job, you are right, thanks phemmer ,the mount points is find

@sparrc sparrc closed this as completed Aug 22, 2016
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

3 participants