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 am able to create from using lvm GUI to do as follows:

/dev/var-v0l/var          /var             ext3    defaults        1 2
/dev/varopt-vol/var-opt   /var/opt         ext3    defaults        1 2

/dev/mapper/var-v0l     103208224   1881092  96084460   2%   /var
/dev/mapper/varopt-vol  103208224    192252  97773300   1%   /var/opt

but using command line LVM I created I can not do as the above

$ df
df: `/var/opt': No such file or directory

/dev/mapper/var-v0l 103208224 1881092 96084460 2% /var

What am I missing.

share|improve this question
Please include the lvcreate, mkfs and mount commands you've used. – mikebabcock Oct 17 '12 at 3:42

Your Answer


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

Browse other questions tagged or ask your own question.