Contents
The disk names in Linux are alphabetical. /dev/sda is the first hard drive (the primary master), /dev/sdb is the second etc. The numbers refer to partitions, so /dev/sda1 is the first partition of the first drive.
How do I find disk information in Linux?
Try the following commands for SCSI and hardware RAID based devices:
- sdparm Command – fetch SCSI / SATA device information.
- scsi_id Command – queries a SCSI device via the SCSI INQUIRY vital product data (VPD).
- Use smartctl To Check Disk Behind Adaptec RAID Controllers.
- Use smartctl Check Hard Disk Behind 3Ware RAID Card.
How do I find my primary and extended partition in Linux?
You can check if the partition is primary or extended from this. Hope this helps! Try fdisk -l and df -T and align the devices fdisk reports to the devices df reports. A standard MBR disk can contain only 4 primary partitions or 3 primary and 1 extended.