command line LVM issue on CentOS 5

Posted by alex-M on Server Fault See other posts from Server Fault or by alex-M
Published on 2012-10-17T03:30:51Z Indexed on 2012/10/17 5:08 UTC
Read the original article Hit count: 97

Filed under:

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.

© Server Fault or respective owner

Related posts about linux