On a Debian squeeze HP Proliant with Smartarray four disk RAID 1+0 135GB
my client's /var volume was in the mid ninety percent full so I proposed that we reduce /home
I executed the following commands :
lvreduce -L-20G /dev/LVM/home
lvextend -L+20G /dev/LVM/var
the mount didn't go well and I realised that I had omitted a command, so I ran:
Which requested that I run :
e2fsck -f /dev/LVM/home
which produced the following error:
Error reading block 2655233 (Invalid argument). Ignore error<y>?
I ran through the various repair steps that this utility handles and yet the /home volume still won't mount - I get the same result if I run e2fsck again
I don't mind losing the /home volume, but I'd hate (ok worse than hate) to lose the /var
Is there any way to undo these commands or at least to cancel the lvextend on /var ?
I haven't rebooted the server yet.
thanks for your help