Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
During my surfing on different forums, i have seen many ppl saying they dont use LVM. In my view, LVM does a great job, allowing you to expand partition over multiple drives. So if ppl say they dont use LVM, what they actually mean ?
1) They dont need to expand their partition ?
2) Or is there any alternative available ?
I mean, if i want to increase the size of my /home partition, if i am not using LVM, i cant do by simply adding another drive right ??
I agree, LVM has many useful features (the ability to increase the size of partitions, the ability to encrypt the root file system, etc) that aren't accessible without it. Fedora seems to be the king of LVM at this point, because the Fedora installer uses LVM to create an encrypted root FS. I have no idea why people are against it.
WIth the size of disks these days, it's probably option 1, but as troop pointed out, there are other options if all you want is a mechanism to span volumes.
Though LVM also provides a mechanism for spanning, it's not it's primary purpose. If anyone is using it only for that then IMO they're missing out, but from the posts I've seen on these forums over the years, there are many people who seem to be using it badly.
Another of LVM's useful features is snapshotting. Snapshotting allows verify-after-backup and a short down time for services that keep altering files when running such as virtual machines. For example:
I recently installed both CentOS 5.5 and Debian Squeeze and was puzzled by their default of using all the disk (except for a small /boot) for LVM and then assigning all the LVM space to / (no other file systems except /boot).
Perhaps I'm misunderstanding something but that seems to give all the complexity of LVM and none of the benefits ...
I may be slightly off in my knowledge so if I am please correct me, but I think I am correct when I say, LVM is useful because you don't need to devote your entire hard drive to partitions for LVM and (this one I am not totally sure about but I think is true), you would be able to alter sizes of your partitions even after install. I don't believe LVM allows for redundant content so that could be risky.