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.
I am looking to move a /dev/mapper/VolGroup-lv-home to /dev/mapper/volgroup-lv-root. Can i delete the volumeGroup-lv-home and add it to the VolGroup-lv-root? I am running centos 6 64 bit. Not sure if i can do this with the fdisk command. Here is my output df-h.
PV /dev/sda2 VG VolGroup lvm2 148.01 gb 84.26 free (So where did the 148-84=64 go). I need to get that added back with VolGroup-lv_root now.
When i run mount i see this.
/dev/mapper/VolGroup-lv_root on / type ext4 (rw) - i was seeing the VolGroup-lv_home as well until i unmounted it and removed it. Also when i ran the command lvdisplay i would see /dev/VolGroup/lv_root, /dev/VolGroup/lv_home, /dev/VolGroup/lv_swap (now i just see the lv_root and lv_swap)
Last edited by dmb2002man; 08-09-2011 at 11:23 AM.
since i deleted VolGroup-lv-home, it corrupted the system so it wouldnt boot. Now reinstalled linux and see the root and home volgroups. Now i just need to know how to merge them in 1 volgroup. Here is what i show on reinstall.
lv_home VolGroup -wi-ao 84.26 g
lv_root VolGroup -wi-ao 50.00 g
lv_swap VolGroup -wi-ao 13.75 g
So how can i take the home content and move it to lv_root. Then merge the lv_home to lv_group? thanks
Last edited by dmb2002man; 08-15-2011 at 02:38 PM.
i tried running the cp -pr /dev/mapper/VolGroup-lv_home /dev/mapper/VolGroup-lv_root but it doesn't really do nothing. See i cant view the contents in VolGroup-lv_root or VolGroup-lv_home as it says there not valid directory. Really don't know how to get this finished. I have setup lots of linux machines but not this dept. Need to figure out the volgroups and not sure what im doing wrong. I followed the links above.
Last edited by dmb2002man; 08-22-2011 at 10:56 AM.