Mount Partition; Setting Up Docker And Docker Storage On Ssd - Nvidia Clara AGX User Manual

Developer kit
Hide thumbs Also See for Clara AGX:
Table of Contents

Advertisement

Clara AGX – Getting Started
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

Mount Partition

1. Create a directory for the mount point. These instructions will use the path
/media/m2, but any path may be used if preferred.
$ 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
/dev/sda1

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": {
Size
Used Avail Use% Mounted on
229G
5.6M
229G
NVIDIA Confidential
0% /media/m2
12

Advertisement

Table of Contents
loading

Table of Contents