Categories
Tech

Formatting and Adding a Drive in Ubuntu Linux

lsblk to find device | fdisk to create partition | mke2fs device to create filesystem | mount -av to mount without reboot

Categories
Tech

Secure erase an NVMe drive

sudo apt install nvme-cli
sudo nvme format /dev/device -s 1