View previous topic :: View next topic |
Author |
Message |
cayenne l33t
Joined: 17 Oct 2002 Posts: 945 Location: New Orleans
|
Posted: Wed Jun 11, 2008 2:52 pm Post subject: How to find remaining disk space to add to LVM volume? |
|
|
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 _________________ Light travels faster than sound. This is why some people appear bright until you hear them speak......... |
|
Back to top |
|
|
aceFruchtsaft Guru
Joined: 16 May 2004 Posts: 438 Location: Vienna, Austria
|
Posted: Wed Jun 11, 2008 3:18 pm Post subject: Re: How to find remaining disk space to add to LVM volume? |
|
|
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...
|
|
|
Back to top |
|
|
|
|
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
|
|