https://bugs.kde.org/show_bug.cgi?id=385009
Bug ID: 385009
Summary: Incorrect report for LVM Raids
Product: frameworks-solid
Version: 5.37.0
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
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
--
You are receiving this mail because:
You are watching all bug changes.