Generating storage system commands