I keep getting this:
module/wrapper.go:259 Error fetching data for metricset system.fsstat: filesystem list: GetFilesystemType failed: GetVolumeInformationW failed: The device is
module/wrapper.go:259 Error fetching data for metricset system.filesystem: error getting filesystem list: GetFilesystemType failed: GetVolumeInformationW failed: The device is not ready.
The enviroment is:
error.message error getting filesystem list: GetFilesystemType failed: GetVolumeInformationW failed: The device is not ready.
host.os.kernel 6.3.9600.19538 (winblue_ltsb_escrow.191014-1700)
host.os.name Windows Server 2012 R2 Standard
The change adds a call to Kernel32.GetVolumeInformationW to all drives on the system, but this will fail for certain drive types.
For example, on our system we get the drives A:\ C:\ D:\ L:\ where A is a floppy and D is a CD-ROM.
Both these two returns false when calling GetVolumeInformationW and that will stop metricbeat from working.
Right now you can only ignore certain filesystem types, but that filter will be applied on the result from making the syscall. Since the syscall fails, metricbeat stops reporting filesystem metrics.
I'm wondering why the Github issue got closed since it's been confirmed that the error is still present in 7.12.0. I hope we are not dropping the ball here, there's still a bunch of Windows VMs out there .