[storage] use dir inside the server