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.
On my Gentoo box that I use as a file /web / ftp server, I have 3 hds, and would like to use LVM to see them as one larger drive so I'm not constantly moving / matching files around, and so that I can add to the size at a later date. I found some basics for xfs / lvm2 when setting up mythtv, and have a Volume Group called "server" and a Logical Volume called "drive". Thus far, I have done the following and added the first partition to the LV.
vgcreate server -s 64 /dev/hda4
Total PE = 1308
lvcreate -l 1308 server -n drive
Now I have a bunch of stuff on the LV, and want to add my other two hds to the LV. From what I can find, I think that I need to do the following for each drive:
vgextend server /dev/hdb
note free PE
lvextend -L +[free PE] /dev/server/drive
xfs_growfs /server (/server is the mount point of the LV (/dev/server/drive))
Does this look correct to you guys?? Any of you lvm experts out there got any corrections or additions or suggestions? I really do not want to lose any of the data that is already on the LV. Thanks Nick