After writing some data to a redis server, I could read the data from a client. However, how can I find the data directory on the file system?
Quickest method: use redis-cli.
redis-cli config get dir
If you have authentication configured, you will need to pass that in using -a password
Replacing "password" with your password.