Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 07-25-2008, 05:11 PM   #1
Registered: Jun 2006
Posts: 132

Rep: Reputation: 15
how to fixe-my logical volume partition-size-error ?

I have a centOS 5 server and recently I tried to shrink the /usr partition online:
[root@us-vm1 ~]# lvreduce -L 1G /dev/vg00/lv_usr
WARNING: Reducing active and open logical volume to 1.00 GB
THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce lv_usr? [y/n]: y
Reducing logical volume lv_usr to 1.00 GB
Logical volume lv_usr successfully resized
[root@us-vm1 ~]# df -h /usr
Filesystem Size Used Avail Use% Mounted on
5.9G 2.1G 3.5G 37% /usr
[root@us-vm1 ~]# resize2fs /dev/vg00/lv_usr
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/vg00/lv_usr is mounted on /usr; on-line resizing required
On-line shrinking from 1572864 to 262144 not supported.

after reboot I get error at boot post:
The filesystem size (according to the superblock)is 1572864 blocks
The physical size of the devoce is 262144 blocks
Either the superblock or the partition table is likely to be corrupt!

I boot to single user mode and rescue mode, and use e2fsck tried to fix it, no luck.
anybody has a solution, thanks in advance!
Old 07-26-2008, 03:33 AM   #2
Registered: Jun 2008
Location: Phoenix, Arizona, USA
Distribution: Slackware
Posts: 326

Rep: Reputation: 49
Sounds like it's totally corrupted. It DID warn you and you did it anyway, and from how desperate you are you didn't back up, so this is your fault. Sorry dude.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing Logical Volume Partition BobNutfield Fedora 4 02-03-2008 05:56 PM
LVM: The Impact of Reducing a Logical Volume Size? muff Linux - General 0 07-27-2007 02:18 AM
Root partition on logical volume and kernel without module support CedrX Linux - Server 1 03-02-2007 11:26 AM
max logical volume size for dell 2850 server jcai Linux - General 1 06-09-2006 12:22 AM
Can create logical volume after ext3 partition setup finished? lewkh Linux - Newbie 0 11-17-2004 01:00 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration