Re: [Hampshire] Detect USB or SATA drive

Top Page

Reply to this message
Author: James Courtier-Dutton via Hampshire
Date:  
To: Hampshire LUG Discussion List
CC: James Courtier-Dutton
Subject: Re: [Hampshire] Detect USB or SATA drive
On Thu, 30 Apr 2020 at 10:12, Rob Malpass via Hampshire
<hampshire@???> wrote:
> I have about 6 drives connected to my media server. 2 are inside the case connected by SATA (1 is the OS (Xenial) and the other is media). Then there are 4 connected externally (in one 4 bay das jbod).
>


You could try:
hdparm -i /dev/sda (Change sda for each device)
This will give output like:
Model=M4-CT512M4SSD1, FwRev=070H, SerialNo=0000000012310911C3A4

You could then look at the actual HDD to see which serial number each on is.

Kind Regards

James

--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------