41

I installed a dual boot of Ubuntu 16.04 (Windows being my other OS) two months ago to try it out. I want to allot more space to it on my hard drive. I was looking up tutorials, and I noticed that my filesystem names don't look anything like those in the tutorials. For example:

df -h

outputs:

output

How would I allot more space to Ubuntu (in layman's terms)?

2
  • 2
    Note that the title of your question is misleading. Although your disk device is simply named differently from the usual, that's not a problem. /dev/sd{x} is the name used by most conventional disks (spinning hard disks) and SSDs that connect via the SATA bus and in some other ways. The /dev/nvme... device name indicates newer NVMe "disks." On the partition table level, they're treated in the same way -- you must simply identify them with a different name.
    – Rod Smith
    Jul 5, 2017 at 17:02
  • Follow same tutorials. NVMe just means that you've gotba specific type of solid state drive Jul 5, 2017 at 17:03

1 Answer 1

51

This is normal if you have your disk connected through an NVM Express port instead of e.g. a traditional SATA port.

So just imagine in your case /dev/nvme0n1 being equivalent to /dev/sda and e.g. /dev/nvme0n1p6 (which is your / root partition) being equivalent to something like /dev/sda6.

Other than the naming, there should be no notable difference when it comes to simple partitioning operations like growing your root partition. Just follow the guide How to extend my root (/) partition? with your appropriate disk and partition names.

By the way, the command lsblk or lsblk -f can help you a lot to get a quick overview of your disk and partitioning structure and to look up the device names.

2
  • in AWS, I connected 2 two 300 GB drives at /dev/sdh and /dev/sdm. the nvme numbers are nvme3n1 and nvme5n1. How do I identify which drive is linked to which number? Sep 27, 2021 at 7:33
  • @HimanshuBansal Hi, comments are not a suitable place to ask for subthreads. Just create a new thread with your own issue to get help. Nov 3, 2022 at 14:39

Not the answer you're looking for? Browse other questions tagged .