Dell N3200-ON Open Networking Hardware Diagnostic Guide July 2022 - Page 71

storagetool, Output, Tests, CLI options

Page 71 highlights

smbiostool --getbiosnvram (or) smbiostool -g Update the bios with the specified BIOS NVRAM:= smbiostool --setbiosnvram (or) smbiostool -s Dump the DMI table:= smbiostool --biosdumpall (or) smbiostool -d Check whether the SPI flash was detected:= smbiostool --biosdumpfields (or) smbiostool -S for biosdumpfields:= -q Less verbose output -s Only display the value of the given DMI string -t TYPE Only display the entries of given type -u Do not decode the entries --dump-bin Dump the DMI data to a binary file --from-dump Read the DMI data from a binary file -V Display the version of dmidecode binary root@dellemc-diag-os:~# Output root@dellemc-diag-os:~# smbiostool --biosversion x.xx.x.x-x root@dellemc-diag-os:~# root@dellemc-diag-os:~# smbiostool --biosflashdetect Warning: BIOS region SMM protection is enabled! Warning: Setting Bios Control at 0xdc from 0xaa to 0x89 failed. New value is 0xaa. Warning: SPI Configuration Lockdown activated. FREG2: Warning: Management Engine region (0x00001000-0x01595fff) is locked. Not all flash regions are freely accessible by flashrom. This is most likely due to an active ME. Please see http://flashrom.org/ME for details. PR0: Warning: 0x01860000-0x01e6efff is read-only. PR1: Warning: 0x01e70000-0x01ffffff is read-only. Found Macronix flash chip "MX25L25635F" (32768 kB, Programmer-specific) at physical address 0x0. root@dellemc-diag-os:~# storagetool The storagetool tests mounted storage media. The tool searches for any device in /dev/hd*, sda, sdb, or sdc and tests using them. The tests are file-copy tests to the device in the mounted file system. The files are written, compared and removed, leaving the file system as it was before the test. You can run more tests using the bonnie++ tool and the tool reads SMART data from the device using the smart option. Tests The standard test creates a directory on the file system, opens a file for write, copies the file, compares the files, and reports errors. The test repeats 10 times. After the test completes successfully, storagetool removes all the test files. CLI options root@dellemc-diag-os:~# storagetool DellEmc Diag - Storage Tool version 2.0, x.xx.x.x-x build, 2019/07/03, Dell DIAG-OS tools 71

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81

smbiostool --getbiosnvram <FILEPATH>
(or)
smbiostool -g <FILEPATH>
Update the bios with the specified BIOS NVRAM:=
smbiostool --setbiosnvram <FILEPATH>
(or)
smbiostool -s <FILEPATH>
Dump the DMI table:=
smbiostool --biosdumpall
(or)
smbiostool -d
Check whether the SPI flash was detected:=
smbiostool --biosdumpfields <*options*>
(or)
smbiostool -S <*options*>
<*options*> for biosdumpfields:=
-q
Less verbose output
-s
Only display the value of the given DMI string
-t
TYPE
Only display the entries of given type
-u
Do not decode the entries
--dump-bin <FILE>
Dump the DMI data to a binary file
--from-dump <FILE>
Read the DMI data from a binary file
-V
Display the version of dmidecode binary
root@dellemc-diag-os:~#
Output
root@dellemc-diag-os:~# smbiostool --biosversion
x.xx.x.x-x
root@dellemc-diag-os:~#
root@dellemc-diag-os:~# smbiostool --biosflashdetect
Warning: BIOS region SMM protection is enabled!
Warning: Setting Bios Control at 0xdc from 0xaa to 0x89 failed.
New value is 0xaa.
Warning: SPI Configuration Lockdown activated.
FREG2: Warning: Management Engine region (0x00001000-0x01595fff) is locked.
Not all flash regions are freely accessible by flashrom. This is most likely
due to an active ME. Please see http://flashrom.org/ME for details.
PR0: Warning: 0x01860000-0x01e6efff is read-only.
PR1: Warning: 0x01e70000-0x01ffffff is read-only.
Found Macronix flash chip "MX25L25635F" (32768 kB, Programmer-specific) at physical
address 0x0.
root@dellemc-diag-os:~#
storagetool
The
storagetool
tests mounted storage media.
The tool searches for any device in
/dev/hd*
,
sda
,
sdb
, or
sdc
and tests using them. The tests are file-copy tests to the
device in the mounted file system. The files are written, compared and removed, leaving the file system as it was before the
test. You can run more tests using the
bonnie++ tool
and the tool reads SMART data from the device using the
smart
option.
Tests
The standard test creates a
directory
on the file system, opens a file for write, copies the file, compares the files, and
reports errors. The test repeats 10 times. After the test completes successfully,
storagetool
removes all the test files.
CLI options
root@dellemc-diag-os:~# storagetool
DellEmc Diag - Storage Tool
version 2.0, x.xx.x.x-x
build, 2019/07/03,
Dell DIAG-OS tools
71