systeminformation: Match RAID blocks to the relevant disks
Hello there, is there any way to get the correct disks that belong to the relevant raid blocks?
To better understand what I mean, these two blocks are the raid blocks on your system:
{
name: 'md1',
type: 'raid0',
fsType: 'ext4',
mount:
'/mnt/host/srv/dev-disk-by-uuid-c341fe26-6494-4e16-a530-4dc06e3c904f',
size: 1023949144064,
physical: '',
uuid: 'c341fe26-6494-4e16-a530-4dc06e3c904f',
label: '',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined,
},
{
name: 'md0',
type: 'raid1',
fsType: 'ext4',
mount: '/mnt/host/srv/dev-disk-by-label-Array',
size: 4000652787712,
physical: '',
uuid: 'a144c5d0-11e0-4889-94ff-74748b02777d',
label: 'Array',
model: '',
serial: '',
removable: false,
protocol: '',
group: undefined,
},
And these are the relevant disks:
{
name: 'sdb',
type: 'disk',
fsType: 'linux_raid_member',
mount: '',
size: 4000787030016,
physical: 'HDD',
uuid: '70112d0e-8e45-9502-d1af-2eaaa608f693',
label: 'Joe:mirrored',
model: 'ST4000DM004-2CV1',
serial: '',
removable: false,
protocol: 'sata',
group: undefined,
},
{
name: 'sdc',
type: 'disk',
fsType: 'linux_raid_member',
mount: '',
size: 4000787030016,
physical: 'HDD',
uuid: '70112d0e-8e45-9502-d1af-2eaaa608f693',
label: 'Joe:mirrored',
model: 'ST4000DM004-2CV1',
serial: '',
removable: false,
protocol: 'sata',
group: undefined,
},
{
name: 'sdd',
type: 'disk',
fsType: 'linux_raid_member',
mount: '',
size: 512110190592,
physical: 'SSD',
uuid: 'ff12ce61-fdd1-920f-fd01-6eb8c668b47a',
label: 'Joe:1',
model: 'ADATA SU800 ',
serial: '',
removable: false,
protocol: 'sata',
group: undefined,
},
{
name: 'sde',
type: 'disk',
fsType: 'linux_raid_member',
mount: '',
size: 512110190592,
physical: 'SSD',
uuid: 'ff12ce61-fdd1-920f-fd01-6eb8c668b47a',
label: 'Joe:1',
model: 'ADATA SU800 ',
serial: '',
removable: false,
protocol: 'sata',
group: undefined,
},
How can I see which disk belong to which RAID? And if there is no such feature, is it possible to add?
Relevant Issue: https://github.com/MauriceNino/dashdot/issues/295
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 26 (11 by maintainers)
@MauriceNino … always welcome … have a good day!
I have asked the user to provide the output, but as the issue is a little older, it might take some time. But either way, I think it would be a great addition, even if it doesn’t fix it for that one user.
I have also asked on my discord server if anyone has some input, maybe someone responds there as well.
Thanks for answering my questions! 😃