Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -q --quiet option - anonymize serial numbers #366

Conversation

PartialVolume
Copy link
Collaborator

Anonymize the serial numbers in the gui, the
log and the summary table.

If a serial number was obtained from the device,
it is replaced with "XXXXXXXXXXXXXXX".

If the serial number could not be obtained from the
device, it's replaced with "???????????????".

nwipe_serial_numbers_anonymized_when_serial_number_not_obtainable

nwipe_serial_numbers_anonymized_when_serial_number_not_obtainable_wipe_complete

sudo ./nwipe -v -q /dev/loop39 /dev/loop40
[2021/11/15 18:24:12]    info: nwipe 0.32.006
[2021/11/15 18:24:12]    info: Linux version 5.11.0-38-generic (buildd@lgw01-am
                               d64-041) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.
                               3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #42
                               ~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07 UTC 202
                               1
[2021/11/15 18:24:12]   debug: Readlink: ../devices/virtual/block/loop39 
[2021/11/15 18:24:12]   debug: smartctl: smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-38-generic] (local build) 
[2021/11/15 18:24:12]   debug: smartctl: Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org 
[2021/11/15 18:24:12]   debug: smartctl: /dev/loop39: Unable to detect device type 
[2021/11/15 18:24:12]   debug: smartctl: Please specify device type with the -d option. 
[2021/11/15 18:24:12]   debug: smartctl: Use smartctl -h to get a usage summary 
[2021/11/15 18:24:12] warning: /dev/loop39 USB bridge, no pass-through support
[2021/11/15 18:24:12]  notice: Found /dev/loop39, VIRT, Loopback device, 524 MB, S/N=???????????????
[2021/11/15 18:24:12]   debug: Readlink: ../devices/virtual/block/loop40 
[2021/11/15 18:24:12]   debug: smartctl: smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-38-generic] (local build) 
[2021/11/15 18:24:12]   debug: smartctl: Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org 
[2021/11/15 18:24:12]   debug: smartctl: /dev/loop40: Unable to detect device type 
[2021/11/15 18:24:12]   debug: smartctl: Please specify device type with the -d option. 
[2021/11/15 18:24:12]   debug: smartctl: Use smartctl -h to get a usage summary 
[2021/11/15 18:24:12] warning: /dev/loop40 USB bridge, no pass-through support
[2021/11/15 18:24:12]  notice: Found /dev/loop40, VIRT, Loopback device, 524 MB, S/N=???????????????
[2021/11/15 18:24:12]  notice: bios-version = E16F2IM7 V5.0E
[2021/11/15 18:24:12]  notice: bios-release-date = 01/10/2012
[2021/11/15 18:24:12]  notice: system-manufacturer = MEDION
[2021/11/15 18:24:12]  notice: system-product-name = X681X
[2021/11/15 18:24:12]  notice: system-version = To be filled by O.E.M.
[2021/11/15 18:24:12]  notice: system-serial-number = To be filled by O.E.M.
[2021/11/15 18:24:12]  notice: system-uuid = 03000200-0400-0500-0006-000700080009
[2021/11/15 18:24:12]  notice: baseboard-manufacturer = MEDION
[2021/11/15 18:24:12]  notice: baseboard-product-name = X681X
[2021/11/15 18:24:12]  notice: baseboard-version = To be filled by O.E.M.
[2021/11/15 18:24:12]  notice: baseboard-serial-number = To be filled by O.E.M.
[2021/11/15 18:24:12]  notice: baseboard-asset-tag = To be filled by O.E.M.
[2021/11/15 18:24:12]  notice: chassis-manufacturer = To Be Filled By O.E.M.
[2021/11/15 18:24:12]  notice: chassis-type = Notebook
[2021/11/15 18:24:12]  notice: chassis-version = To be filled by O.E.M.
[2021/11/15 18:24:12]  notice: chassis-serial-number = To Be Filled By O.E.M.
[2021/11/15 18:24:12]  notice: chassis-asset-tag = To Be Filled By O.E.M.
[2021/11/15 18:24:12]  notice: processor-family = Core i7
[2021/11/15 18:24:12]  notice: processor-manufacturer = Intel
[2021/11/15 18:24:12]  notice: processor-version = Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
[2021/11/15 18:24:12]  notice: processor-frequency = 800 MHz
[2021/11/15 18:24:12]  notice: Opened entropy source '/dev/urandom'.
[2021/11/15 18:24:12]  notice: hwmon: Module drivetemp loaded, drive temperatures available
[2021/11/15 18:24:12]  notice: hwmon: Device /dev/loop39 hwmon path = 
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_crit
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_highest
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_input
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_lcrit
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_lowest
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_max
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_min
[2021/11/15 18:24:12]  notice: hwmon: Device /dev/loop40 hwmon path = 
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_crit
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_highest
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_input
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_lcrit
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_lowest
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_max
[2021/11/15 18:24:12]  notice: hwmon: Unable to  open /temp1_min
[2021/11/15 18:24:21]  notice: Program options are set as follows...
[2021/11/15 18:24:21]  notice:   autonuke = 0 (off)
[2021/11/15 18:24:21]  notice:   autopoweroff = 0 (off)
[2021/11/15 18:24:21]  notice:   banner   = nwipe 0.32.006
[2021/11/15 18:24:21]  notice:   prng     = Mersenne Twister
[2021/11/15 18:24:21]  notice:   method   = Fill With Zeros
[2021/11/15 18:24:21]  notice:   quiet    = 1
[2021/11/15 18:24:21]  notice:   rounds   = 1
[2021/11/15 18:24:21]  notice:   sync     = 100000
[2021/11/15 18:24:21]  notice:   verify   = 1 (last pass)
[2021/11/15 18:24:21]  notice: /dev/loop39 has serial number ???????????????
[2021/11/15 18:24:21]  notice: /dev/loop39, sect/blk/dev 512/4096/524288000
[2021/11/15 18:24:21]  notice: /dev/loop40 has serial number ???????????????
[2021/11/15 18:24:21]  notice: /dev/loop40, sect/blk/dev 512/4096/524288000
[2021/11/15 18:24:21]  notice: Invoking method 'Fill With Zeros' on /dev/loop39
[2021/11/15 18:24:21]  notice: Starting round 1 of 1 on /dev/loop39
[2021/11/15 18:24:21]  notice: Starting pass 1/1, round 1/1, on /dev/loop39
[2021/11/15 18:24:21]  notice: Invoking method 'Fill With Zeros' on /dev/loop40
[2021/11/15 18:24:21]  notice: Starting round 1 of 1 on /dev/loop40
[2021/11/15 18:24:21]  notice: Starting pass 1/1, round 1/1, on /dev/loop40
[2021/11/15 18:24:33]  notice: 524288000 bytes written to /dev/loop39
[2021/11/15 18:24:33]  notice: Finished pass 1/1, round 1/1, on /dev/loop39
[2021/11/15 18:24:33]  notice: Finished final round 1 of 1 on /dev/loop39
[2021/11/15 18:24:33]  notice: Blanking device /dev/loop39
[2021/11/15 18:24:34]  notice: 524288000 bytes written to /dev/loop40
[2021/11/15 18:24:34]  notice: Finished pass 1/1, round 1/1, on /dev/loop40
[2021/11/15 18:24:34]  notice: Finished final round 1 of 1 on /dev/loop40
[2021/11/15 18:24:34]  notice: Blanking device /dev/loop40
[2021/11/15 18:24:45]  notice: 524288000 bytes written to /dev/loop40
[2021/11/15 18:24:45]  notice: Verifying that /dev/loop40 is empty.
[2021/11/15 18:24:46]  notice: 524288000 bytes read from /dev/loop40
[2021/11/15 18:24:46]  notice: [SUCCESS] Verified that /dev/loop40 is empty.
[2021/11/15 18:24:46]  notice: [SUCCESS] Blanked device /dev/loop40
[2021/11/15 18:24:48]  notice: 524288000 bytes written to /dev/loop39
[2021/11/15 18:24:48]  notice: Verifying that /dev/loop39 is empty.
[2021/11/15 18:24:48]  notice: 524288000 bytes read from /dev/loop39
[2021/11/15 18:24:48]  notice: [SUCCESS] Verified that /dev/loop39 is empty.
[2021/11/15 18:24:48]  notice: [SUCCESS] Blanked device /dev/loop39
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_crit
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_highest
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_input
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_lcrit
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_lowest
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_max
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_min
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_crit
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_highest
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_input
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_lcrit
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_lowest
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_max
[2021/11/15 18:25:13]  notice: hwmon: Unable to  open /temp1_min
[2021/11/15 18:26:12]    info: Exit in progress
[2021/11/15 18:26:12]    info: Requesting wipe thread cancellation for /dev/loop39
[2021/11/15 18:26:12]    info: Please wait..
[2021/11/15 18:26:12]    info: Requesting wipe thread cancellation for /dev/loop40
[2021/11/15 18:26:12]    info: Please wait..
[2021/11/15 18:26:12]    info: Cancelling the GUI thread.
[2021/11/15 18:26:12]    info: GUI compute_stats thread has been cancelled
[2021/11/15 18:26:12]    info: Wipe thread for device /dev/loop39 has been cancelled
[2021/11/15 18:26:12]    info: Wipe thread for device /dev/loop40 has been cancelled

