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!
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.
Back in the day, I foolishly installed my Fedora server with the default logical volume layout on one physical volume. Knowing now that this is a huge waste of space (partition is large) I'd like to reduce the logical volume and somehow detach this now unused space and mount as a normal partition. Is this possible? Only 20GB of the 160GB has been used for the OS. Home partition is on a secondary disk.
1.First unmount that partition by "umount /dev/vol0/root" whatever it is, check in "/etc/fstab"
2.then run "fsck -f /dev/vol0/root"
3.resize2fs /dev/vol0/root 5G" if wan to reduce to 5GB
4.run lvreduce -L 5G /dev/vol0/root"
5.mount -a
That's it. This is the normal operation. I do in this way, use this method!
1.First unmount that partition by "umount /dev/vol0/root" whatever it is, check in "/etc/fstab"
2.then run "fsck -f /dev/vol0/root"
3.resize2fs /dev/vol0/root 5G" if wan to reduce to 5GB
4.run lvreduce -L 5G /dev/vol0/root"
5.mount -a
That's it. This is the normal operation. I do in this way, use this method!
Perfect - will I have to use a rescue CD, Knoppix or similar if the OS is on that partition?
Perfect - will I have to use a rescue CD, Knoppix or similar if the OS is on that partition?
Take great care in following that advice....I suggest reading some earlier posts by the user, to give you background.
Honestly, the best (and safest) way to do this, would be to back your data up, and do a fresh install. If you're not already at Fedora 13, it's a perfect opportunity to not only resize/repartition your disks, but upgrade your OS as well.
But before you do ANYTHING, make very, VERY sure you have good backups!!! Anytime you mess with volume sizes, partitons, etc., there's always a chance things can go bad.
I backup everything since I hosed my first DOS computer by uninstalling SuperStor (disk compression) when I was a kid Only needed to happen once! I'm running the latest Fedora - Fedora 13 "Goddard".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.