Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using LVM on a system I set up a few years ago. At the time I left some unpartitioned space on the drive so I could create LVM snapshots.

I've now forgotten how much space I set aside.

How can I see how much is free?

share|improve this question
up vote 7 down vote accepted

Run the /usr/sbin/vgs command. It will list all the LVM volume groups, the total size of each one and the amount of free space.

share|improve this answer
thankyou - worked a treat! – Paul Dixon Sep 11 '09 at 10:24

In addition to sagi's correct answer, as a more general way to help yourself with this, you can just type sudo lvm or run lvm as root to take you into a lvm console.

You can then type help to see all the lvm commands, this is a good way to help keep all these commands straight.

[kbrandt@machine: ~] sudo lvm                                                                                                                       
lvm> help
  Available lvm commands:
  Use 'lvm help <command>' for more information

  dumpconfig      Dump active configuration
  formats         List available metadata formats
  help            Display help for commands
  lvchange        Change the attributes of logical volume(s)
  lvconvert       Change logical volume layout
  lvcreate        Create a logical volume
  lvdisplay       Display information about a logical volume
  lvextend        Add space to a logical volume
  lvmchange       With the device mapper, this is obsolete and does nothing.
  lvmdiskscan     List devices that may be used as physical volumes
  lvmsadc         Collect activity data
  lvmsar          Create activity report
  lvreduce        Reduce the size of a logical volume
  lvremove        Remove logical volume(s) from the system
  lvrename        Rename a logical volume
  lvresize        Resize a logical volume
share|improve this answer

pvs for example

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.