******************************** Error Summary *********************************
!   Device | Pass Errors | Verifications Errors | Fdatasync I\O Errors
--------------------------------------------------------------------------------
    loop39 |           0 |                    0 |                    0
    loop40 |           0 |                    0 |                    0
********************************************************************************

********************************* Drive Status *********************************
!   Device | Status | Thru-put | HH:MM:SS | Model/Serial Number
--------------------------------------------------------------------------------
    loop39 | Erased |  51 MB/s | 00:00:27 | Loopback device/???????????????
    loop40 | Erased |  55 MB/s | 00:00:25 | Loopback device/???????????????
--------------------------------------------------------------------------------
[2021/11/15 18:26:12] Total Throughput 106 MB/s, Fill With Zeros, 1R+B+VL
********************************************************************************

[2021/11/15 18:26:12]    info: Nwipe was aborted by the user. Check the summary table for the drive status.

nwipe_serial_numbers_anonymized_when_serial_number_was_obtainable

nwipe_serial_numbers_anonymized_when_serial_number_was_obtainable_during_wipe

sudo ./nwipe -v -q
[2021/11/15 18:33:17]    info: nwipe 0.32.006
[2021/11/15 18:33:17]    info: Linux version 5.11.0-38-generic (buildd@lgw01-am
                               d64-041) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.
                               3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #42
                               ~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07 UTC 202
                               1
[2021/11/15 18:33:17]   debug: Readlink: ../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda 
[2021/11/15 18:33:17]   debug: smartctl: smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-38-generic] (local build) 
[2021/11/15 18:33:17]   debug: smartctl: Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org 
[2021/11/15 18:33:17]   debug: smartctl: === START OF INFORMATION SECTION === 
[2021/11/15 18:33:17]   debug: smartctl: Device Model:     SanDisk SDSSDH3 500G 
[2021/11/15 18:33:17]   debug: smartctl: Serial Number:    XXXXXXXXXXXX 
[2021/11/15 18:33:17]   debug: smartctl: LU WWN Device Id: 5 001b44 4a8325368 
[2021/11/15 18:33:17]   debug: smartctl: Firmware Version: 401120RL 
[2021/11/15 18:33:17]   debug: smartctl: User Capacity:    500,107,862,016 bytes [500 GB] 
[2021/11/15 18:33:17]   debug: smartctl: Sector Size:      512 bytes logical/physical 
[2021/11/15 18:33:17]   debug: smartctl: Rotation Rate:    Solid State Device 
[2021/11/15 18:33:17]   debug: smartctl: Form Factor:      2.5 inches 
[2021/11/15 18:33:17]   debug: smartctl: Device is:        Not in smartctl database [for details use: -P showall] 
[2021/11/15 18:33:17]   debug: smartctl: ATA Version is:   ACS-4 T13/BSR INCITS 529 revision 5 
[2021/11/15 18:33:17]   debug: smartctl: SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s) 
[2021/11/15 18:33:17]   debug: smartctl: Local Time is:    Mon Nov 15 18:33:17 2021 GMT 
[2021/11/15 18:33:17]   debug: smartctl: SMART support is: Available - device has SMART capability. 
[2021/11/15 18:33:17]   debug: smartctl: SMART support is: Enabled 
[2021/11/15 18:33:17]  notice: Found /dev/sda,  ATA, SanDisk SDSSDH3, 500 GB, S/N=XXXXXXXXXXXXXXX
[2021/11/15 18:33:17]   debug: Readlink: ../devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb 
[2021/11/15 18:33:17]   debug: smartctl: smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-38-generic] (local build) 
[2021/11/15 18:33:17]   debug: smartctl: Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org 
[2021/11/15 18:33:18]   debug: smartctl: === START OF INFORMATION SECTION === 
[2021/11/15 18:33:18]   debug: smartctl: Model Family:     Seagate FireCuda 2.5 
[2021/11/15 18:33:18]   debug: smartctl: Device Model:     ST2000LX001-1RG174 
[2021/11/15 18:33:18]   debug: smartctl: Serial Number:    XXXXXXXX 
[2021/11/15 18:33:18]   debug: smartctl: LU WWN Device Id: 5 000c50 0c0bcd5bc 
[2021/11/15 18:33:18]   debug: smartctl: Firmware Version: SDM1 
[2021/11/15 18:33:18]   debug: smartctl: User Capacity:    2,000,398,934,016 bytes [2.00 TB] 
[2021/11/15 18:33:18]   debug: smartctl: Sector Sizes:     512 bytes logical, 4096 bytes physical 
[2021/11/15 18:33:18]   debug: smartctl: Rotation Rate:    5400 rpm 
[2021/11/15 18:33:18]   debug: smartctl: Form Factor:      2.5 inches 
[2021/11/15 18:33:18]   debug: smartctl: Device is:        In smartctl database [for details use: -P show] 
[2021/11/15 18:33:18]   debug: smartctl: ATA Version is:   ACS-3 T13/2161-D revision 3b 
[2021/11/15 18:33:18]   debug: smartctl: SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) 
[2021/11/15 18:33:18]   debug: smartctl: Local Time is:    Mon Nov 15 18:33:18 2021 GMT 
[2021/11/15 18:33:18]   debug: smartctl: SMART support is: Available - device has SMART capability. 
[2021/11/15 18:33:18]   debug: smartctl: SMART support is: Enabled 
[2021/11/15 18:33:18]  notice: Found /dev/sdb,  ATA, ST2000LX001-1RG1,   2 TB, S/N=XXXXXXXXXXXXXXX
[2021/11/15 18:33:18]   debug: Readlink: ../devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb4/4-2/4-2:1.0/host6/target6:0:0/6:0:0:0/block/sdc 
[2021/11/15 18:33:18]   debug: smartctl: smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-38-generic] (local build) 
[2021/11/15 18:33:18]   debug: smartctl: Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org 
[2021/11/15 18:33:18]   debug: smartctl: === START OF INFORMATION SECTION === 
[2021/11/15 18:33:18]   debug: smartctl: Model Family:     Seagate Barracuda 3.5 
[2021/11/15 18:33:18]   debug: smartctl: Device Model:     ST1000DM010-2EP102 
[2021/11/15 18:33:18]   debug: smartctl: Serial Number:    XXXXXXXX 
[2021/11/15 18:33:18]   debug: smartctl: LU WWN Device Id: 5 000c50 0cfe5ec01 
[2021/11/15 18:33:18]   debug: smartctl: Firmware Version: CC43 
[2021/11/15 18:33:18]   debug: smartctl: User Capacity:    1,000,204,886,016 bytes [1.00 TB] 
[2021/11/15 18:33:18]   debug: smartctl: Sector Sizes:     512 bytes logical, 4096 bytes physical 
[2021/11/15 18:33:18]   debug: smartctl: Rotation Rate:    7200 rpm 
[2021/11/15 18:33:18]   debug: smartctl: Form Factor:      3.5 inches 
[2021/11/15 18:33:18]   debug: smartctl: Device is:        In smartctl database [for details use: -P show] 
[2021/11/15 18:33:18]   debug: smartctl: ATA Version is:   ATA8-ACS T13/1699-D revision 4 
[2021/11/15 18:33:18]   debug: smartctl: SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s) 
[2021/11/15 18:33:18]   debug: smartctl: Local Time is:    Mon Nov 15 18:33:18 2021 GMT 
[2021/11/15 18:33:18]   debug: smartctl: SMART support is: Available - device has SMART capability. 
[2021/11/15 18:33:18]   debug: smartctl: SMART support is: Enabled 
[2021/11/15 18:33:18]  notice: Found /dev/sdc,  USB, ST1000DM 010-2EP102,   1 TB, S/N=XXXXXXXXXXXXXXX
[2021/11/15 18:33:18]   debug: Readlink: ../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/host7/target7:0:0/7:0:0:0/block/sdd 
[2021/11/15 18:33:18]   debug: smartctl: smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-38-generic] (local build) 
[2021/11/15 18:33:18]   debug: smartctl: Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org 
[2021/11/15 18:33:18]   debug: smartctl: === START OF INFORMATION SECTION === 
[2021/11/15 18:33:18]   debug: smartctl: Model Family:     Western Digital AV-GP (AF) 
[2021/11/15 18:33:18]   debug: smartctl: Device Model:     WDC WD20EURS-63SPKY0 
[2021/11/15 18:33:18]   debug: smartctl: Serial Number:    XXXXXXXXXXXXXXX 
[2021/11/15 18:33:18]   debug: smartctl: LU WWN Device Id: 5 0014ee 2b35d64d4 
[2021/11/15 18:33:18]   debug: smartctl: Firmware Version: 80.00A80 
[2021/11/15 18:33:18]   debug: smartctl: User Capacity:    2,000,398,934,016 bytes [2.00 TB] 
[2021/11/15 18:33:18]   debug: smartctl: Sector Sizes:     512 bytes logical, 4096 bytes physical 
[2021/11/15 18:33:18]   debug: smartctl: Device is:        In smartctl database [for details use: -P show] 
[2021/11/15 18:33:18]   debug: smartctl: ATA Version is:   ACS-2 (minor revision not indicated) 
[2021/11/15 18:33:18]   debug: smartctl: SATA Version is:  SATA 3.0, 3.0 Gb/s (current: 1.5 Gb/s) 
[2021/11/15 18:33:18]   debug: smartctl: Local Time is:    Mon Nov 15 18:33:18 2021 GMT 
[2021/11/15 18:33:18]   debug: smartctl: SMART support is: Available - device has SMART capability. 
[2021/11/15 18:33:18]   debug: smartctl: SMART support is: Enabled 
[2021/11/15 18:33:18]  notice: Found /dev/sdd,  USB, WDC WD20 EURS-63SPKY0,   2 TB, S/N=XXXXXXXXXXXXXXX
[2021/11/15 18:33:18]    info: Automatically enumerated 4 devices.
[2021/11/15 18:33:18]  notice: bios-version = E16F2IM7 V5.0E
[2021/11/15 18:33:18]  notice: bios-release-date = 01/10/2012
[2021/11/15 18:33:18]  notice: system-manufacturer = MEDION
[2021/11/15 18:33:18]  notice: system-product-name = X681X
[2021/11/15 18:33:18]  notice: system-version = To be filled by O.E.M.
[2021/11/15 18:33:18]  notice: system-serial-number = To be filled by O.E.M.
[2021/11/15 18:33:18]  notice: system-uuid = 03000200-0400-0500-0006-000700080009
[2021/11/15 18:33:18]  notice: baseboard-manufacturer = MEDION
[2021/11/15 18:33:18]  notice: baseboard-product-name = X681X
[2021/11/15 18:33:18]  notice: baseboard-version = To be filled by O.E.M.
[2021/11/15 18:33:18]  notice: baseboard-serial-number = To be filled by O.E.M.
[2021/11/15 18:33:18]  notice: baseboard-asset-tag = To be filled by O.E.M.
[2021/11/15 18:33:18]  notice: chassis-manufacturer = To Be Filled By O.E.M.
[2021/11/15 18:33:18]  notice: chassis-type = Notebook
[2021/11/15 18:33:18]  notice: chassis-version = To be filled by O.E.M.
[2021/11/15 18:33:18]  notice: chassis-serial-number = To Be Filled By O.E.M.
[2021/11/15 18:33:18]  notice: chassis-asset-tag = To Be Filled By O.E.M.
[2021/11/15 18:33:18]  notice: processor-family = Core i7
[2021/11/15 18:33:18]  notice: processor-manufacturer = Intel
[2021/11/15 18:33:18]  notice: processor-version = Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
[2021/11/15 18:33:18]  notice: processor-frequency = 800 MHz
[2021/11/15 18:33:18]  notice: Opened entropy source '/dev/urandom'.
[2021/11/15 18:33:18]  notice: hwmon: Module drivetemp loaded, drive temperatures available
[2021/11/15 18:33:18]  notice: hwmon: Device sda has 'hwmon' temperature monitoring
[2021/11/15 18:33:18]  notice: hwmon: Device /dev/sda hwmon path = /sys/class/hwmon/hwmon4
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /sys/class/hwmon/hwmon4/temp1_crit
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /sys/class/hwmon/hwmon4/temp1_highest
[2021/11/15 18:33:18]  notice: hwmon: /sys/class/hwmon/hwmon4/temp1_input 27C
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /sys/class/hwmon/hwmon4/temp1_lcrit
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /sys/class/hwmon/hwmon4/temp1_lowest
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /sys/class/hwmon/hwmon4/temp1_max
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /sys/class/hwmon/hwmon4/temp1_min
[2021/11/15 18:33:18]  notice: hwmon: Device sdb has 'hwmon' temperature monitoring
[2021/11/15 18:33:18]  notice: hwmon: Device /dev/sdb hwmon path = /sys/class/hwmon/hwmon5
[2021/11/15 18:33:18]  notice: hwmon: /sys/class/hwmon/hwmon5/temp1_crit 60C
[2021/11/15 18:33:18]  notice: hwmon: /sys/class/hwmon/hwmon5/temp1_highest 37C
[2021/11/15 18:33:18]  notice: hwmon: /sys/class/hwmon/hwmon5/temp1_input 37C
[2021/11/15 18:33:18]  notice: hwmon: /sys/class/hwmon/hwmon5/temp1_lcrit 10C
[2021/11/15 18:33:18]  notice: hwmon: /sys/class/hwmon/hwmon5/temp1_lowest 18C
[2021/11/15 18:33:18]  notice: hwmon: /sys/class/hwmon/hwmon5/temp1_max 55C
[2021/11/15 18:33:18]  notice: hwmon: /sys/class/hwmon/hwmon5/temp1_min 14C
[2021/11/15 18:33:18]  notice: hwmon: Device /dev/sdc hwmon path = 
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_crit
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_highest
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_input
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_lcrit
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_lowest
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_max
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_min
[2021/11/15 18:33:18]  notice: hwmon: Device /dev/sdd hwmon path = 
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_crit
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_highest
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_input
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_lcrit
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_lowest
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_max
[2021/11/15 18:33:18]  notice: hwmon: Unable to  open /temp1_min
[2021/11/15 18:34:58]  notice: Program options are set as follows...
[2021/11/15 18:34:58]  notice:   autonuke = 0 (off)
[2021/11/15 18:34:58]  notice:   autopoweroff = 0 (off)
[2021/11/15 18:34:58]  notice:   banner   = nwipe 0.32.006
[2021/11/15 18:34:58]  notice:   prng     = Mersenne Twister
[2021/11/15 18:34:58]  notice:   method   = DoD Short
[2021/11/15 18:34:58]  notice:   quiet    = 1
[2021/11/15 18:34:58]  notice:   rounds   = 1
[2021/11/15 18:34:58]  notice:   sync     = 100000
[2021/11/15 18:34:58]  notice:   verify   = 1 (last pass)
[2021/11/15 18:34:58]  notice: /dev/sdc has serial number XXXXXXXXXXXXXXX
[2021/11/15 18:34:58]  notice: /dev/sdc, sect/blk/dev 512/4096/1000204886016
[2021/11/15 18:34:58]  notice: /dev/sdd has serial number XXXXXXXXXXXXXXX
[2021/11/15 18:34:58]  notice: /dev/sdd, sect/blk/dev 512/4096/2000398934016
[2021/11/15 18:34:58]  notice: Invoking method 'DoD Short' on /dev/sdc
[2021/11/15 18:34:58]  notice: Starting round 1 of 1 on /dev/sdc
[2021/11/15 18:34:58]  notice: Starting pass 1/3, round 1/1, on /dev/sdc
[2021/11/15 18:34:58]  notice: Invoking method 'DoD Short' on /dev/sdd
[2021/11/15 18:34:58]  notice: Starting round 1 of 1 on /dev/sdd
[2021/11/15 18:34:58]  notice: Starting pass 1/3, round 1/1, on /dev/sdd
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_crit
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_highest
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_input
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_lcrit
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_lowest
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_max
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_min
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_crit
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_highest
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_input
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_lcrit
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_lowest
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_max
[2021/11/15 18:34:58]  notice: hwmon: Unable to  open /temp1_min
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_crit
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_highest
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_input
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_lcrit
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_lowest
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_max
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_min
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_crit
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_highest
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_input
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_lcrit
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_lowest
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_max
[2021/11/15 18:35:59]  notice: hwmon: Unable to  open /temp1_min
[2021/11/15 18:36:06]    info: Exit in progress
[2021/11/15 18:36:06]    info: Requesting wipe thread cancellation for /dev/sdc
[2021/11/15 18:36:06]    info: Please wait..
[2021/11/15 18:36:06]    info: Requesting wipe thread cancellation for /dev/sdd
[2021/11/15 18:36:06]    info: Please wait..
[2021/11/15 18:36:06]    info: Cancelling the GUI thread.
[2021/11/15 18:36:06]    info: GUI compute_stats thread has been cancelled
[2021/11/15 18:36:08]    info: Wipe thread for device /dev/sdc has been cancelled
[2021/11/15 18:36:09]    info: Wipe thread for device /dev/sdd has been cancelled
[2021/11/15 18:36:09]   fatal: Nwipe exited with non fatal errors on device = /dev/sdc

