2

I'm trying to figure out where all the logs are stored for a LSI MegaRAID controller on a Linux system. I know how to query, dump, and clear the logs using storcli. However, even if the logs are cleared, you can still access the deleted entries with type=includedeleted.

So I'd like to know where all of this data is being stored so it doesn't eat up space in a partition that isn't sufficiently sized to handle that.

I've looked under /var/log, but don't see anything there.

  • You could run storcli under strace or sysdig and see what files it touches. – thrig Feb 27 '17 at 17:38
  • In the vast majority of cases this kind of hardware logs are stored in a NVRAM. They are not files on disk, you can only access them with some controller-specific program (in your case storcli). Which makes sense, since your controller doesn't know, nor cares, about the OS you're running. – Satō Katsura Feb 27 '17 at 18:15
  • @SatoKatsura That makes sense. So I assume, then, that the controller truncates the logs automatically if they get too long. – orodbhen Feb 27 '17 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.