Extend root file system of Jetson AGX xavier

Module information:

Software Version: Jetson-AGX Jetpack 5.1.1 [L4T 35.3.1], ubuntu 20.04.6 LTS
Hardware Platform: NVIDIA Jetson™ AGX Xavier DevKit (E3550)
Has flashed through SDK Manager .


After flashing jetpack, I installed 2TB SSD to the jetson and did partition 1.5TB of it(0.5TB is left), mounted and using well(It has data).

But now, Root has left only 4% available memory out of 32GB.

What I want to do is by using 0.5TB SSD, expand Root size.

I searched from the Internet but couldn’t find proper content.
If you know the step of doing it or some links, provide it please~

Best~

Is your HW the DRIVE AGX Xavier devkit or Jetson AGX Xavier devkit?

Sorry, I editted the post from Drive to Jetson.

Hardware is Jetson Agx Xavier~

Moving to Jetson AGX Xavier forum.

So where does the rootfs reside?
In the eMMC or the NVMe drive?

If you mean something like combining the 0.5TB partition on the NVMe drive and the 32GB eMMC, then it’s not possible.

I am new to jetson module and ubuntu also, so I have no enough understanding of this…

if I do

$df -h 

it shows

# for root
/dev/mmcblk0p1    28G   25G  1.2G  96% /

#for 0.5Tb
/dev/nvme0n1p2    xxG  xxG  xxG   1% /mnt/xavier_ssd500G

So, It means It’s not possible to expand the root size?

How other people expand the root?

NO.

The only way would be to re-flash the device to use the NVMe drive as the rootfs.
If you are using SDK Manager with 5.1.2, remember to do this:

Got it, Thank you for your reply!

Incidentally, if you want to mount on some particular location, e.g., “/home” (which is popular on desktop PCs), or “/usr/local” (which is where most Jetson CUDA software is), then that is much easier than flashing to the new drive (which uses initrd flash).

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.