[2021/11/15 18:36:09]   error: Nwipe exited with fatal errors on device = /dev/sdd


******************************** Error Summary *********************************
!   Device | Pass Errors | Verifications Errors | Fdatasync I\O Errors
--------------------------------------------------------------------------------
       sdc |           0 |                    0 |                    0
       sdd |           0 |                    0 |                    0
********************************************************************************

********************************* Drive Status *********************************
!   Device | Status | Thru-put | HH:MM:SS | Model/Serial Number
--------------------------------------------------------------------------------
!      sdc |UABORTED| 144 MB/s | 00:01:11 | ST1000DM 010-2EP1/XXXXXXXXXXXXXXX
!      sdd |-FAILED-|  36 MB/s | 00:01:11 | WDC WD20 EURS-63S/XXXXXXXXXXXXXXX
--------------------------------------------------------------------------------
[2021/11/15 18:36:09] Total Throughput 180 MB/s, DoD Short, 1R+B+VL
********************************************************************************

Anonymize the serial numbers in the gui, the
log and the summary table.

If a serial number was obtained from the device,
it is replaced with "XXXXXXXXXXXXXXX".

If the serial number could not be obtained from the
device, it's replaced with "???????????????".
@PartialVolume PartialVolume merged commit b9cb236 into martijnvanbrummelen:master Nov 15, 2021
@PartialVolume PartialVolume deleted the Add_anonymize_serial_numbers_option branch November 15, 2021 18:41
@Firminator
Copy link
Contributor

Looks good to me:
Screenshot from 2021-11-15 14-18-01

Although if you can I would also remove the serial number/ServiceTag etc from the mainboard etc (see below what I XXXXXXXXXXXXXXX'd out additionally).

[2021/11/15 14:17:52]    info: nwipe 0.32.006
[2021/11/15 14:17:52]    info: Linux version 5.11.0-40-generic (buildd@lgw01-am
                               d64-010) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.
                               3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #44
                               ~20.04.2-Ubuntu SMP Tue Oct 26 18:07:44 UTC 202
                               1
[2021/11/15 14:17:52]   debug: Readlink: ../devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host5/target5:0:0/5:0:0:0/block/sda 
[2021/11/15 14:17:52]   debug: smartctl: smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-40-generic] (local build) 
[2021/11/15 14:17:52]   debug: smartctl: Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org 
[2021/11/15 14:17:52]   debug: smartctl: === START OF INFORMATION SECTION === 
[2021/11/15 14:17:52]   debug: smartctl: Model Family:     Samsung based SSDs 
[2021/11/15 14:17:52]   debug: smartctl: Device Model:     Samsung SSD 840 Series 
[2021/11/15 14:17:52]   debug: smartctl: Serial Number:    XXXXXXXXXXXXXXX 
[2021/11/15 14:17:52]   debug: smartctl: LU WWN Device Id: 5 002538 5a003ed06 
[2021/11/15 14:17:52]   debug: smartctl: Firmware Version: DXT09B0Q 
[2021/11/15 14:17:52]   debug: smartctl: User Capacity:    120,034,123,776 bytes [120 GB] 
[2021/11/15 14:17:52]   debug: smartctl: Sector Size:      512 bytes logical/physical 
[2021/11/15 14:17:52]   debug: smartctl: Rotation Rate:    Solid State Device 
[2021/11/15 14:17:52]   debug: smartctl: Device is:        In smartctl database [for details use: -P show] 
[2021/11/15 14:17:52]   debug: smartctl: ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4c 
[2021/11/15 14:17:52]   debug: smartctl: SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) 
[2021/11/15 14:17:52]   debug: smartctl: Local Time is:    Mon Nov 15 14:17:52 2021 EST 
[2021/11/15 14:17:52]   debug: smartctl: SMART support is: Available - device has SMART capability. 
[2021/11/15 14:17:52]   debug: smartctl: SMART support is: Enabled 
[2021/11/15 14:17:52]  notice: Found /dev/sda,  USB, Samsung SSD 840 Series, 120 GB, S/N=XXXXXXXXXXXXXXX
[2021/11/15 14:17:52]   debug: Readlink: ../devices/pci0000:00/0000:00:1d.0/0000:3d:00.0/nvme/nvme0/nvme0n1 
[2021/11/15 14:17:52]   debug: smartctl: smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-40-generic] (local build) 
[2021/11/15 14:17:52]   debug: smartctl: Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org 
[2021/11/15 14:17:52]   debug: smartctl: === START OF INFORMATION SECTION === 
[2021/11/15 14:17:52]   debug: smartctl: Model Number:                       SM951 NVMe SAMSUNG 512GB 
[2021/11/15 14:17:52]   debug: smartctl: Serial Number:                      XXXXXXXXXXXXXX 
[2021/11/15 14:17:52]   debug: smartctl: Firmware Version:                   BXW75D0Q 
[2021/11/15 14:17:52]   debug: smartctl: PCI Vendor/Subsystem ID:            0x144d 
[2021/11/15 14:17:52]   debug: smartctl: IEEE OUI Identifier:                0x002538 
[2021/11/15 14:17:52]   debug: smartctl: Controller ID:                      1 
[2021/11/15 14:17:52]   debug: smartctl: Number of Namespaces:               1 
[2021/11/15 14:17:52]   debug: smartctl: Namespace 1 Size/Capacity:          512,110,190,592 [512 GB] 
[2021/11/15 14:17:52]   debug: smartctl: Namespace 1 Utilization:            408,399,372,288 [408 GB] 
[2021/11/15 14:17:52]   debug: smartctl: Namespace 1 Formatted LBA Size:     512 
[2021/11/15 14:17:52]   debug: smartctl: Namespace 1 IEEE EUI-64:            002538 656100b8f9 
[2021/11/15 14:17:52]   debug: smartctl: Local Time is:                      Mon Nov 15 14:17:52 2021 EST 
[2021/11/15 14:17:52]  notice: Found /dev/nvme0n1, NVME, SM951 NVMe SAMSUNG 512GB, 512 GB, S/N=XXXXXXXXXXXXXXX
[2021/11/15 14:17:52]    info: Automatically enumerated 2 devices.
[2021/11/15 14:17:52]  notice: bios-version = 1.23.3
[2021/11/15 14:17:52]  notice: bios-release-date = 09/03/2021
[2021/11/15 14:17:52]  notice: system-manufacturer = Dell Inc.
[2021/11/15 14:17:52]  notice: system-product-name = Precision 7510
[2021/11/15 14:17:52]  notice: system-version = Not Specified
[2021/11/15 14:17:52]  notice: system-serial-number = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[2021/11/15 14:17:52]  notice: system-uuid = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[2021/11/15 14:17:52]  notice: baseboard-manufacturer = Dell Inc.
[2021/11/15 14:17:52]  notice: baseboard-product-name = 0M91XC
[2021/11/15 14:17:52]  notice: baseboard-version = A00
[2021/11/15 14:17:52]  notice: baseboard-serial-number = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[2021/11/15 14:17:52]  notice: baseboard-asset-tag = Not Specified
[2021/11/15 14:17:52]  notice: chassis-manufacturer = Dell Inc.
[2021/11/15 14:17:52]  notice: chassis-type = Laptop
[2021/11/15 14:17:52]  notice: chassis-version = Not Specified
[2021/11/15 14:17:52]  notice: chassis-serial-number = XXXXXXXXXXXXXXXXXXXXXXXXX
[2021/11/15 14:17:52]  notice: chassis-asset-tag = Not Specified
[2021/11/15 14:17:52]  notice: processor-family = Core i7
[2021/11/15 14:17:52]  notice: processor-manufacturer = Intel(R) Corporation
[2021/11/15 14:17:52]  notice: processor-version = Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
[2021/11/15 14:17:52]  notice: processor-frequency = 2700 MHz
[2021/11/15 14:17:52]  notice: Opened entropy source '/dev/urandom'.
[2021/11/15 14:17:52]  notice: hwmon: Module drivetemp loaded, drive temperatures available
[2021/11/15 14:17:52]  notice: hwmon: Device /dev/sda hwmon path = 
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_crit
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_highest
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_input
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_lcrit
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_lowest
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_max
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_min
[2021/11/15 14:17:52]  notice: hwmon: Device /dev/nvme0n1 hwmon path = 
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_crit
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_highest
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_input
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_lcrit
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_lowest
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_max
[2021/11/15 14:17:52]  notice: hwmon: Unable to  open /temp1_min
[2021/11/15 14:18:26]    info: Exit in progress
[2021/11/15 14:18:26]    info: Cancelling the GUI thread.
[2021/11/15 14:18:26]    info: GUI compute_stats thread has been cancelled
[2021/11/15 14:18:26]    info: Nwipe was aborted by the user prior to the wipe starting.


@PartialVolume
Copy link
Collaborator Author

@Firminator Good idea !

@Firminator
Copy link
Contributor

Screenshot from 2021-11-15 21-06-42

I'll do the log in a minute.

@Firminator
Copy link
Contributor

I posted the log @ #367 (comment) since it deals with the SMBIOS/DMI/Serial as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants