How to resize the / LVM under Fedora 6, or remove the /home mount & make new one?
FedoraThis forum is for the discussion of the Fedora Project.
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.
When I attempt to use that LVM gui tool in Fedora, I get an error indicating that I can not unmount the / partition to perform the operation.
Ideally, I'd like to just replace the existing /home directory with this new 800GB disk that I've added. However, if I could just extend the / LVM to use the extends in the new drive that has been added to /dev/VolGroup00/LogVol00, that'd be cool.
The problem with the former, replacing the /home mount point, is that I've got no idea how to do it with this LVM stuff. There are no individual mount points listed under /dev/VolGroup00/LogVol00 that I can see.
The problem with the later is that when I create a new Logical Group and Volume, then mount it to /home, I've got two /home mounts and that causes odd functionality.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 188.8.131.52, KDE 3.5.8 and KDE 4.0 beta, Plu
You just create a 2nd LVM partition then create a logical volume within. Then use the lvm tools to merge the two together and configure as needed. Not an LVM user but there are many post on that here from a quick search I did.
First, I'm not gifted at understanding all of the various Linux file systems. Generally, I install by manually configuring things...
So, the reason I have a problem with /home mount stuff is that I'm getting and odd error when I attempt to perform a useradd. I don't remeber the specific text, but the basics are that there is some form of conflict that prevents the user files from being written.
Originally, I just created an 800GB new VG/LV and told the new volume to mount to /home... and that's when I got that error with the useradd.
So I went back to the drawing board to add the additional hard disk to the original root (/) VG/LV.
Does that make any sense?
My assumption was that for some reason the new /home mount was conflicting with the old one. However, since I don't see anything other than a / mount... I'm not really sure what you do to fix this issue...
Last edited by gerhardbartsch; 03-05-2007 at 06:40 PM.
But when I re-installed Debian Woody recently on my old computer, it had been a long time since the last time I installed it, a few years back and forgot how to set up the partitions (not very explicit instructions). Anyway, after install I found /home was part of / and not the separate /home partition previously used/shared with other Linux distros on this multi-boot. So this web page (blog) below is what I followed to move it. First you probably know that the new drive should have a partition made and formatted. I don't believe it has to be LVM, it could be ext3fs. And an entry in fstab for the drive.
I guess the simplest thing to do was to move the / based home directory. So I performed a "mv home home.old" command, and the created a new Logical Volume Group and Logical Volume. I then told the LVM manger to mount the LV to /home... and now I don't have any problems or errors when I create a new user or group.
Now, the reason I'm still using LVM is that I've got FC6 running in VMware ESX 3 off a fiber channel SAN. So if I need to add more than 800GB in the future, the LVM for the /home mount can easily be extended since I no longer would have to umount the / partition.
Live and learn I guess. I would have thought that it would be easy to extend the / volume, but it's a real PITA. I did load knoppix, but since my understanding of the actual use of the tools is limited, I opted for the easier solution above.