LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-17-2007, 04:57 PM   #1
GTrax
Member
 
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 206

Rep: Reputation: 32
KDiskFree gets it wrong with Logical Volumes


Hi All
I recently added a new 500GB SATA drive. I tried LVM on Debian for the first time, creating a volume group called "system" All went well, exactly as in the manuals, and now I have part of the space as my first logical volume /dev/system/lv1.
Then I created /mnt/lv1, and I added the line to /etc/fstab ..
Code:
/dev/system/lv1  /mnt/lv1  ext3  noauto,noatime,users,exec  0  0
(Yes - there may be better/wiser ways-do tell!)
After making its owner and group me, the user, it works! It shows up in Konqueror file manager, and I can copy stuff into it in the normal way, BUT ..
KDiskFree, the storage space viewing utility that comes with KDE does display the new (lv1), but lists both the 'Size' and the 'Full %' as 'N/A', and the amount 'Free' as '0B'

Did I miss something - or is it just that KDiskFree cannot handle logical volumes?
 
Old 11-09-2007, 03:22 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,666

Rep: Reputation: Disabled
Sorry for answering this late, but...

Well. On my system it says:
Code:
...
name                    type  size   mountpoint  free
/dev/mapper/system-home   ?  4,9 GB      /home   4,2
...
/dev/system/home         ext3  N/A       /home   0 B
...
So the information is there but there are two entries for each volume.

Look into "settings" of KDiskFree and make sure that all "visible" buttons are checked. Please post any result here.

Last edited by JZL240I-U; 11-09-2007 at 03:23 AM.
 
Old 11-09-2007, 03:34 PM   #3
GTrax
Member
 
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 206

Original Poster
Rep: Reputation: 32
My thanks for your reply.
First I see..
Code:
  Device           Type   Size   Mount Point  Free  Full%   Usage
/dev/system/lv1    ext3   N/A   /mnt/lv1      0B    N/A   [green bar]
Then, after right-click -> Mount Device, an new Konqueror window opens with it mounted. Its just like yours. I just had not noticed a completely new green bar appears, because it chooses to arrive several lines above, right in the middle of of the plethora of other partitions I wanted to 'clean up' by adopting LVM in the first place.

Leaving out the others, I also end up with two lines, like this ..
Code:
  Device                 Type   Size      Mount Point   Free     Full%    Usage
/dev/system/lv1          ext3   N/A       /mnt/lv1       0B      N/A     [green bar]
/dev/mapper/system-lv1    ?     246.1GB   /mnt/lv1      43.1GB   82.5%   [green bar]
I created a volume group called 'system'.
I don't remember anything about 'mapper', but I see it appears in yours as well.

Thats OK - Now that I know what it does, I can live it.
 
Old 11-12-2007, 01:10 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,666

Rep: Reputation: Disabled
Umm, didn't try it myself but found it just the other minute in this thread:
http://www.linuxquestions.org/questi...tition-598217/
Code:
man dmsetup
I'm not sure but I think KDiskFree can't see unmounted devices (like floppy and CD). Btw. did you try the settings menu of KDiskFree to make sure everything is enabled?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
finding and mounting logical volumes Steve Riley Fedora 5 04-14-2007 03:39 PM
Wrong calculation of free disk space by kdiskfree AGazzaz Mandriva 2 02-09-2006 06:25 AM
Mounting Logical Volumes acidblue Fedora 6 01-28-2006 10:02 PM
I did not know about logical volumes gezi Linux - Newbie 5 04-27-2005 09:26 AM
how to read the output of df -k and about logical volumes commands jdara1 Linux - Software 3 05-23-2003 12:22 PM


All times are GMT -5. The time now is 01:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration