msgbartop
MAC OS X, Linux, Windows and other IT Tips and Tricks
msgbarbottom

12 Oct 14 Find the USB drive information using smartmontools in Debian

You have inserted some drives in a USB port and want to know some information about the drive:
Example:
Command to find the list of storage devices:
fdisk -l
Result:
Disk /dev/sda: 999.2 GB, 999156310016 bytes
255 heads, 63 sectors/track, 121473 cylinders, total 1951477168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
.
Device Boot Start End Blocks Id System
/dev/sda1 1 1951477167 975738583+ ee GPT

Find more info about the drive:
apt-get install smartmontools
/usr/sbin/smartctl -a -d scsi /dev/sda

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: