Trucrux Inc

Testing SSD

Before you begin testing, ensure the SSD is properly mounted on your system. Follow these steps to mount the SSD:

Identify SSD: #

$ lsblk

output:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mmcblk0 179:0 0 14.6G 0 disk 
|-mmcblk0p1 179:1 0 7.2G 0 part /
|-mmcblk0p2 179:2 0 7.2G 0 part 
`-mmcblk0p3 179:3 0 200M 0 part 
mmcblk0boot0 179:32 0 4M 1 disk 
mmcblk0boot1 179:64 0 4M 1 disk 
nvme0n1 259:0 0 953.9G 0 disk 
`-nvme0n1p1 259:1 0 953.9G 0 part

Create a Mount point: #

$ mkdir /mnt/ssd

Mount the SSD partition:

$ mount /dev/nvme0n1p1 /mnt/ssd

Verify the Mount:

$ df -h | grep /mnt/ssd

output:
/dev/nvme0n1p1 938G 1.1G 890G 1% /mnt/ssd

 

Write Speed Test: #

$ sudo dd if=/dev/zero of=/mnt/ssd/testfile bs=1G count=1 oflag=direct

Read Speed Test: #

$ sudo dd if=/mnt/ssd/testfile of=/dev/null bs=1G count=1 iflag=direct

After testing, you can remove the test file:

$ sudo rm /mnt/ssd/testfile

Unmount the SSD

$ sudo umount /mnt/ssd

Verify the umount

$ df -h | grep /mnt/ssd