messed up an fs with lvreduce
hi, tried this one :
server1:~# lvreduce -L1G /dev/fileserver/media WARNING: Reducing active logical volume to 1.00 GB THIS MAY DESTROY YOUR DATA (filesystem etc.) Do you really want to reduce media? [y/n]: <-- y Reducing logical volume media to 1.00 GB Logical volume media successfully resized that's the exact syntax i did (from the site: http://www.howtoforge.com/linux_lvm_p2) it was resized. . .but i saw something about corrupted blocks? etc.. suggested to do fsck but it was aborted... thought it was ok.. after a reboot, i encountered an error. .. cannot find the (lv i removed) was dropped into a command prompt.. but cannot troubleshoot the problem. .. any ideas on how to handle reducing lv errors? |
Hi,
Like LVM says: Quote:
I admit I never tried reducing an lv for the reasons above. If I have some free space I'd rather rsync the data to a smaller lv and change the fstab. |
i got now the logic. .. to reduce safely . . i MUST enter the desired space to be reduced first using : resize2fs THEN goes lvreduce.. :D
thanks for the reply "eco" :) |
All times are GMT -5. The time now is 05:54 PM. |