[linux-lvm] Volume groups on SAN storage

Thomas Meller thomas.meller at gmx.net
Fri Feb 13 09:05:33 UTC 2004

Hello everybody,

recently (today) I had a problem.

I'm trying to create a HA Cluster for a DCE server.
This is difficult work and sometimes very confusing.

My goal is to make it bootable from a SAN.
So far I managed to install GRUB and boot the machine. The rootfs and the rest can be
I found, then, that the SCSI-devices inside one of my volume groups were the wrong ones.

What is special about that is that the same content on a device can be seen on different
SCSI-devices. This is due to some mirroring within the storage sytems. I cannot avoid that.

Now, I have a readonly physical volume inside one of my volume groups. I want to insert the
writeable mirror and get rid of the readonly.
AFAICS this is not possible because I cannot force vgscan to insert a specified SCSI-device.
Of course the VGDA is marked "part of VG xxx" and cannot be written anymore. So it cannot be
imported nor exported or added to a new VG.

Maybe there is an option anywhere how to scan a particular device. 

Does anybody know how to trick LVM?
Is there a hexeditor to patch the VGDA backups to use different /dev/sdXX devices?
And if so, does that help?

I'm using redhat 8.0 and I'm bound to that version.



Thomas Meller
mailto: thomas.meller at t-systems.ch
mailto: thomas.meller at gmx.net
...Our continuing mission: To seek out knowledge of C, to explore strange
UNIX commands, and to boldly code where no one has had a man page before.

More information about the linux-lvm mailing list