On Wed, 27 May 2015 14:10:03 +0200 Carsten Aulbert <Carsten.Aulbert@xxxxxxxxxx> wrote: > On 05/27/2015 02:04 PM, Michael Munger wrote: > > Or, does the OS have access to serial numbers, etc...? > > > > I have to guide someone through a drive replacement on the phone, and it > > would be great if I could tell them exactly which drive to swap out... > > If you have direct knowledge, which serial number is where, you could > use hdparm -I /dev/sdX or smartctl -a /dev/sdX against the still > reachable drives. If /dev/sdc is still present in the system (even if not responding correctly to hdparm or smartctl anymore), you should be able to find its serial number from the udev symlink that was registered earlier, by running e.g.: ls -la /dev/disk/by-id/ | grep sdc$ Serial number is typically the last piece of the ID, after the manufacturer name and model number. -- With respect, Roman
Attachment:
signature.asc
Description: PGP signature