changing disk partition sizes

By default my Drive AGX xavier machine has the following disk partitions created:

$ df -hT
Filesystem      Type      Size  Used Avail Use% Mounted on
/dev/vblkdev0p1 ext4       30G   27G  980M  97% /
none            devtmpfs   14G     0   14G   0% /dev
tmpfs           tmpfs      14G     0   14G   0% /dev/shm
tmpfs           tmpfs      14G   34M   14G   1% /run
tmpfs           tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs           tmpfs      14G     0   14G   0% /sys/fs/cgroup
/dev/vblkdev2   ext4      3.9G   16M  3.7G   1% /storage
/dev/vblkdev3   ext4      157G   11G  139G   7% /ota/pkg_data
tmpfs           tmpfs     2.8G   36K  2.8G   1% /run/user/1001
tmpfs           tmpfs     2.8G  8.0K  2.8G   1% /run/user/120

The partition mounted on ‘/’ is too small for out needs, is there a way to specify/change the partition sizes when flashing?

Dear anurag08upx,
Please check https://docs.nvidia.com/drive/drive_os_5.1.6.1L/nvvib_docs/index.html#page/DRIVE_OS_Linux_SDK_Development_Guide/Bootloader/partition_mass_storage_config.html# if it helps.

hello anurag08upx,

Adding on Siva’s comment above:
It is possible to change the partition size. But, it is generally discouraged.
As the Drive software stack is extensive, the partition sizes are laid out based on those needs.

To increase the size of one partition, the required size has to come from somewhere else.
e.g., if you want to increase the first partition on emmc, all the other partitions on that emmc
have to be reduced to claim enough space and also moved to make room for the first partition.

Also, with Virtual Storage Server in place, in addition to changing VM configuration for increasing
one partition size, the Virtual Storage Server configuration also needs to be updated according to new
partition sizes.

Because of these reasons and others, it is typically discouraged to modify system partition sizes.

Hi shayNV

Thanks for the explanation, that makes a lot of sense.

Is there a recommended way for adding more storage to the drive AGX? like an external HDD?

Hi anurag08upx,

yes, you can use the USB3 and eSATA interfaces on the Dev kit to connect an external HDD device, please refer to the back panel for the ilustration:
https://docs.nvidia.com/drive/drive_os_5.1.6.1L/nvvib_docs/DRIVE_OS_Linux_SDK_Development_Guide/Board/board_e3550.html#wwpID0E0TB0HA