Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-17-2007, 05:47 AM   #1
LQ Newbie
Registered: May 2007
Posts: 1

Rep: Reputation: 0
Data lost while reducing the lvm

Dear All,

I am facing a problem while reducing the lvm

df -h gives the following result.

29G 4.2G 24G 16% /backup

than i run the following command to reduce the logical volume.
lvreduce -L -23G /dev/VolGroup00/backup

But after that i got the following data missing error.
This logical volume is mounted at /backup.

ls -al /backup

drwxr-xr-x 4 root root 4096 Sep 17 18:43 .
drwxr-xr-x 25 root root 4096 Sep 17 19:40 ..
drwxr-xr-x 6 root root 4096 Sep 14 21:44 RHEL
?--------- ? ? ? ? ? RHEL4.4
-rw-r--r-- 1 root root 0 Sep 17 19:02 swapfile

How to reduce a lvm without lossing data.....
Please provide the proper solution for this...

Thansk and Regards,

K. K.
Old 09-17-2007, 06:03 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,259

Rep: Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289
You have to reduce the filesystem before the LV.
See the howto at


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
LVM Nightmare! Have I lost my data? MythN00b Linux - Hardware 14 09-20-2007 09:42 PM
LVM: The Impact of Reducing a Logical Volume Size? muff Linux - General 0 07-27-2007 02:18 AM
HDD partition lost. xandros DVD + me = lost data lein Linux - General 18 05-22-2007 05:47 AM
Reducing the Linux LVM(8e) partition itself (not PV, VG or LV). ajitkth Linux - General 1 03-08-2005 03:45 AM
Reducing size of PV (partition) in LVM clacour Linux - General 2 10-24-2003 08:19 PM

All times are GMT -5. The time now is 01:39 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