[mythtv-users] LVreduce error

David Brodbeck gull at gull.us
Thu Oct 4 23:47:48 UTC 2007

On Oct 4, 2007, at 4:39 PM, Mitch Gore wrote:

> Hi,
> I was trying to reduce the size of my LV so I ran this command:
> lvreduce -L-2G /dev/VolGroup00/LogVol01

lvreduce only reduces the size of the *volume*.  It's up to you to  
shrink the filesystem, first, so it's smaller than the new volume.   
What you've done is chopped the end off your filesystem, corrupting it.

> Now it wont boot compaining about the filesystem is corrupt and to  
> run fsck manually. When i do that it doesnt fix anything.
> How can i repair this? I really need 1 file off the partition.  
> (Durr i know i should have made a backup!)

What kind of filesystem is it?  (ext3, xfs, reiserfs, vfat?)  It  
makes a difference.

More information about the mythtv-users mailing list