You can easily find out the (unique) serial number of your hard drive sda by executing this command:
smartctl -i /dev/sda
The output will look something like this (look at the line beginning with "Serial Number":
smartctl 5.42 2011-10-20 r3458 [i686-linux-2.6.18-348.12.1.el5] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Western Digital RE4 Serial ATA
Device Model: WDC WD5003ABYX-01WERA1
Serial Number: WD-WMAYP4866515
LU WWN Device Id: 5 0014ee 0037181ac
Firmware Version: 01.01S02
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Wed Aug 7 20:24:12 2013 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
The serial number in question is also printed on the disk itself.
Obviously, the command
smartctl -i /dev/sdb
will display the serial number of the second drive.
BTW, the command
smartctl -a /dev/sda
will display all parameters of disk sda, which gives you a good idea about the "health" status of this hard drive.