How to get the serial number of a SunFire V20Z Server
July 2013.
yourhost# ipmitool fru
FRU Device Description : Builtin FRU Device (ID 0)
Error receiving message: Input/output error
Chassis Type : Rack Mount Chassis
Chassis Part Number : 602-2844-01
Chassis Serial : XG123456789
Board Mfg Date : Mon Jan 24 00:00:00 2005
Board Mfg : S-SCI448
Board Product : NWSBIDff
Board Serial : M123M45E
Board Part Number : S02035
Product Manufacturer : Sun Microsystems
Product Name : Sun Fire(tm) V20z
Product Part Number : 602-2844-01
Product Version : A02
Product Serial : XG123456
FRU Device Description : cpu0.mem0.vpd (ID 1)
Board Mfg Date : Sat Jan 15 00:00:00 2005
Board Mfg : ce00000000000000
Board Product : 1GB DDR333 (PC2700) ECC
Board Serial : 02013815
Board Part Number : M3 12L2820EG0-CB3
Product Manufacturer : ce00000000000000
Product Name : 1GB DDR333 (PC2700) ECC
Product Part Number : M3 12L2820EG0-CB3
Product Version : 3045
Product Serial : 02123456
FRU Device Description : cpu0.mem1.vpd (ID 2)
Board Mfg Date : Sat Jan 15 00:00:00 2005
Board Mfg : ce00000000000000
Board Product : 1GB DDR333 (PC2700) ECC
Board Serial : 02053817
Board Part Number : M3 12L2820EG0-CB3
Product Manufacturer : ce00000000000000
Product Name : 1GB DDR333 (PC2700) ECC
Product Part Number : M3 12L2820EG0-CB3
Product Version : 3045
Product Serial : 02123456
[...]
This works at least on FreeBSD.