Skip to main content

IT - My Home Platform View - HG000014

 




HG000014

  • Updates
  • Pending
    • Active in-disk swap and disable in-memory space space
  • System
    • $ sudo dmidecode -t 0
      # dmidecode 3.5
      Getting SMBIOS data from sysfs.
      SMBIOS 2.4 present.
      
      Handle 0x000E, DMI type 0, 24 bytes
      BIOS Information
      	Vendor: Apple Inc.
      	Version: 76.0.0.0.0
      	Release Date: 06/13/2019
      	ROM Size: 4 MB
      	Characteristics:
      		PCI is supported
      		BIOS is upgradeable
      		BIOS shadowing is allowed
      		Boot from CD is supported
      		Selectable boot is supported
      		ACPI is supported
      		IEEE 1394 boot is supported
      		Smart battery is supported
      		Function key-initiated network boot is supported
      	BIOS Revision: 0.1
    • $ sudo dmidecode -t 1
      # dmidecode 3.5
      Getting SMBIOS data from sysfs.
      SMBIOS 2.4 present.
      
      Handle 0x000F, DMI type 1, 27 bytes
      System Information
      	Manufacturer: Apple Inc.
      	Product Name: Macmini4,1
      	Version: 1.0
      	Serial Number: C07CV9GGDD6H
      	UUID: 5adc1f49-ec4d-b75f-b00a-a903a22860bd
      	Wake-up Type: Power Switch
      	SKU Number: Not Specified
      	Family: Macmini
  • CPU
    • $ sudo dmidecode -t 4
      # dmidecode 3.5
      Getting SMBIOS data from sysfs.
      SMBIOS 2.4 present.
      
      Handle 0x0000, DMI type 4, 35 bytes
      Processor Information
      	Socket Designation: U2E1
      	Type: Central Processor
      	Family: Other
      	Manufacturer: Intel(R) Corporation
      	ID: 7A 06 01 00 FF FB EB BF
      	Version: Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
      	Voltage: 1.6 V
      	External Clock: 266 MHz
      	Max Speed: 2400 MHz
      	Current Speed: 2400 MHz
      	Status: Populated, Enabled
      	Upgrade: ZIF Socket
      	L1 Cache Handle: 0x0002
      	L2 Cache Handle: Not Provided
      	L3 Cache Handle: Not Provided
      	Serial Number: Not Specified
      	Asset Tag: Unknown
      	Part Number: Not Specified
      
      Handle 0x0003, DMI type 4, 35 bytes
      Processor Information
      	Socket Designation: U2E1
      	Type: Central Processor
      	Family: Other
      	Manufacturer: Intel(R) Corporation
      	ID: 7A 06 01 00 FF FB EB BF
      	Version: Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
      	Voltage: 1.6 V
      	External Clock: 266 MHz
      	Max Speed: 2400 MHz
      	Current Speed: 2400 MHz
      	Status: Populated, Enabled
      	Upgrade: ZIF Socket
      	L1 Cache Handle: 0x0005
      	L2 Cache Handle: Not Provided
      	L3 Cache Handle: Not Provided
      	Serial Number: Not Specified
      	Asset Tag: Unknown
      	Part Number: Not Specified
    • $ lscpu
      Architecture:            x86_64
        CPU op-mode(s):        32-bit, 64-bit
        Address sizes:         36 bits physical, 48 bits virtual
        Byte Order:            Little Endian
      CPU(s):                  2
        On-line CPU(s) list:   0,1
      Vendor ID:               GenuineIntel
        Model name:            Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
          CPU family:          6
          Model:               23
          Thread(s) per core:  1
          Core(s) per socket:  2
          Socket(s):           1
          Stepping:            10
          CPU(s) scaling MHz:  67%
          CPU max MHz:         2394.0000
          CPU min MHz:         1596.0000
          BogoMIPS:            4778.10
          Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx l
                               m constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdc
                               m sse4_1 xsave lahf_lm pti tpr_shadow flexpriority vpid dtherm vnmi
      Virtualization features: 
        Virtualization:        VT-x
      Caches (sum of all):     
        L1d:                   64 KiB (2 instances)
        L1i:                   64 KiB (2 instances)
        L2:                    3 MiB (1 instance)
      NUMA:                    
        NUMA node(s):          1
        NUMA node0 CPU(s):     0,1
      Vulnerabilities:         
        Gather data sampling:  Not affected
        Itlb multihit:         KVM: Mitigation: VMX disabled
        L1tf:                  Mitigation; PTE Inversion; VMX EPT disabled
        Mds:                   Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
        Meltdown:              Mitigation; PTI
        Mmio stale data:       Unknown: No mitigations
        Retbleed:              Not affected
        Spec rstack overflow:  Not affected
        Spec store bypass:     Vulnerable
        Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
        Spectre v2:            Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
        Srbds:                 Not affected
        Tsx async abort:       Not affected
    • $ sudo cpufetch -F -s legacy|cut -b63-200|grep -v '^ *$'
      Name:                Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
      Microarchitecture:   Penryn
      Technology:          45nm
      Max Frequency:       2.394 GHz
      Cores:               2 cores
      AVX:                 No
      FMA:                 No
      L1i Size:            32KB (64KB Total)
      L1d Size:            32KB (64KB Total)
      L2 Size:             3MB
      Peak Performance:    19.15 GFLOP/s
  • Memory
    • $ sudo dmidecode -t 16,17
      # dmidecode 3.5
      Getting SMBIOS data from sysfs.
      SMBIOS 2.4 present.
      
      Handle 0x0006, DMI type 16, 15 bytes
      Physical Memory Array
      	Location: System Board Or Motherboard
      	Use: System Memory
      	Error Correction Type: None
      	Maximum Capacity: 32 GB
      	Error Information Handle: Not Provided
      	Number Of Devices: 2
      
      Handle 0x0008, DMI type 17, 27 bytes
      Memory Device
      	Array Handle: 0x0006
      	Error Information Handle: No Error
      	Total Width: Unknown
      	Data Width: 65506 bits
      	Size: 4 GB
      	Form Factor: SODIMM
      	Set: None
      	Locator: DIMM0
      	Bank Locator: BANK 0
      	Type: DDR3
      	Type Detail: Synchronous
      	Speed: 1067 MT/s
      	Manufacturer: 0x80CE
      	Serial Number: 0x76148BF9
      	Asset Tag: Unknown
      	Part Number: 0x4D34373142353237334348302D4346382020
      
      Handle 0x000A, DMI type 17, 27 bytes
      Memory Device
      	Array Handle: 0x0006
      	Error Information Handle: No Error
      	Total Width: Unknown
      	Data Width: 65506 bits
      	Size: 4 GB
      	Form Factor: SODIMM
      	Set: None
      	Locator: DIMM0
      	Bank Locator: BANK 1
      	Type: DDR3
      	Type Detail: Synchronous
      	Speed: 1067 MT/s
      	Manufacturer: 0x80CE
      	Serial Number: 0x76148BEB
      	Asset Tag: Unknown
      	Part Number: 0x4D34373142353237334348302D4346382020
  • PCI
    • $ sudo lspci
      00:00.0 Host bridge: NVIDIA Corporation MCP89 HOST Bridge (rev a1)
      00:00.1 RAM memory: NVIDIA Corporation MCP89 Memory Controller (rev a1)
      00:01.0 RAM memory: NVIDIA Corporation Device 0d6d (rev a1)
      00:01.1 RAM memory: NVIDIA Corporation Device 0d6e (rev a1)
      00:01.2 RAM memory: NVIDIA Corporation Device 0d6f (rev a1)
      00:01.3 RAM memory: NVIDIA Corporation Device 0d70 (rev a1)
      00:02.0 RAM memory: NVIDIA Corporation Device 0d71 (rev a1)
      00:02.1 RAM memory: NVIDIA Corporation Device 0d72 (rev a1)
      00:03.0 ISA bridge: NVIDIA Corporation MCP89 LPC Bridge (rev a2)
      00:03.1 RAM memory: NVIDIA Corporation MCP89 Memory Controller (rev a1)
      00:03.2 SMBus: NVIDIA Corporation MCP89 SMBus (rev a1)
      00:03.3 RAM memory: NVIDIA Corporation MCP89 Memory Controller (rev a1)
      00:03.4 Co-processor: NVIDIA Corporation MCP89 Co-Processor (rev a1)
      00:04.0 USB controller: NVIDIA Corporation MCP89 OHCI USB 1.1 Controller (rev a1)
      00:04.1 USB controller: NVIDIA Corporation MCP89 EHCI USB 2.0 Controller (rev a2)
      00:06.0 USB controller: NVIDIA Corporation MCP89 OHCI USB 1.1 Controller (rev a1)
      00:06.1 USB controller: NVIDIA Corporation MCP89 EHCI USB 2.0 Controller (rev a2)
      00:08.0 Audio device: NVIDIA Corporation MCP89 High Definition Audio (rev a2)
      00:0a.0 SATA controller: NVIDIA Corporation MCP89 SATA Controller (AHCI mode) (rev a2)
      00:0b.0 RAM memory: NVIDIA Corporation Device 0d75 (rev a1)
      00:0e.0 PCI bridge: NVIDIA Corporation Device 0d9a (rev a1)
      00:15.0 PCI bridge: NVIDIA Corporation Device 0d9b (rev a1)
      00:16.0 PCI bridge: NVIDIA Corporation Device 0d9b (rev a1)
      00:17.0 PCI bridge: NVIDIA Corporation MCP89 PCI Express Bridge (rev a1)
      01:00.0 PCI bridge: Texas Instruments XIO2213A/B/XIO2221 PCI Express to PCI Bridge [Cheetah Express] (rev 01)
      02:00.0 FireWire (IEEE 1394): Texas Instruments XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express] (rev 01)
      03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43224 802.11a/b/g/n (rev 01)
      04:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57765 Gigabit Ethernet PCIe
      04:00.1 SD Host controller: Broadcom Inc. and subsidiaries BCM57765/57785 SDXC/MMC Card Reader
      05:00.0 VGA compatible controller: NVIDIA Corporation MCP89 [GeForce 320M] (rev a2)
    • $ sudo lspci -t
      -[0000:00]-+-00.0
                 +-00.1
                 +-01.0
                 +-01.1
                 +-01.2
                 +-01.3
                 +-02.0
                 +-02.1
                 +-03.0
                 +-03.1
                 +-03.2
                 +-03.3
                 +-03.4
                 +-04.0
                 +-04.1
                 +-06.0
                 +-06.1
                 +-08.0
                 +-0a.0
                 +-0b.0
                 +-0e.0-[01-02]----00.0-[02]----00.0
                 +-15.0-[03]----00.0
                 +-16.0-[04]--+-00.0
                 |            \-00.1
                 \-17.0-[05]----00.0
      
  • USB
    • $ lsusb
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 001 Device 002: ID 2357:0601 TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153]
      Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
      Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 003 Device 002: ID 2109:2820 VIA Labs, Inc. VL820 Hub
      Bus 003 Device 003: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
      Bus 003 Device 004: ID 2109:2820 VIA Labs, Inc. VL820 Hub
      Bus 003 Device 005: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
      Bus 003 Device 006: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
      Bus 003 Device 007: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
      Bus 003 Device 008: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
      Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
      Bus 004 Device 002: ID 05ac:8242 Apple, Inc. Built-in IR Receiver
      Bus 004 Device 003: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
      Bus 004 Device 006: ID 05ac:8218 Apple, Inc. Bluetooth Host Controller
    • $ lsusb -t -vvv
      /:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/6p, 480M
          ID 1d6b:0002 Linux Foundation 2.0 root hub
          /sys/bus/usb/devices/usb1  /dev/bus/usb/001/001
          |__ Port 002: Dev 002, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
              ID 2357:0601 TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153]
              /sys/bus/usb/devices/1-2  /dev/bus/usb/001/002
      /:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=ohci-pci/6p, 12M
          ID 1d6b:0001 Linux Foundation 1.1 root hub
          /sys/bus/usb/devices/usb2  /dev/bus/usb/002/001
      /:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/6p, 480M
          ID 1d6b:0002 Linux Foundation 2.0 root hub
          /sys/bus/usb/devices/usb3  /dev/bus/usb/003/001
          |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/4p, 480M
              ID 2109:2820 VIA Labs, Inc. VL820 Hub
              /sys/bus/usb/devices/3-1  /dev/bus/usb/003/002
              |__ Port 002: Dev 003, If 0, Class=Mass Storage, Driver=uas, 480M
                  ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
                  /sys/bus/usb/devices/3-1.2  /dev/bus/usb/003/003
              |__ Port 003: Dev 004, If 0, Class=Hub, Driver=hub/4p, 480M
                  ID 2109:2820 VIA Labs, Inc. VL820 Hub
                  /sys/bus/usb/devices/3-1.3  /dev/bus/usb/003/004
                  |__ Port 001: Dev 005, If 0, Class=Mass Storage, Driver=uas, 480M
                      ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
                      /sys/bus/usb/devices/3-1.3.1  /dev/bus/usb/003/005
                  |__ Port 002: Dev 006, If 0, Class=Mass Storage, Driver=uas, 480M
                      ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
                      /sys/bus/usb/devices/3-1.3.2  /dev/bus/usb/003/006
                  |__ Port 003: Dev 007, If 0, Class=Mass Storage, Driver=uas, 480M
                      ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
                      /sys/bus/usb/devices/3-1.3.3  /dev/bus/usb/003/007
                  |__ Port 004: Dev 008, If 0, Class=Mass Storage, Driver=uas, 480M
                      ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
                      /sys/bus/usb/devices/3-1.3.4  /dev/bus/usb/003/008
      /:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=ohci-pci/6p, 12M
          ID 1d6b:0001 Linux Foundation 1.1 root hub
          /sys/bus/usb/devices/usb4  /dev/bus/usb/004/001
          |__ Port 005: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
              ID 05ac:8242 Apple, Inc. Built-in IR Receiver
              /sys/bus/usb/devices/4-5  /dev/bus/usb/004/002
          |__ Port 006: Dev 003, If 0, Class=Hub, Driver=hub/3p, 12M
              ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
              /sys/bus/usb/devices/4-6  /dev/bus/usb/004/003
              |__ Port 003: Dev 006, If 0, Class=Vendor Specific Class, Driver=btusb, 12M
                  ID 05ac:8218 Apple, Inc. Bluetooth Host Controller
                  /sys/bus/usb/devices/4-6.3  /dev/bus/usb/004/006
              |__ Port 003: Dev 006, If 1, Class=Wireless, Driver=btusb, 12M
                  ID 05ac:8218 Apple, Inc. Bluetooth Host Controller
                  /sys/bus/usb/devices/4-6.3  /dev/bus/usb/004/006
              |__ Port 003: Dev 006, If 2, Class=Vendor Specific Class, Driver=btusb, 12M
                  ID 05ac:8218 Apple, Inc. Bluetooth Host Controller
                  /sys/bus/usb/devices/4-6.3  /dev/bus/usb/004/006
              |__ Port 003: Dev 006, If 3, Class=Application Specific Interface, Driver=[none], 12M
                  ID 05ac:8218 Apple, Inc. Bluetooth Host Controller
                  /sys/bus/usb/devices/4-6.3  /dev/bus/usb/004/006
  • Thunderbol
    • $ boltctl domains
      
    • $ boltctl list
      
  • Storage
    • $ df -h
      Filesystem             Size  Used Avail Use% Mounted on
      /dev/sda4               15G   12G  3.8G  76% /
      devtmpfs               4.0M     0  4.0M   0% /dev
      tmpfs                  3.8G   84K  3.8G   1% /dev/shm
      tmpfs                  1.5G   37M  1.5G   3% /run
      tmpfs                  3.8G     0  3.8G   0% /tmp
      /dev/sda3             1014M  386M  629M  38% /boot
      /dev/sda2              600M   25M  576M   5% /boot/efi
      /dev/mapper/data0-lv0  203G  2.3G  191G   2% /user1
      tmpfs                  768M   80K  768M   1% /run/user/0
      tmpfs                  768M   80K  768M   1% /run/user/1000
    • $ sudo zpool list
      
    • $ sudo zfs list
      
    • $ sudo pvs -v; sudo vgs -v; sudo lvs -v
        PV         VG    Fmt  Attr PSize   PFree DevSize PV UUID                               
        /dev/sda5  data0 lvm2 a--  206.98g    0  206.98g SNXS6X-VG9t-1BIn-2tIm-34N9-15ZY-FKNBrW
        VG    Attr   Ext   #PV #LV #SN VSize   VFree VG UUID                                VProfile
        data0 wz--n- 4.00m   1   1   0 206.98g    0  ff1qAl-SC2H-1rD3-zinh-7UdH-qRMA-qZQWKN         
        LV   VG    #Seg Attr       LSize   Maj Min KMaj KMin Pool Origin Data%  Meta%  Move Cpy%Sync Log Convert LV UUID                                LProfile
        lv0  data0    1 -wi-ao---- 206.98g  -1  -1  253    0  
    • $ sudo lsblk -a
      NAME          MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
      sda             8:0    0 223.6G  0 disk 
      ??sda1          8:1    0     1M  0 part 
      ??sda2          8:2    0   600M  0 part /boot/efi
      ??sda3          8:3    0     1G  0 part /boot
      ??sda4          8:4    0    15G  0 part /
      ??sda5          8:5    0   207G  0 part 
        ??data0-lv0 253:0    0   207G  0 lvm  /user1/lib/containers/storage/overlay
                                              /user1
      sdb             8:16   0  10.9T  0 disk 
      ??sdb1          8:17   0  10.9T  0 part 
      sdc             8:32   0  16.4T  0 disk 
      ??sdc1          8:33   0  16.4T  0 part 
      sdd             8:48   0  16.4T  0 disk 
      ??sdd1          8:49   0  16.4T  0 part 
      sde             8:64   0  14.6T  0 disk 
      ??sde1          8:65   0  14.6T  0 part 
      sdf             8:80   0  16.4T  0 disk 
      ??sdf1          8:81   0  16.4T  0 part 
      sr0            11:0    1  1024M  0 rom  
      zram0         252:0    0   7.5G  0 disk [SWAP]
    • $ sudo lsblk --scsi
      NAME
          HCTL       TYPE VENDOR   MODEL                    REV SERIAL       TRAN
      sda 0:0:0:0    disk ATA      CT240BX500SSD1       M6CR013 1852E169BA3B sata
      sdb 2:0:0:0    disk ASMT     ST12000NM0017-2A1111    SS01 502987654321 usb
      sdc 3:0:0:0    disk ASMT     ST18000NM000J-2TV103    SN02 102987654321 usb
      sdd 4:0:0:0    disk ASMT     TOSHIBA MG09ACA18TE     0104 202987654321 usb
      sde 5:0:0:0    disk ASMT     ST16000NM001G-2KK103    SN03 302987654321 usb
      sdf 6:0:0:0    disk ASMT     ST18000NM000J-2TV103    SN02 402987654321 usb
      sr0 1:0:0:0    rom  HL-DT-ST HL-DT-STDVDRW GA32N     KC08 K0ZA4NM4838  sata
    • $ ls -l /dev/disk/by-id/wwn*|grep -v -- -part
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 /dev/disk/by-id/wwn-0x5000039bb8d90478 -> ../../sdd
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 /dev/disk/by-id/wwn-0x5000c500b49d786c -> ../../sdb
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 /dev/disk/by-id/wwn-0x5000c500c6f888dd -> ../../sde
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 /dev/disk/by-id/wwn-0x5000c500dbef1ab5 -> ../../sdf
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 /dev/disk/by-id/wwn-0x5000c500e051f64e -> ../../sdc
    • $ ls -l /dev/disk/by-path/|grep -v -- -part
      total 0
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:04.1-usb-0:1.2:1.0-scsi-0:0:0:0 -> ../../sdb
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:04.1-usb-0:1.3.1:1.0-scsi-0:0:0:0 -> ../../sdc
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:04.1-usb-0:1.3.2:1.0-scsi-0:0:0:0 -> ../../sdd
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:04.1-usb-0:1.3.3:1.0-scsi-0:0:0:0 -> ../../sde
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:04.1-usb-0:1.3.4:1.0-scsi-0:0:0:0 -> ../../sdf
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:04.1-usbv2-0:1.2:1.0-scsi-0:0:0:0 -> ../../sdb
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:04.1-usbv2-0:1.3.1:1.0-scsi-0:0:0:0 -> ../../sdc
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:04.1-usbv2-0:1.3.2:1.0-scsi-0:0:0:0 -> ../../sdd
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:04.1-usbv2-0:1.3.3:1.0-scsi-0:0:0:0 -> ../../sde
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:04.1-usbv2-0:1.3.4:1.0-scsi-0:0:0:0 -> ../../sdf
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:0a.0-ata-1 -> ../../sda
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:0a.0-ata-1.0 -> ../../sda
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:0a.0-ata-2 -> ../../sr0
      lrwxrwxrwx 1 root root  9 Feb 17 13:11 pci-0000:00:0a.0-ata-2.0 -> ../../sr0
    • $ for d in $(ls -l /dev/disk/by-path/|grep -v -- -part|cut -d/ -f3|sort -u|grep -v ^total); do sudo fdisk -l /dev/${d}; done
      [sudo] password for afberendsen: 
      Disk /dev/sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors
      Disk model: CT240BX500SSD1  
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disklabel type: gpt
      Disk identifier: 33799239-4575-4055-BC9F-57A232F4C10D
      
      Device        Start       End   Sectors  Size Type
      /dev/sda1      2048      4095      2048    1M BIOS boot
      /dev/sda2      4096   1232895   1228800  600M Apple HFS/HFS+
      /dev/sda3   1232896   3330047   2097152    1G Linux filesystem
      /dev/sda4   3330048  34787327  31457280   15G Linux filesystem
      /dev/sda5  34787328 468860927 434073600  207G Linux filesystem
      Disk /dev/sdb: 10.91 TiB, 12000138625024 bytes, 23437770752 sectors
      Disk model: 2135            
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      Disklabel type: gpt
      Disk identifier: 52E44AC8-5679-4A04-AA71-C9B0AC07B2FC
      
      Device     Start         End     Sectors  Size Type
      /dev/sdb1   2048 23437768703 23437766656 10.9T Linux filesystem
      Disk /dev/sdc: 16.37 TiB, 18000207937536 bytes, 35156656128 sectors
      Disk model: 2135            
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      Disklabel type: gpt
      Disk identifier: C1F501F0-736D-4E4F-88BD-895F71DBAD5F
      
      Device     Start         End     Sectors  Size Type
      /dev/sdc1   2048 35156654079 35156652032 16.4T Linux filesystem
      Disk /dev/sdd: 16.37 TiB, 18000207937536 bytes, 35156656128 sectors
      Disk model: 2135            
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      Disklabel type: gpt
      Disk identifier: 24DCAF8B-24A7-C748-B2B1-37C0580AA625
      
      Device     Start         End     Sectors  Size Type
      /dev/sdd1   2048 35156654079 35156652032 16.4T Linux filesystem
      Disk /dev/sde: 14.55 TiB, 16000900661248 bytes, 31251759104 sectors
      Disk model: 2135            
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      Disklabel type: gpt
      Disk identifier: 9C8266C1-1292-0049-88CE-ACD5551F083E
      
      Device     Start         End     Sectors  Size Type
      /dev/sde1   2048 31251757055 31251755008 14.6T Linux filesystem
      Disk /dev/sdf: 16.37 TiB, 18000207937536 bytes, 35156656128 sectors
      Disk model: 2135            
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      Disklabel type: gpt
      Disk identifier: 33A7EB66-36C4-4F96-873F-0FE9A93C7573
      
      Device     Start         End     Sectors  Size Type
      /dev/sdf1   2048 35156654079 35156652032 16.4T Linux filesystem
      fdisk: cannot open /dev/sr0: No medium found
    • $ for d in $(ls -l /dev/disk/by-path/|grep -v -- -part|cut -d/ -f3|sort -u|grep -v ^total); do echo $d;echo;echo;sudo hdparm -I /dev/${d}|grep -E 'Model Number|Serial Number|device size with M'; done
      sda
      
      
      	Model Number:       CT240BX500SSD1                          
      	Serial Number:      1852E169BA3B        
      	device size with M = 1024*1024:      228936 MBytes
      	device size with M = 1000*1000:      240057 MBytes (240 GB)
      sdb
      
      
      	Model Number:       ST12000NM0017-2A1111                    
      	Serial Number:      ZJV3PP3Z
      	device size with M = 1024*1024:    11444224 MBytes
      	device size with M = 1000*1000:    12000138 MBytes (12000 GB)
      sdc
      
      
      	Model Number:       ST18000NM000J-2TV103                    
      	Serial Number:      WR501FB7
      	device size with M = 1024*1024:    17166336 MBytes
      	device size with M = 1000*1000:    18000207 MBytes (18000 GB)
      sdd
      
      
      	Model Number:       TOSHIBA MG09ACA18TE                     
      	Serial Number:      62P0A1GZFJDH
      	device size with M = 1024*1024:    17166336 MBytes
      	device size with M = 1000*1000:    18000207 MBytes (18000 GB)
      sde
      
      
      	Model Number:       ST16000NM001G-2KK103                    
      	Serial Number:      ZL277F9J
      	device size with M = 1024*1024:    15259648 MBytes
      	device size with M = 1000*1000:    16000900 MBytes (16000 GB)
      sdf
      
      
      	Model Number:       ST18000NM000J-2TV103                    
      	Serial Number:      ZR52XR9A
      	device size with M = 1024*1024:    17166336 MBytes
      	device size with M = 1000*1000:    18000207 MBytes (18000 GB)
      sr0
      
      
      	Model Number:       HL-DT-STDVDRW  GA32N                    
      	Serial Number:      K0ZA4NM4838
    • $ sudo targetcli ls
      o- / ......................................................................................................................... [...]
        o- backstores .............................................................................................................. [...]
        | o- block .................................................................................................. [Storage Objects: 5]
        | | o- t14-A-disk0 ....................................... [/dev/disk/by-id/wwn-0x5000c500e051f64e (16.4TiB) write-thru activated]
        | | | o- alua ................................................................................................... [ALUA Groups: 1]
        | | |   o- default_tg_pt_gp ....................................................................... [ALUA state: Active/optimized]
        | | o- t14-A-disk1 ....................................... [/dev/disk/by-id/wwn-0x5000039bb8d90478 (16.4TiB) write-thru activated]
        | | | o- alua ................................................................................................... [ALUA Groups: 1]
        | | |   o- default_tg_pt_gp ....................................................................... [ALUA state: Active/optimized]
        | | o- t14-A-disk2 ....................................... [/dev/disk/by-id/wwn-0x5000c500c6f888dd (14.6TiB) write-thru activated]
        | | | o- alua ................................................................................................... [ALUA Groups: 1]
        | | |   o- default_tg_pt_gp ....................................................................... [ALUA state: Active/optimized]
        | | o- t14-A-disk3 ....................................... [/dev/disk/by-id/wwn-0x5000c500dbef1ab5 (16.4TiB) write-thru activated]
        | | | o- alua ................................................................................................... [ALUA Groups: 1]
        | | |   o- default_tg_pt_gp ....................................................................... [ALUA state: Active/optimized]
        | | o- t14-A-disk4 ....................................... [/dev/disk/by-id/wwn-0x5000c500b49d786c (10.9TiB) write-thru activated]
        | |   o- alua ................................................................................................... [ALUA Groups: 1]
        | |     o- default_tg_pt_gp ....................................................................... [ALUA state: Active/optimized]
        | o- fileio ................................................................................................. [Storage Objects: 0]
        | o- pscsi .................................................................................................. [Storage Objects: 0]
        | o- ramdisk ................................................................................................ [Storage Objects: 0]
        o- iscsi ............................................................................................................ [Targets: 1]
        | o- iqn.1994-05.com.redhat:1bf353c196ef ............................................................................... [TPGs: 1]
        |   o- tpg1 ............................................................................................... [no-gen-acls, no-auth]
        |     o- acls .......................................................................................................... [ACLs: 1]
        |     | o- iqn.1994-05.com.redhat:ecdd17858d7 ................................................................... [Mapped LUNs: 5]
        |     |   o- mapped_lun0 ........................................................................... [lun0 block/t14-A-disk0 (rw)]
        |     |   o- mapped_lun1 ........................................................................... [lun1 block/t14-A-disk1 (rw)]
        |     |   o- mapped_lun2 ........................................................................... [lun2 block/t14-A-disk2 (rw)]
        |     |   o- mapped_lun3 ........................................................................... [lun3 block/t14-A-disk3 (rw)]
        |     |   o- mapped_lun4 ........................................................................... [lun4 block/t14-A-disk4 (rw)]
        |     o- luns .......................................................................................................... [LUNs: 5]
        |     | o- lun0 .................................. [block/t14-A-disk0 (/dev/disk/by-id/wwn-0x5000c500e051f64e) (default_tg_pt_gp)]
        |     | o- lun1 .................................. [block/t14-A-disk1 (/dev/disk/by-id/wwn-0x5000039bb8d90478) (default_tg_pt_gp)]
        |     | o- lun2 .................................. [block/t14-A-disk2 (/dev/disk/by-id/wwn-0x5000c500c6f888dd) (default_tg_pt_gp)]
        |     | o- lun3 .................................. [block/t14-A-disk3 (/dev/disk/by-id/wwn-0x5000c500dbef1ab5) (default_tg_pt_gp)]
        |     | o- lun4 .................................. [block/t14-A-disk4 (/dev/disk/by-id/wwn-0x5000c500b49d786c) (default_tg_pt_gp)]
        |     o- portals .................................................................................................... [Portals: 1]
        |       o- 0.0.0.0:3260 ..................................................................................................... [OK]
        o- loopback ......................................................................................................... [Targets: 0]
        o- sbp .............................................................................................................. [Targets: 0]
        o- vhost ............................................................................................................ [Targets: 0]
    • $ sudo uname -a
      [sudo] password for afberendsen: 
      Linux HG000014 6.7.4-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Feb  5 22:21:14 UTC 2024 x86_64 GNU/Linux
  • Network
    • $ ll /sys/class/net
      total 0
      lrwxrwxrwx 1 root root    0 Feb 17 13:11 bond0 -> ../../devices/virtual/net/bond0
      -rw-r--r-- 1 root root 4096 Feb 17 14:04 bonding_masters
      lrwxrwxrwx 1 root root    0 Feb 17 13:11 enp0s6f1u2 -> ../../devices/pci0000:00/0000:00:06.1/usb1/1-2/1-2:1.0/net/enp0s6f1u2
      lrwxrwxrwx 1 root root    0 Feb 17 13:11 enp4s0f0 -> ../../devices/pci0000:00/0000:00:16.0/0000:04:00.0/net/enp4s0f0
      lrwxrwxrwx 1 root root    0 Feb 17 13:10 lo -> ../../devices/virtual/net/lo
      lrwxrwxrwx 1 root root    0 Feb 17 13:11 wlp3s0b1 -> ../../devices/pci0000:00/0000:00:15.0/0000:03:00.0/bcma0:1/net/wlp3s0b1
    • $ route -n
      Kernel IP routing table
      Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
      0.0.0.0         192.168.0.1     0.0.0.0         UG    300    0        0 bond0
      192.168.0.0     0.0.0.0         255.255.255.0   U     300    0        0 bond0
      192.168.1.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp3s0b1
    • $ ifconfig 
      bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>  mtu 1500
              inet 192.168.0.14  netmask 255.255.255.0  broadcast 192.168.0.255
              inet6 fe80::97e4:7cf3:ee45:2be2  prefixlen 64  scopeid 0x20<link>
              inet6 2a02:8109:aa24:cf00::81ed  prefixlen 128  scopeid 0x0<global>
              inet6 2a02:8109:aa24:cf00:9b07:d643:e06c:eeaf  prefixlen 64  scopeid 0x0<global>
              ether 9c:a2:f4:b6:19:c2  txqueuelen 1000  (Ethernet)
              RX packets 1560615758  bytes 1301524413708 (1.1 TiB)
              RX errors 0  dropped 299  overruns 0  frame 0
              TX packets 1357906170  bytes 1464144791651 (1.3 TiB)
              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
      
      enp0s6f1u2: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>  mtu 1500
              ether 9c:a2:f4:b6:19:c2  txqueuelen 1000  (Ethernet)
              RX packets 1018895575  bytes 779922042782 (726.3 GiB)
              RX errors 0  dropped 0  overruns 0  frame 0
              TX packets 693721999  bytes 738838561034 (688.0 GiB)
              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
      
      enp4s0f0: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>  mtu 1500
              ether 9c:a2:f4:b6:19:c2  txqueuelen 1000  (Ethernet)
              RX packets 541720185  bytes 521602371046 (485.7 GiB)
              RX errors 0  dropped 299  overruns 0  frame 0
              TX packets 664184172  bytes 725306230731 (675.4 GiB)
              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
              device interrupt 16  
      
      lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
              inet 127.0.0.1  netmask 255.0.0.0
              inet6 ::1  prefixlen 128  scopeid 0x10<host>
              loop  txqueuelen 1000  (Local Loopback)
              RX packets 39  bytes 3658 (3.5 KiB)
              RX errors 0  dropped 0  overruns 0  frame 0
              TX packets 39  bytes 3658 (3.5 KiB)
              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
      
      wlp3s0b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
              inet 192.168.1.14  netmask 255.255.255.0  broadcast 192.168.1.255
              inet6 fe80::88b2:141c:db04:6cb0  prefixlen 64  scopeid 0x20<link>
              ether 58:b0:35:87:19:c3  txqueuelen 1000  (Ethernet)
              RX packets 392164  bytes 71695795 (68.3 MiB)
              RX errors 0  dropped 17212  overruns 0  frame 0
              TX packets 44751  bytes 4052502 (3.8 MiB)
              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    • $ sudo grep 'master=bond0' /etc/NetworkManager/system-connections/*.nmconnection
      /etc/NetworkManager/system-connections/bond-slave-enp0s6f1u2.nmconnection:master=bond0
      /etc/NetworkManager/system-connections/bond-slave-enp4s0f0.nmconnection:master=bond0
      afberendsen@HG000014:~$ 
      
    • $ nmcli connection show|grep wifi
      Berendsen              d597842f-8b12-42c0-8b49-4ef17aa1b90d  wifi      wlp3s0b1  
  • Operating System
    • $ uname -a
      Linux HG000014 6.7.4-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Feb  5 22:21:14 UTC 2024 x86_64 GNU/Linux
    • Swap space
      $ swapon
      NAME       TYPE      SIZE USED PRIO
      /dev/zram0 partition 7.5G   0B  100

Comments

Popular posts from this blog

TV Series - The Brokenwood Mysteries [NZ] (2014) - Season 10

 

Movie - Sin City: A Dame to Kill For (2014)

 

Movies - Deadpool & Wolverine (2024)