[linux-lvm] bug in lvm 1.0.[23]

Andreas Dilger adilger at clusterfs.com
Fri Mar 1 12:55:02 UTC 2002


On Mar 01, 2002  19:57 +0100, Wiktor Wodecki wrote:
> Well, my new drives were merged to a vg called "storage", lv's were
> created, everything fine. Now I pluged-in the old drives, and, well,
> okay, it was party my fault by now, the old 'storage' vg was accessible,
> the new one wasn't. I renamed the active vg to vg0 and rebootet in
> hope for two vg's to be available. There still was only one vg active,
> the old one. Suprisingly it was accessible under the new *and* the old
> name. Rather strange. I pluged the old disks of, and started my pc, to
> discover that the new vg was accessible under those two names, too. I
> could rename them and work with the old and the new vg, but the point
> is that I have 4 vgs now in my system - I only should see two. It's a
> nasty bug and one shouldn't be so dumb as I was, but I think some sanity
> checks in the code wouldn't be bad.

Probably just old devices in /dev.  Just delete /dev/storage and /dev/vg0
and re-run vgscan.  It should set it up properly now.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/





More information about the linux-lvm mailing list