I am working with a custom carrier board with an NVIDIA Orin NX module and 1 TB NVMe SSD. I have successfully installed JetPack 6 (r36.3.0) and the SDK components on NVMe using SDK Manager. Now I am trying to clone the used sections of my 1 TB NVMe SSD to my host PC running Ubuntu 20.04.
While this command successfully initiated the cloning process, I had to cancel it due to insufficient space on my host PC. The command attempted to copy the entire 1 TB NVMe device, including both used(23GB) and unused storage.
Could you advise on how to clone only the used sections of the 1 TB SSD to my host PC, or suggest an alternative approach?
I am currently using a Connectech carrier board with the official BSP package. I have successfully flashed the system and installed essential packages, including TensorRT and cuDNN. Everything is functioning as expected.
I have been using the command sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -b my-custom-carrier-board-name, as described in the /Linux_for_Tegra/tools/backup_restore/README_backup_restore.txt Sorry for the typo about the previous command line.
The documentation you provided explains how to clone the APP partition from eMMC storage using “mmcblk0p1”. However, I am looking to clone the APP partition from a 1TB NVMe SSD.
Is it possible to clone the APP partition from a 1TB NVMe SSD in the same way as with eMMC storage?
To clone NVMe SSD storage, you can modify the nvbackup_paritions.sh file and replace line 169 with
MAINDEVICE_NAME=“nvme0n1”
There is also another modification that needs to be made that can be found in the ticket below.
Then rerun the command you have been using to backup the device. It is important to note that this command clones all partitions on the device, even unused/empty space, so you will either need 1 TB of storage on your local device or you will need to write the backup to store on an external storage device.
Thank you for your help.
Your advice worked perfectly, and I was able to back up and restore the device successfully.
I wanted to ask if there are any other methods for backing up and restoring processes more quickly. The current process for backing up and restoring a 1TB NVMe SSD takes a long time.
I have looked into this issue a little bit and do not currently know of a way to only clone used storage on the device. I’d suggest looking into physical M.2 Duplicators, which are cloning tools that offer 20Gbps data transfer rates, but this would require the removal of the NVMe from the Orin Nx, which is not ideal.