Suppose that $M$ is compact subset of a Banach space X. Is $M$ relatively compact too?

As far as I know, there is a characterisation of compact sets via Hausdorff $\varepsilon$ - net theorem and it's the same for compact and relatively compact sets. So the answer should be positive.