* [linux-lvm] cluster questions
@ 2004-06-11 19:35 Sebastien Boving
2004-06-14 12:49 ` Patrick Caulfield
0 siblings, 1 reply; 2+ messages in thread
From: Sebastien Boving @ 2004-06-11 19:35 UTC (permalink / raw)
To: linux-lvm
I know LVM does not support clusters. The HOWTO makes a good job in
explaining how it is not, and how you could use it at your own risk, at:
http://tldp.org/HOWTO/LVM-HOWTO/sharinglvm1.html
I realize nothing protects an in-use LV to be mounted by another host,
which can severely corrupt non-clustered filesystems.
i still have a few questions in this regard though:
1) What are my advantages of running LVM2 instead of LVM?
LVM does all i need, i think, part from being cluster-enabled. LVM2 is
also not clustered enabled, though it is the basis of CLVM (which is on
its way?). Any advantages in this regard to already go to LVM2 now, even
if only cause the upgrade to CLVM will go smoother? The only reason i
wouldn't go to LVM2 is cause my RHES3.0 supports LVM out of the box, not
LVM2, and i rather stick to included software / kernel modules / ...
unless i have a valid reason not to.
Or should i really go to EVMS?
2) Can snapshots safely be used by other nodes on the cluster?
Say a 'master node' owns the LVM config of a particular node. It mounts
all (non-snapshot) LV's in there. Can i have it create a snapshot on one
of its LV's, mount this on another node to perform a backup (sparing the
first node's cpu and network resources), then delete the snapshot on the
master mode, all this while observing the 'Other Nodes' procedure on the
above mentionned FAQ page? Is this a 100% safe & supported way of doing
things?
thanks,
-seb.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] cluster questions
2004-06-11 19:35 [linux-lvm] cluster questions Sebastien Boving
@ 2004-06-14 12:49 ` Patrick Caulfield
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Caulfield @ 2004-06-14 12:49 UTC (permalink / raw)
To: LVM general discussion and development
On Fri, Jun 11, 2004 at 12:35:43PM -0700, Sebastien Boving wrote:
>
>
> I know LVM does not support clusters. The HOWTO makes a good job in
> explaining how it is not, and how you could use it at your own risk, at:
>
> http://tldp.org/HOWTO/LVM-HOWTO/sharinglvm1.html
>
> I realize nothing protects an in-use LV to be mounted by another host,
> which can severely corrupt non-clustered filesystems.
>
> i still have a few questions in this regard though:
>
>
> 1) What are my advantages of running LVM2 instead of LVM?
>
> LVM does all i need, i think, part from being cluster-enabled. LVM2 is
> also not clustered enabled, though it is the basis of CLVM (which is on
> its way?). Any advantages in this regard to already go to LVM2 now, even
> if only cause the upgrade to CLVM will go smoother? The only reason i
> wouldn't go to LVM2 is cause my RHES3.0 supports LVM out of the box, not
> LVM2, and i rather stick to included software / kernel modules / ...
> unless i have a valid reason not to.
When clustered LVM does become available you will need LVM2.
Even if you don't use that, lvm2 offers better metadata integrity features than
LVM1 which might make it easier to recover if you do make a mistake in your
"manual" clustering! Plus all the other normal benefits of LVM2...
>
>
> 2) Can snapshots safely be used by other nodes on the cluster?
>
> Say a 'master node' owns the LVM config of a particular node. It mounts
> all (non-snapshot) LV's in there. Can i have it create a snapshot on one
> of its LV's, mount this on another node to perform a backup (sparing the
> first node's cpu and network resources), then delete the snapshot on the
> master mode, all this while observing the 'Other Nodes' procedure on the
> above mentionned FAQ page? Is this a 100% safe & supported way of doing
> things?
No. the current snapshot implementation behviour is single-node only. If you try
to back up a snapshot on another node you won't get a valid backup because the
snapshot exceptions are written on the node that has the original LV mounted.
--
patrick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-14 12:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-11 19:35 [linux-lvm] cluster questions Sebastien Boving
2004-06-14 12:49 ` Patrick Caulfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox