Mount The Partition - Nvidia Clara Holoscan User Manual

Table of Contents

Advertisement

Clara Holoscan Developer Kit User Guide
First sector (2048-976773167, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-976773167, default
976773167):
Created a new partition 1 of type 'Linux' and of size 465.8 GiB.
3. Write the new partition table and exit using the "w" command:
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
4. Initialize the ext4 filesystem on the new partition. Enter "y" when prompted:
$ sudo mkfs -t ext4 /dev/nvme0n1
mke2fs 1.45.5 (07-Jan-2020)
Found a dos partition table in /dev/nvme0n1
Proceed anyway? (y,N) y
Discarding device blocks: done
Creating filesystem with 122096646 4k blocks and 30531584 inodes
Filesystem UUID: 004332a8-b255-4156-836c-7ea734cb78c0
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632,
2654208,
4096000,
78675968,
102400000
Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done

Mount the Partition

1. Create a directory for the mount point. These instructions will use the path /media/m2,
but any path can be used.
$ sudo mkdir /media/m2
2. Determine the UUID of the new partition. The UUID will be displayed as a symlink to the
/dev/nvme0n1 partition within the /dev/disk/by-uuid directory. For example, the
following output shows that the UUID of the /dev/nvme0n1 partition is 004332a8-b255-
4156-836c-7ea734cb78c0:
$
ls -l /dev/disk/by-uuid/ | grep nvme
lrwxrwxrwx
7ea734cb78c0 -> ../../nvme0n1
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=004332a8-b255-4156-836c-7ea734cb78c0 /media/m2 ext4 defaults 0 2
7962624,
11239424,
1
root
root
13
20480000,
Jun
2
15:13
004332a8-b255-4156-836c-
23887872,
71663616,

Advertisement

Table of Contents
loading

Table of Contents