Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

$df
/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
2  
Please include the lvcreate, mkfs and mount commands you've used. –  mikebabcock Oct 17 '12 at 3:42

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.