[linux-lvm] Problem with LVs

From: Michael Hill <michael mhill net>

To: linux-lvm redhat com

Subject: [linux-lvm] Problem with LVs

Date: Fri, 7 May 2004 19:37:16 -0600

I'm having a strange problem, and I haven't found any help in the
regular places so far.
I have a VG, data_vg, with three LVs (data, games, and winex). After
doing some disk-related work (not involving the PV on which data_vg
resides), I found that one of the filesystems (data) contained the
content of another (winex) instead. /dev/data_vg looks like this:
brw-r----- 1 root root 58, 6 Dec 31 1969 data
brw-r----- 1 root root 58, 7 Dec 31 1969 games
crw-r----- 1 root root 109, 3 Dec 31 1969 group
brw-r----- 1 root root 58, 7 Dec 31 1969 lvol2
brw-r----- 1 root root 58, 6 Dec 31 1969 winex
The minor device number for data and winex is the same. I'm hoping that
the blocks belonging to LV data are still intact on the PV. I need to
figure out how to get LV data pointing back to where it should be. Any
help toward that end will be GREATLY appreciated.
--
--Michael
-------------------------------------------------------------------------------
Michael Hill <>< Isaiah 9:6 |
michael AT mhill DOT net | # find / -name '*[Bb][Aa][Ss][Ee]*' \
Aerospace/Software Engineer | > -user your -print | xargs chown us:cats
http://www.qadas.com/~msh/ |
---In a marketplace (like the one of ideas), not everything has equal value!---
Did you ever notice that everybody in favor of abortion has already been born?!