List disks and its partitions
lsblk
sda 8:0 0 119.2G 0 disk
├─sda1 8:1 0 1G 0 part /boot/efi
├─sda2 8:2 0 2G 0 part /boot
└─sda3 8:3 0 116.2G 0 part
└─ubuntu--vg-ubuntu--lv 253:0 0 116.2G 0 lvm /
Use dd
to check speed
# Where sda3 is the partition on the disk we want to test
sudo dd if=/dev/sda3 of=/tmp/test1.img bs=1G count=1 oflag=dsync && sudo rm /tmp/test1.img