[linux-lvm] Problem with LVs

Michael Hill michael at mhill.net
Sat May 8 01:37:16 UTC 2004


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?!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20040507/7822412f/attachment.sig>


More information about the linux-lvm mailing list