Bug 214796 - KDE doesn't detect all the mounted partitions
Summary: KDE doesn't detect all the mounted partitions
Status: RESOLVED UNMAINTAINED
Alias: None
Product: solid
Classification: Unmaintained
Component: libsolid-hal (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Alberto Villa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-16 12:19 UTC by aditsu
Modified: 2018-09-04 15:44 UTC (History)
2 users (show)

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


Attachments
solid-hardware list on laptop (3.80 KB, application/octet-stream)
2013-04-29 04:43 UTC, aditsu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aditsu 2009-11-16 12:19:11 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    Gentoo Packages

I first noticed this problem in the "System Monitor - Hard Disk" widget. This is the list of partitions it currently shows:
/mnt/storage2 - storage2
/mnt/storage - storage
/mnt/backup - backup
 - /dev/sda1
 - /dev/sdb1

But this is what I expect to see (extracted from the output of "mount"):
/dev/md0 on / type ext3 (rw,noatime)
/dev/sda3 on /mnt/backup type ext3 (rw,noatime)
/dev/sda4 on /mnt/storage type ext3 (rw,noatime)
/dev/sdb3 on /mnt/storage2 type ext3 (rw,noatime)
/dev/sdb4 on /mnt/storage3 type ext3 (rw)

Note: md0 is raid1 over sda1 and sdb1, and I have storage3 that doesn't show in the widget.
I'm not sure about storage3, but I'm 100% sure that the widget used to show my root partition, but it doesn't show it anymore.

I thought the problem was in the widget, but then I found that KInfoCenter also shows a list of partitions, and they're basically the same - no storage3 (sdb4) or / (md0) detected. The partition that should be storage3 (sdb4) shows with mount point "none", no type and used size "unknown".
So I figured that it's a system-wide problem in kde.
Comment 1 aditsu 2009-11-16 16:00:53 UTC
Some further details: after the system suddenly froze and I did a cold reset, storage3 was not mounted but I could see "/dev/sdb4 (not accessible)" in the widget. After mounting it, it still says "/dev/sdb4 (not accessible)" but shows the used/free space. And it looks ok in KInfoCenter.
"/" is still missing.
Comment 2 aditsu 2011-08-01 06:57:36 UTC
The widget has been working better for a long time now. I recently upgraded to kde 4.7.0. The widget configuration lists all the mounted partitions (most of them are RAID now), but it also lists all the raw RAID partitions (array members) for some reason, it doesn't make much sense.
And the disk information in KInfoCenter is very confusing now: it has about 30 devices in Device Viewer - Storage Drives; they're all named either "Hard Disk Drive" or a hard disk's model number, but there's absolutely no device name (/dev/something) or mount point (/mnt/something) shown anywhere.
So there are still some issues, but maybe not the same bug.
Comment 3 Alex Fiestas 2013-03-03 15:29:35 UTC
Is this still happening with modern linux? Latest Kubuntu/Opensuse/Fedora?

Thanks !
Comment 4 aditsu 2013-03-05 17:27:55 UTC
(In reply to comment #3)
"modern linux? Latest Kubuntu/Opensuse/Fedora?" what in the world are you talking about?
I'm using kernel 3.6.11 so it's fairly modern, but what does that have to do with anything? And what's the point in asking me about Kubuntu/Opensuse/Fedora?! I don't use any of those distros, I use Gentoo. And "latest" is not a version number, it doesn't really have any objective meaning.
Did you perhaps want to ask about (specific) newer kde versions?
Comment 5 Alex Fiestas 2013-03-05 22:01:02 UTC
I wanted to say anything with KDE 4.10 and recent udisk1/2 recent Kernel (3.7 or 4.8).
Comment 6 aditsu 2013-03-06 02:10:05 UTC
I'm not using kde 4.10 yet, but will post an update after I upgrade. Partition info is really basic stuff, I don't think the kernel makes any difference, as long as it's not older than 2.4 or something. Even if udev 197 is required, any kernel 3.x should do. Also, kernel 4.8? I haven't heard of that.
Comment 7 Alex Fiestas 2013-03-06 09:42:40 UTC
C'mon it is a typo there is no need to be picky.

Execute:
solid-hardware list

Check if the device is in that list or not. If it is then proceed with:
solid-hardware details /path/to/the/device

Also compare the result from solid-hardware with "udisk --enumerate" may be useful.
Comment 8 aditsu 2013-04-18 20:19:11 UTC
Hi, sorry for being "picky", I was probably having a not-so-good day.
I'm running KDE 4.10.1 on my laptop now, with kernel 3.7.10. I only have one SSD and an SD card reader. No RAID. KInfoCenter still shows a lot of confusing / not useful information - under "storage devices" I can see two "hard disk drive" items, one of which has 9 identical sub-items (apparently showing the full model number of the SSD). Double-clicking each one shows more information such as file system type, label, UUID and mount point; no device name. Apparently they are supposed to be the drive's partitions?!
I can provide more info with a RAID setup once I get my main computer running again and upgrade to KDE 4.10.
"solid-hardware list" lists a LOT of low-level things that are not obviously useful. At least 10 of them seem to refer to my SSD or one of its partitions. I'm not sure what to do next.
Comment 9 Christoph Feck 2013-04-27 19:15:40 UTC
Even if you think the output from the commands requested in comment #7 are not useful, you should add them for further inspection.
Comment 10 aditsu 2013-04-29 04:43:00 UTC
Created attachment 79531 [details]
solid-hardware list on laptop

Oh you wanted to see the output? Ok, here is "solid-hardware list" on my laptop.
Comment 11 Christoph Feck 2013-05-13 21:37:41 UTC
Alex, does comment #10 provide the requested information? Please set the status.
Comment 12 Andrew Crouthamel 2018-09-04 15:44:32 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Please try again with the latest version and submit a new bug to frameworks-solid if your issue persists. Thank you!