[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Lost filesystems on LVs

Jean-Eric Cuendet wrote:

> Hi,
> I have a BIG problem. I have an LVM VG of 160Gb. There is 3 LVs defined:
> - MS
> - Distrib
> - backups

I assume that all LVs use the ext2 fs...

> This morning, I made a e2fsadm to reduce the MS volume and grow the backup
> one.
> I umounted the MS volume, made the e2fsadm. All was OK, no error.
> I then umounted the backups LV and made the e2fsadm. e2fsck refused to work
> saying that there was no filesystem on it! All was OK, until I umount it!
> And now, I'm sticked with the backups LV with no filesystem (it was OK until
> this night, all backups were OK) and the MS LV with things that I don't
> understand (files that shouldn't be here...)
> Any idea? Help?

Can you deactivate everything (LVs and VG), delete the /dev/<your_vg_nme> and
do a vgscan? I think that LVM has got confused with the special devices' major
and minor numbers, and that would be why you see things where they wouldn't be
expected to be. But I'm (almost) sure that not all of your LVs are using the
same fs, do they?

 David Vidal R. (vidalrod <at> in DOT tum DOT de)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]