Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[root@localhost /]# lvextend /dev/cl /dev/sda3
"/dev/cl": Invalid path for Logical Volume.
Run `lvextend --help' for more information.
[root@localhost /]#
/dev/cl is your PV (physical volume). You also need the name of the LV (logical volume). Run the "lvs" command to list logical volume names. The whole name should be /dev/<pv>/<lv>, something like: /dev/cl/foo.
Use LV/PV commands, not examination of directory contents, to see what LVM considers to be the logical and the physical picture.
All Linux mount-points reside in some logical volume, which is then spread over one-or-more allocations taken from a physical group. Space in a physical group comes from designated partitions on physical drives.
The physical picture concerns itself with devices, not with where the space on those devices is apportioned. Likewise, the logical picture concerns itself with what the OS sees, not the physical resources from whence it comes.
Last edited by sundialsvcs; 08-30-2017 at 02:59 PM.
[root@localhost /]# resize2fs /dev/cl/root
resize2fs 1.42.9 (28-Dec-2013)
resize2fs: Bad magic number in super-block while trying to open /dev/cl/root
Couldn't find valid filesystem superblock.
[root@localhost /]#
Last edited by achudacoff; 08-30-2017 at 05:03 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.