From: Anders Henke <anders@schlund.de>
To: linux-lvm@sistina.com
Subject: [linux-lvm] multiple vg using the same name
Date: Sun, 17 Jun 2001 14:11:27 +0200 [thread overview]
Message-ID: <20010617141127.E10287@schlund.de> (raw)
Hi,
I'm currently thinking about clustering our storage arrays into a san structure
and how to organize usually identical systems with lvm. I'd like to avoid
giving each host a different name for its VG in order to have an identical
/etc/fstab on every machine (you don't want to alter a mount-option for a
single mountpoint on hundreds of machines by hand or by sed).
I've x machines with x local LVM installations. Each machine uses e.g.
/dev/vg/spool as a LV. These local LVs have been installed the usual way
(pvcreate, vgcreate, lvcreate), so each VG has its own UUID and the LVM
should use the suitable UUIDs to gather the PVs to the suitable VG.
Our idea is to take these PVs via a FC-SAN into one structure, the individual
hosts can only see 'their' storage, but failover-nodes can see every PV in
the SAN so they can completely take a failed node offline (kick the big, red
power button), remount its LV and perform a full take-over.
What happens if the physical volumes of one machine becomes additionaly
available to a second machine, so that the second machine has to see
e.g. 2, 4 or 8 logical volumes with originally the same name (/dev/vg/spool)?
-lvm completely crashes
-only one vg shows up
-the VGs or LVs are temporarily being renamed when doing 'vgscan -a'
-the VGs or LVs are permanently being renamed when doing 'vgscan -a'
What happens if one machine failes, doesn't perform a umount/'vgchange -a n'?
Does the failover-node have a chance to use this VG/LV?
I now that somehow I have to figure a way out which VG belongs to which machine,
but this may be solved via a map of each machines VG UUID, although just
offering a /dev/vg_${hostname}/spool and 'seeing' the VG might be also cool :-)
Anders
--
Schlund + Partner AG Systemadministration and Security
Erbprinzenstrasse 4-12 v://49.721.91374.50
D-76133 Karlsruhe f://49.721.91374.212
next reply other threads:[~2001-06-17 12:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-17 12:11 Anders Henke [this message]
2001-06-18 9:52 ` [linux-lvm] multiple vg using the same name Heinz J. Mauelshagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010617141127.E10287@schlund.de \
--to=anders@schlund.de \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.