
Clara AGX Developer Kit User Guide
$ sudo mkdir /media/m2
2.
Determine the UUID of the new partition.
The UUID will be displayed as a symlink to
the /dev/sda1 partition within the /dev/disk/by-uuid directory. For example, the
following output shows that the UUID of the /dev/sda1 partition is 4b2bb292-a4d8-
4b7e-a8cc-bb799dfeb925:
$ ls -l /dev/disk/by-uuid/ | grep sda1
lrwxrwxrwx 1 root root 10 Jan 28 10:05 4b2bb292-a4d8-4b7e-a8cc-
bb799dfeb925 -> ../../sda1
3.
Add the fstab entry.
Using the mount path and the UUID from the previous steps, add
the following line to the end of /etc/fstab:
UUID=4b2bb292-a4d8-4b7e-a8cc-bb799dfeb925 /media/m2 ext4 defaults 0 2
4.
Mount the partition.
The /etc/fstab entry above will mount the partition
automatically at boot time. To mount the partition immediately without rebooting
instead, use the mount command (and df to verify the mount):
$ sudo mount -a
$ df -h /dev/sda1
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 229G 5.6M 229G 0% /media/m2
5.
Manage permission on SSD.
Use the “chmod” command to manage file system access
permission. For example:
$ sudo chmod -R 777 /media/m2
Setting up Docker and Docker Storage on SSD
Install and Set up Docker and NVIDIA runtime
If Docker has not been installed in your system, follow the steps below.
1.
Install Docker:
$ sudo apt-get update
$ sudo apt-get install -y docker.io
2.
Configure docker by writing the following to /etc/docker/daemon.json:
{
"runtimes": {
"nvidia": {
"path": "/usr/bin/nvidia-container-runtime",
"runtimeArgs": []
}
},
"default-runtime": "nvidia"
}