Bug 199301 - "Disk space" widget does not display LVM partitions
Summary: "Disk space" widget does not display LVM partitions
Status: CONFIRMED
Alias: None
Product: ksysguard
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 227801 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-07 16:32 UTC by Mikle Krutov
Modified: 2012-10-03 14:59 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikle Krutov 2009-07-07 16:32:12 UTC
Version:           4.3RC1 (using Devel)
OS:                Linux
Installed from:    Compiled sources

Plasma widget for showing free disk space doesn't handle lvm partitions. 
It shows disks (/dev/[hs]d[a-z]) with empty bars instead.
Comment 1 mathias.buren 2010-02-10 18:03:37 UTC
I can confirm this with:

Qt: 4.6.1
KDE Development Platform: 4.4.00 (KDE 4.4.0)
kde4-config: 1.0

On 2.6.32.8, lvm2 2.02.60.

fackamato@fackamato-pc ~]$ sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0x06c9b842

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       12450   100004593+   7  HPFS/NTFS
/dev/sda2           12451       20805    67111298+   c  W95 FAT32 (LBA)
/dev/sda3           20806       20818      104422+  83  Linux
/dev/sda4           20819       60801   321163447+  83  Linux

--- Logical volume ---
  LV Name                /dev/lvmvolume/root
  VG Name                lvmvolume
  LV UUID                JLeQvZ-QBg0-6Slt-xYjA-0QWZ-YPbj-j5A3Cm
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                20.00 GiB
  Current LE             20480
  Segments               1
  Allocation             contiguous
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0

  --- Logical volume ---
  LV Name                /dev/lvmvolume/var
  VG Name                lvmvolume
  LV UUID                i79389-0dVQ-q1pc-ZZfu-k023-g1Xj-Ud0uyU
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                10.00 GiB
  Current LE             10240
  Segments               1
  Allocation             contiguous
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:1

  --- Logical volume ---
  LV Name                /dev/lvmvolume/home
  VG Name                lvmvolume
  LV UUID                hIMc3d-jRJx-Ge32-B28i-tqtd-wtrC-ERAWCJ
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                276.28 GiB
  Current LE             282915
  Segments               1
  Allocation             contiguous
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:2
Comment 2 Silver Salonen 2010-02-27 12:43:18 UTC
*** Bug 227801 has been marked as a duplicate of this bug. ***
Comment 3 Ben Aceler 2010-03-06 22:01:36 UTC
*** This bug has been confirmed by popular vote. ***
Comment 4 Juliano F. Ravasi 2010-08-12 15:26:43 UTC
The current implementation wrongly considers that filesystems reside in partitions. It is missing one or two levels of abstraction.
Comment 5 Soumen Dass 2012-10-02 15:12:44 UTC
Using OpenSUSE 12.2 (KDE 4.8).

I have one instance where it does not display mount point for external non-LVM partition - for the below partition, the mount point is not shown (instead it shows the device name):

          /dev/sdb5       41925184 29163488  12761696  70% /movies

However, for /dev/sda* paritiions, the mount points are shown, as expected.
Comment 6 Silver Salonen 2012-10-02 20:09:09 UTC
The widget seems to work fine in KDE 4.9 though. I don't remember at which point it started showing my LVM partitions, but it's been a while now :)
Comment 7 Soumen Dass 2012-10-03 12:12:52 UTC
In my case /dev/sdb5 is not LVM (just an xfs partition on an external harddisk) so its doubly surprising that it would refuse to show the mountpoint and instead show the device name.
Comment 8 Silver Salonen 2012-10-03 14:49:09 UTC
This bug report is about LVM partitions, so I guess you just commented on your case under the wrong bug?
Comment 9 Soumen Dass 2012-10-03 14:59:30 UTC
Thats true. I guess I'll have a file a separate bug.