LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-10-2005, 07:58 AM   #1
saranga2000
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
wierd lvm problem


Hi can anyone explain why df -kh and lvscan return different sizes for the logical volumes?
[root@alpha work]# lvscan
lvscan -- ACTIVE "/dev/vg/tmp" [156 MB]
lvscan -- ACTIVE "/dev/vg/var" [552 MB]
lvscan -- ACTIVE "/dev/vg/opt" [4.12 GB]
lvscan -- ACTIVE "/dev/vg/home" [1.46 GB]
lvscan -- ACTIVE "/dev/vg/usr" [2.50 GB]
lvscan -- 5 logical volumes with 8.77 GB total in 1 volume group
lvscan -- 5 active logical volumes

[root@aplha work]# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/hda8 1012M 171M 790M 18% /
/dev/hda5 99M 9.0M 85M 10% /boot
/dev/vg/home 1.5G 1.3G 100M 93% /home
/dev/vg/opt 4.0G 3.3G 550M 86% /opt
none 157M 0 157M 0% /dev/shm
/dev/vg/tmp 142M 4.6M 133M 4% /tmp
/dev/vg/usr 2.1G 2.0G 16M 100% /usr
/dev/vg/var 494M 60M 409M 13% /var

I created the volumes ran resize2fs, e2fsck, the works. As far as I know I did not miss anything. Followed the tdlp pages on lvm.

Can someone explain, help fix it? As you can see, for example lI have alloted 2.5 G for /usr but only 2.1 is mounted, so I have lost 400MB. Same with the others.

TIA
Vinod
 
  


Reply



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
LVM Problem ZilverZtream Linux - Software 1 01-15-2005 05:08 AM
really wierd problem mrchin Linux - Newbie 6 09-01-2004 04:33 PM
wierd problem Zerodark Slackware 2 10-31-2003 08:53 PM
wierd problem jt1020 Linux - General 2 05-19-2003 02:29 PM
LVM problem frig_neutron Linux - Software 12 05-13-2003 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration