* [linux-lvm] Dangerous Recipes
@ 2003-01-27 14:43 Joseph Kezar
2003-01-28 2:17 ` Patrick Caulfield
0 siblings, 1 reply; 2+ messages in thread
From: Joseph Kezar @ 2003-01-27 14:43 UTC (permalink / raw)
To: linux-lvm
I have a single shared SCSI JBOD. And it makes up my VolumeGroupMailData.
It is mounted read/write by only 1 node at any given time. This is strictly
enforced.
Although, at boot both nodes vgchange -a y the Volume Group.
So it is picked up in vgscan as an active VG on node1 and node2
I am aware if I need to make a change, like adding a Logical Volume,
Extending/Reducing a Logical Volume, or adding/subtracting a physical volume
that the volume must be deactivated on the secondary node(in my case node
2).
If everything goes well enforced, am I still in trouble or at risk of data
corruption?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] Dangerous Recipes
2003-01-27 14:43 [linux-lvm] Dangerous Recipes Joseph Kezar
@ 2003-01-28 2:17 ` Patrick Caulfield
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Caulfield @ 2003-01-28 2:17 UTC (permalink / raw)
To: linux-lvm
On Mon, Jan 27, 2003 at 03:42:13PM -0500, Joseph Kezar wrote:
> I have a single shared SCSI JBOD. And it makes up my VolumeGroupMailData.
>
> It is mounted read/write by only 1 node at any given time. This is strictly
> enforced.
>
> Although, at boot both nodes vgchange -a y the Volume Group.
> So it is picked up in vgscan as an active VG on node1 and node2
> I am aware if I need to make a change, like adding a Logical Volume,
> Extending/Reducing a Logical Volume, or adding/subtracting a physical volume
> that the volume must be deactivated on the secondary node(in my case node
> 2).
>
> If everything goes well enforced, am I still in trouble or at risk of data
> corruption?
If you are careful it should be fine.
What you must always remember to do is "vgchange -an" on the secondary node
before doing the metadata changes, then a "vgscan;vgchange -ay" on that node
after the metadata changes.
--
patrick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-28 2:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-27 14:43 [linux-lvm] Dangerous Recipes Joseph Kezar
2003-01-28 2:17 ` Patrick Caulfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox