Closed
Description
Description of the bug
Storage section only shows around 270 GB used when almost 970 GB is actually used (of 3TB)
How to reproduce
No response
Relevant log output
yarn run v1.22.19
$ node .
(node:27) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
listening on *:3003
Using default network interface "eth0"
Using host os version from "/mnt/host/etc/os-release"
hostname: dashdot: Host not found
Static Server Info: {
os: {
arch: 'x64',
distro: '*removed*',
kernel: '4.19.165+',
platform: 'linux',
release: '3.x',
uptime: 320547.3
},
cpu: {
brand: 'Intel',
model: 'Celeron® J1800',
cores: 2,
threads: 2,
frequency: 2.41
},
ram: {
size: 4016537600,
layout: [
{ brand: 'A1_Manufacturer0', type: 'DDR3', frequency: 1600 },
{ brand: 'Undefined', type: 'DDR3', frequency: 1600 }
]
},
�
storage: {
layout: [
{
device: 'sda',
brand: 'Western Digital',
size: 3000592982016,
type: 'HD',
raidGroup: '*removed*'
},
{
device: 'sdb',
brand: 'Western Digital',
size: 3000592982016,
type: 'HD',
raidGroup: '*removed*'
}
]
},
�
network: {
interfaceSpeed: 1000,
speedDown: 0,
speedUp: 0,
type: 'Wired',
publicIp: ''
},
gpu: { layout: [] },
config: {
port: 3003,
running_in_docker: true,
accept_ookla_eula: true,
use_network_interface: '',
fs_type_filter: [],
disable_integrations: false,
show_host: true,
use_imperial: true,
enable_storage_split_view: false,
always_show_percentages: true,
widget_list: [ 'os', 'cpu', 'storage', 'ram', 'network' ],
os_label_list: [ 'os', 'arch', 'up_since' ],
cpu_label_list: [ 'brand', 'model', 'cores', 'threads', 'frequency' ],
storage_label_list: [ 'brand', 'size', 'type', 'raid' ],
ram_label_list: [ 'brand', 'size', 'type', 'frequency' ],
network_label_list: [ 'type', 'interface_speed', 'public_ip' ],
gpu_label_list: [ 'brand', 'model', 'memory' ],
os_widget_grow: 1.5,
os_widget_min_width: 300,
enable_cpu_temps: true,
cpu_widget_grow: 4,
cpu_widget_min_width: 500,
cpu_shown_datapoints: 20,
cpu_poll_interval: 1000,
storage_widget_grow: 3.5,
storage_widget_min_width: 500,
storage_poll_interval: 60000,
ram_widget_grow: 4,
ram_widget_min_width: 500,
ram_shown_datapoints: 20,
ram_poll_interval: 1000,
speed_test_interval: NaN,
network_widget_grow: 6,
network_widget_min_width: 500,
network_shown_datapoints: 20,
network_poll_interval: 1000,
gpu_widget_grow: 6,
gpu_widget_min_width: 700,
gpu_shown_datapoints: 20,
gpu_poll_interval: 1000,
override: {
os: '*removed*',
arch: undefined,
cpu_brand: undefined,
cpu_model: undefined,
cpu_cores: undefined,
cpu_threads: undefined,
cpu_frequency: undefined,
ram_brand: '*removed*',
ram_size: undefined,
ram_type: undefined,
ram_frequency: undefined,
network_type: undefined,
network_speed_up: undefined,
network_speed_down: undefined,
network_interface_speed: undefined,
network_public_ip: '*.*.*.*',
storage_brands: [],
storage_sizes: [],
storage_types: [],
gpu_brands: [],
gpu_models: [],
gpu_memories: []
}
}
}
Running speed-test (this may take a few minutes)...
First measurement [Storage]: { layout: [ { load: 76902424576 }, { load: 211781820416 } ] }
First measurement [Network]: { up: 0, down: 0 }
First measurement [RAM]: 2064343040
First measurement [CPU]: [
{ load: 44.65870630128057, temp: null, core: 0 },
{ load: 43.802947407616756, temp: null, core: 1 }
]
Info output of dashdot cli
docker exec dashdot yarn cli info
yarn run v1.22.19
$ node dist/apps/cli/main.js info
INFO
=========
Yarn: 1.22.19
Node: v18.4.0
Dash: 4.1.1
Cwd: /app
Hash: cd2e63be1a0c1511c7488323fe609dc0645a2c70
In Docker: true
In Podman: false
In Docker (env): true
Done in 1.59s.
What browsers are you seeing the problem on?
No response
Where is your instance running?
Docker
Additional context
docker exec dashdot yarn cli raw-data --storage
yarn run v1.22.19
$ node dist/apps/cli/main.js raw-data --storage
Disk Layout: [
{
device: '/dev/sda',
type: 'HD',
name: 'WDC WD30EFRX-68E',
vendor: 'Western Digital',
size: 3000592982016,
bytesPerSector: null,
totalCylinders: null,
totalHeads: null,
totalSectors: null,
totalTracks: null,
tracksPerCylinder: null,
sectorsPerTrack: null,
firmwareRevision: '0A82',
serialNum: '',
interfaceType: 'SATA',
smartStatus: 'unknown',
temperature: null
},
{
device: '/dev/sdb',
type: 'HD',
name: 'WDC WD30EFRX-68E',
vendor: 'Western Digital',
size: 3000592982016,
bytesPerSector: null,
totalCylinders: null,
totalHeads: null,
totalSectors: null,
totalTracks: null,
tracksPerCylinder: null,
sectorsPerTrack: null,
firmwareRevision: '0A82',
serialNum: '',
interfaceType: 'SATA',
smartStatus: 'unknown',
temperature: null
}
]
FS Size: [
{
fs: 'overlay',
type: 'overlay',
size: 2950040084480,
used: 1039038992384,
available: 1895998885888,
use: 35.4,
mount: '/'
},
{
fs: '/dev/md9',
type: 'ext4',
size: 1981104128,
used: 769253376,
available: 1092734976,
use: 41.31,
mount: '/mnt/host'
},
{
fs: '/dev/md0',
type: 'ext4',
size: 2950040084480,
used: 1039038992384,
available: 1895998885888,
use: 35.4,
mount: '/mnt/host/mnt/md0'
}
]
Block Devices: [
{
name: 'nbd0',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd1',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd10',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd11',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd12',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd13',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd14',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd15',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd2',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd3',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd4',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd5',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd6',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd7',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd8',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'nbd9',
type: 'disk',
fsType: '',
mount: '',
size: 0,
physical: 'SSD',
uuid: '',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'sda',
type: 'disk',
fsType: '',
mount: '',
size: 3000592982016,
physical: 'HDD',
uuid: '',
label: '',
model: 'WDC WD30EFRX-68E',
serial: '',
removable: false,
protocol: 'sata',
group: undefined
},
{
name: 'sdb',
type: 'disk',
fsType: '',
mount: '',
size: 3000592982016,
physical: 'HDD',
uuid: '',
label: '',
model: 'WDC WD30EFRX-68E',
serial: '',
removable: false,
protocol: 'sata',
group: undefined
},
{
name: 'sda1',
type: 'part',
fsType: 'ext4',
mount: '',
size: 298844160,
physical: '',
uuid: '51d5e887-ee3e-4a53-afa6-8825e0a942ce',
label: 'UTOSDISK',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'sda2',
type: 'part',
fsType: 'linux_raid_member',
mount: '',
size: 2047868928,
physical: '',
uuid: '99bb51de-9f94-23d8-98af-dd3c3dfa2217',
label: '*removed*-X86-S64',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'sda3',
type: 'part',
fsType: 'linux_raid_member',
mount: '',
size: 1024458752,
physical: '',
uuid: '20ee92ac-d018-83b3-0377-9b7c3f682281',
label: '*removed*:UTOSSWAP-X86-S64',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'sda4',
type: 'part',
fsType: 'linux_raid_member',
mount: '',
size: 2997220278272,
physical: '',
uuid: 'd5803b4d-d12f-8d50-3bf1-2ba0683b19d2',
label: '*removed*-X86-S64',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'sdb1',
type: 'part',
fsType: 'ext4',
mount: '',
size: 298844160,
physical: '',
uuid: 'd5b528e7-9f9f-4cb4-8e63-ae13e5d70ac6',
label: 'UTOSDISK',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'sdb2',
type: 'part',
fsType: 'linux_raid_member',
mount: '',
size: 2047868928,
physical: '',
uuid: '99bb51de-9f94-23d8-98af-dd3c3dfa2217',
label: '*removed*-X86-S64',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'sdb3',
type: 'part',
fsType: 'linux_raid_member',
mount: '',
size: 1024458752,
physical: '',
uuid: '20ee92ac-d018-83b3-0377-9b7c3f682281',
label: '*removed*-X86-S64',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'sdb4',
type: 'part',
fsType: 'linux_raid_member',
mount: '',
size: 2997220278272,
physical: '',
uuid: 'd5803b4d-d12f-8d50-3bf1-2ba0683b19d2',
label: '*removed*-X86-S64',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'md0',
type: 'raid1',
fsType: 'ext4',
mount: '/mnt/host/mnt/md0',
size: 2997086060544,
physical: '',
uuid: '66dcec59-d3a9-4698-93ca-d0e0e0a26f0e',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'md8',
type: 'raid1',
fsType: 'swap',
mount: '[SWAP]',
size: 1023868928,
physical: '',
uuid: '3207dae1-11be-4be2-bb9a-142b5b02d744',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
},
{
name: 'md9',
type: 'raid1',
fsType: 'ext4',
mount: '/mnt/host',
size: 2046820352,
physical: '',
uuid: 'fc916935-eaf3-4db0-86a6-296763c1a901',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined
}
]
Done in 1.40s.