Hard drive serial Numbers.
Is there a command to list the hard drive serial numbers for the OS drives and an array? This is usefull for organizations who track serial numbers.
|
hdparm, sdparm, gsmartctl, smartctl
|
I cant remember the exact syntax, but you can use the smartctl command.
I checked the man page and it looks like the command is: Code:
smartctl --info /dev/hda |
Try
You can try:
Code:
apt-get install lshw Code:
lshw Hope this helps :twocents: |
Oh yea, you can also just run the dmidecode command.
|
@Kustom42 dmidecode does not provide the info.
@etech3, lshw is overkill while the ones suggested by me are more specific. |
Quote:
|
I think it may be showing my serial number due to it being a VM? I don't ever check for this info so I'm just trying to clarify here...
|
Quote:
|
Quote:
I edited my reply, I did mistake. Rather than serial no. I answered for UUID For this Answer is sdparm /dev/sdX or ls /dev/disk/by-id |
Quote:
|
All times are GMT -5. The time now is 01:49 AM. |