On Linux I can use smartctl
to get a hard drive's vendor, model, firmware revision and serial number:
# smartctl -a /dev/sdb
smartctl 5.40 2010-07-12 r3124 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
Device: SEAGATE ST9300603SS Version: 0006
Serial number: 6SE1ZCSR0000B121LU63
Device type: disk
Transport protocol: SAS
Is the hard drive's serial number (here 6SE1ZCSR0000B121LU63
) guaranteed to be globally unique? Is it only unique for a specific vendor? Or even a specific model?