Jetson nano showing 16GB instead of 64GB


flashed OS images using SDK manager into jetson nano, it is 64GB card showing only 16GB.

how to get the remaining storage,

If burned the card through etcher it works, but doesn’t work with SDK manager


Hi @priyanshthakore, please refer to this thread:

The problem is that the partition and file system is only 16 GB. You need to expand it to fill the rest of the disk.

You can open the partition table from the command line on the Jetson with:

sudo fdisk /dev/mmcblk0

You can then see the partitions with “p”:

Command (m for help): p
Disk /dev/mmcblk0: 59.5 GiB, 63864569856 bytes, 124735488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D048AD43-24FD-4DED-B06E-7BB8ED98158C

Device          Start       End   Sectors  Size Type
/dev/mmcblk0p1  24576 124735454 124710879 59.5G Linux filesystem
/dev/mmcblk0p2   2048      2303       256  128K Linux filesystem
/dev/mmcblk0p3   4096      4991       896  448K Linux filesystem
/dev/mmcblk0p4   6144      7295      1152  576K Linux filesystem
/dev/mmcblk0p5   8192      8319       128   64K Linux filesystem
/dev/mmcblk0p6  10240     10623       384  192K Linux filesystem
/dev/mmcblk0p7  12288     13439      1152  576K Linux filesystem
/dev/mmcblk0p8  14336     14463       128   64K Linux filesystem
/dev/mmcblk0p9  16384     17663      1280  640K Linux filesystem
/dev/mmcblk0p10 18432     19327       896  448K Linux filesystem
/dev/mmcblk0p11 20480     20735       256  128K Linux filesystem
/dev/mmcblk0p12 22528     22687       160   80K Linux filesystem

Partition table entries are not in disk order.

Command (m for help):

You will see that I have already expanded my partition. To do that, you need to delete the first partition, that Linux root lives on. Write down the start of the partition before you do this!
Then, create a new partition, give it the same partition number (0) and make it start at the number you wrote down, but extend to the end of the disk.
Write the partition table with “w” and exit fdisk.

Run “sync” just for good measusre.

Now, resize the Linux file system:

sudo resize2fs /dev/mmcblk0p1

Run “sync” just for good measusre.

Once all this is done, you’re done! “df” should show all of your space available (like the printout above)

sudo fdisk /dev/mmcblk0p1

Welcome to fdisk (util-linux 2.31.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): p
Disk /dev/mmcblk0p1: 14 GiB, 15032385536 bytes, 29360128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x048bc42f

Command (m for help): d
No partition is defined yet!
Could not delete partition 366604706817

Command (m for help):

This is what i am getting

Sorry, my mistake! I pasted the wrong path for the device – you must run fdisk on the root device, not on a partition.

sudo fdisk /dev/mmcblk0

If you don’t know how disk partitions work in general, it may be useful to read up on that topic in general before you do this. It’s also a good idea to do this on a fresh disk you can easily re-create if it goes wrong, because if something doesn’t work out, there’s a chance that your file system gets corrupted and anything you’ve stored on it becomes unreadable.

I think resize2fs expects a partition (in this case /dev/mmcblk0p1)

1 Like

Yes, the command that needed the original disk was fdisk, not resize2fs.
resize2fs takes a partition.
I had them flipped in the original post – fixed now, to avoid confusing someone else reading this thread! Thanks for the assist.