Data lost while reducing the lvm
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,
You have to reduce the filesystem before the LV.
See the howto at tldp.org
|All times are GMT -5. The time now is 06:03 AM.|