Bug 385009 - Incorrect report for LVM Raids
Summary: Incorrect report for LVM Raids
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-solid
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.37.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-24 01:29 UTC by alcinos
Modified: 2022-12-10 05:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alcinos 2017-09-24 01:29:14 UTC
I noticed that LVM Raids are not properly reported:
I get the following output:
udi = '/org/freedesktop/UDisks2/block_devices/dm_2d0'
  parent = '/'  (string)
  vendor = ''  (string)
  product = ''  (string)
  description = ''  (string)
  Block.major = 254  (0xfe)  (int)
  Block.minor = 0  (0x0)  (int)
  Block.device = '/dev/dm-0'  (string)

udisksctl returns:
/org/freedesktop/UDisks2/block_devices/dm_2d0:
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/org/freedesktop/UDisks2/block_devices/sda3'
    Device:                     /dev/dm-0
    DeviceNumber:               65024
    Drive:                      '/'
    HintAuto:                   false
    HintIconName:               
    HintIgnore:                 false
    HintName:                   
    HintPartitionable:          false
    HintSymbolicIconName:       
    HintSystem:                 true
    Id:                         by-id-dm-name-MyStorage
    IdLabel:                    
    IdType:                     LVM2_member
    IdUUID:                     YpMqXe-49qp-okTn-hDH7-pjdy-41mf-j1Mxnt
    IdUsage:                    raid
    IdVersion:                  LVM2 001
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/mapper/MyStorage
    ReadOnly:                   false
    Size:                       494927158784
    Symlinks:                   /dev/disk/by-id/dm-name-MyStorage
                                /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-d64ce529815547638d8c0fb77a21b711-MyStorage
                                /dev/disk/by-id/lvm-pv-uuid-YpMqXe-49qp-okTn-hDH7-pjdy-41mf-j1Mxnt
                                /dev/mapper/MyStorage


Notice how it reports a raid. I'd have expected solid to return a StorageVolume with the flag Raid
Comment 1 Justin Zobel 2022-11-10 08:51:40 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-11-25 05:17:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-12-10 05:14:56 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!