Question: how many pcie lanes does m.2 use?
Answer: The M. 2 specification provides up to four PCI Express lanes and one logical SATA 3.0 (6 Gbit/s) port, and exposes them through the same connector so both PCI Express and SATA storage devices may exist in the form of M. 2 modules.