Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage type not showing on lvm #357

Open
pibiba opened this issue Dec 17, 2024 · 0 comments
Open

Storage type not showing on lvm #357

pibiba opened this issue Dec 17, 2024 · 0 comments
Labels
Priority: Low On the radar, but not the most urgent thing Status: Confirmed Verified by someone other than the reporter

Comments

@pibiba
Copy link

pibiba commented Dec 17, 2024

What Happened?

In the "Hardware" section, the drive type (NVMe SSD, eMMC, SATA SSD, HDD) is not displayed next to the storage on a system with lvm (this may also affect btrfs).

This is just my guess, but with a usual installation df / will print, for example, /dev/sda2, and after lsblk you get sda. Then sda replaces %s and the correct path to the file is formed. But when using lvm, the situation changes: df / will print, for example, /dev/mapper/crypt-root, and lsblk will print "emptiness":

~ ❯ lsblk -no pkname /dev/mapper/crypt-root

~ ❯ 

And this emptiness replaces %s and we get this error.

** (io.elementary.settings:18700): WARNING **: 17:37:56.979: HardwareView.vala:538: Error opening file /sys/block/queue/rotational: No such file or directory

Steps to Reproduce

Install the system on lvm
Go to Settings → System → Hardware

Expected Behavior

I would like the storage type to be detected correctly regardless of the installation type: regular, lvm, btrfs.

OS Version

Other

Session Type

Classic Session (X11, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

~ ❯ io.elementary.settings

** (io.elementary.settings:18700): WARNING **: 17:37:56.486: HardwareView.vala:621: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.hostname1.set-static-hostname is not registered

** (io.elementary.settings:18700): WARNING **: 17:37:56.645: OperatingSystemView.vala:435: Couldn't read upstream lsb-release file, assuming none

** (io.elementary.settings:18700): WARNING **: 17:37:56.979: HardwareView.vala:538: Error opening file /sys/block/queue/rotational: No such file or directory
^C


### Hardware Info

Distribution: Artix (Arch WITHOUT systemD)
switchboard-plug-about 8.1.0
@ryonakano ryonakano added Status: Confirmed Verified by someone other than the reporter Priority: Low On the radar, but not the most urgent thing labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low On the radar, but not the most urgent thing Status: Confirmed Verified by someone other than the reporter
Projects
None yet
Development

No branches or pull requests

2 participants