Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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'm using lvm technology..on RHEL5
when i reduce my Logical Volume space via lvreduce & lvresize command
the command is :-
#lvreduce -L -200M /dev/vg1/lv1
this is reduce properly..
then free space showing in volume group,
but when i see my mounted partition with
command this is showing old space...
after reboot, this problem is still..
Sorry for my bad english...
Last edited by bharatlalgupta; 03-12-2009 at 07:08 AM.
Reason: some note
The filesystem and the LVM are two different things. You lay the filesystem on top of the LVM. By doing lvreduce you have told LVM to reduce the size of the logical volume (not really a "partition"). However, you've done nothing to affect the size the filesystem was configured for (though you have taken the rug out from underneath it).
What you needed to do was FIRST shrink the filesystem and THEN lvreduce the logical volume. If you had any data in the filesystem in the space that was lvreduced then you've corrupted the filesystem.
What I would suggest at this point:
1) Save everything in the filesystem to another location or backup media.
2) Try running doing the filesystem resize. (e.g. use the resize2fs command if it is an ext2 or ext3 filesystem).
3) Check your data and restore anything that is missing.