Contents
Simply type df on terminal to check the device names of your disks. Check the hard drive serial number using lshw.
Where is hard drive serial number stored?
Method 1: Check the Sticker Label
Open the PC case and look for a sticker or label on your physical hard drive. The serial number is listed after the word “Serial No”, “S/N” or “SN”. Some of hard drives have the QR code printed on the label.
How do I find disk details in Linux?
Commands like fdisk, sfdisk and cfdisk are general partitioning tools that can not only display the partition information, but also modify them.
- fdisk. Fdisk is the most commonly used command to check the partitions on a disk. …
- sfdisk. …
- cfdisk. …
- parted. …
- df. …
- pydf. …
- lsblk. …
- blkid.
13 авг. 2020 г.