Last Updated: 10/11/2024
This post is just used to document and gather some information. In a perfect world I might end up reviewing scripts which can collect information about a system. Much like SUSEs supportconf which gathers a series of reports; creates a tarball and ships them back to SUSE under the case number.
root@nas1:/home/ubuntu# sudo dmidecode -t 2
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: ASRock
Product Name: QC5000-ITX
Version:
Serial Number: M80-53020000240
Asset Tag:
Features:
Board is a hosting board
Board is replaceable
Location In Chassis:
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
Additional info that can be gathered.
From SUSE:
supportconf is a tools which gathers a number of reports and sticks it in a tarball. It then uses curl to post the data back to SUSE.
supportconf -r <caseid>
To gather memory
root@nas1:/home/ubuntu# cat /proc/meminfo | grep MemTotal
MemTotal: 3425976 kB
To list block devices
root@nas1:/home/ubuntu# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 931.5G 0 disk
├─vg00-lvnfs 252:0 0 3.6T 0 lvm /mnt/lvnfs
└─vg00-lviso 252:1 0 600G 0 lvm /mnt/lviso
sdb 8:16 0 1.8T 0 disk
├─vg00-lvnfs 252:0 0 3.6T 0 lvm /mnt/lvnfs
└─vg00-lvkvm 252:2 0 351G 0 lvm
sdc 8:32 0 931.5G 0 disk
└─vg00-lvnfs 252:0 0 3.6T 0 lvm /mnt/lvnfs
sdd 8:48 0 931.5G 0 disk
└─vg00-lvnfs 252:0 0 3.6T 0 lvm /mnt/lvnfs
sde 8:64 1 119.5G 0 disk
├─sde1 8:65 1 1M 0 part
├─sde2 8:66 1 2G 0 part /boot
└─sde3 8:67 1 117.5G 0 part
└─ubuntu--vg-ubuntu--lv 252:3 0 58.8G 0 lvm /
To enumerate the blkids. This is especially helpful for working out the details of mounting block devices at boot time through the use of the fstab file. Please note in that instance the UUID of the actual mapped logical volume (as opposed to each of the BLOCK devices which contribute to the logical volume built by aggregating multiple block devices.
root@nas1:/home/ubuntu# blkid
/dev/mapper/vg00-lviso: UUID="9b053ea8-b1a3-425d-a5c4-e75c1df2e578" BLOCK_SIZE="4096" TYPE="ext3"
/dev/sdd: UUID="aJuaUi-kMs3-4vrN-fmiQ-9wex-Nh1O-O8Cjj1" TYPE="LVM2_member"
/dev/sdb: UUID="GfHHvW-IsyF-xEE5-eBTJ-bWO8-SXYo-7l36Qw" TYPE="LVM2_member"
/dev/mapper/vg00-lvkvm: UUID="1121426b-a28e-46a1-9894-74e31b26eb29" SEC_TYPE="ext2" BLOCK_SIZE="4096" TYPE="ext3"
/dev/mapper/vg00-lvnfs: UUID="276bdf35-1b2c-47f7-890d-e2ffbf6a63a3" BLOCK_SIZE="4096" TYPE="ext3"
/dev/sde2: UUID="e50cc390-58f3-4932-93d2-90fb7777d0d0" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="c091d0d9-a331-4095-b637-e65120adc2a4"
/dev/sde3: UUID="nK6MZm-7Ya1-AKYT-9XOS-k7VV-iOaM-bk64Vd" TYPE="LVM2_member" PARTUUID="45b9c717-8ece-42c5-8eac-cea6a0f9a578"
/dev/sdc: UUID="x8fv8u-dPjR-VpEJ-T38H-fcM3-TUtV-5DmTnM" TYPE="LVM2_member"
/dev/sda: UUID="VHYFMs-jtwe-buzU-9XtH-3ZlG-mF2v-Yg4uNe" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-ubuntu--lv: UUID="2612220c-0e7a-403b-8921-d75eecd46912" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sde1: PARTUUID="c478391d-e163-42be-9d06-09aab2de5ae1"
References:
https://askubuntu.com/questions/179958/how-do-i-find-out-my-motherboard-model