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.
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.