Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to find remaining disk space to add to LVM volume?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Wed Jun 11, 2008 2:52 pm    Post subject: How to find remaining disk space to add to LVM volume? Reply with quote

Hi all,

I'm new to LVM...and am a bit curious how to find out how much disk space I have left that is unallocated to the logical volume vg.

If I do a df -h I get:
Code:

banana / # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3             2.9G   51M  2.8G   2% /
udev                   10M  196K  9.9M   2% /dev
/dev/mapper/vg-usr     10G  1.4G  8.7G  14% /usr
/dev/mapper/vg-home    10G   33M   10G   1% /home
/dev/mapper/vg-opt    5.0G   33M  5.0G   1% /opt
/dev/mapper/vg-var     10G   99M   10G   1% /var
/dev/mapper/vg-tmp    2.0G   33M  2.0G   2% /tmp
/dev/mapper/vg-download
                      300G   33M  300G   1% /download
shm                   248M     0  248M   0% /dev/shm


I've got 3 drives on this box so far...hda1 = /boot, hda2 = swap, and hda3 = /, these are not LVM

hda4 = LVM
hdc1 = LVM
hdd1 = LVM

All three drives are 500G....

all of the above LVM are added to volume group vg.

I'm not sure what commands to use to see inside the logical volume group, to see how much is allocated and how much is left...

Can someone give me some pointers or links to info?

Thanks,

cayenne :D
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
aceFruchtsaft
Guru
Guru


Joined: 16 May 2004
Posts: 438
Location: Vienna, Austria

PostPosted: Wed Jun 11, 2008 3:18 pm    Post subject: Re: How to find remaining disk space to add to LVM volume? Reply with quote

cayenne wrote:

I'm not sure what commands to use to see inside the logical volume group, to see how much is allocated and how much is left...


Code:

vgdisplay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum