[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] LVM in shared parallel SCSI environment



Jesse Sipprell writes:
> > Far safer to simply have a separate VG for each node, and import it on the
> > backup node when you do a failover.  Since you have to have some sort of
> > external control for the filesystems, doing the import at the same time is
> > not any more overhead.
> 
> Safer, certainly, but won't this make extending/reducing an LV problematic?
> For example, say that in 6 months from now it becomes necessary to move 100MB
> of capacity from LV0 to LV1; now per your assumption that LV0 and LV1 on are
> on separate VGs, one can only extend and/or reduce the involved VGs by this
> amount if the increment/decrement size is a multiple of the PV sizes.

I guess it depends on how your cluster is set up.  If you really need to
move that much storage from one node to another, you could simply vgreduce
the one VG by a few disks, and vgextend the other - only affecting the
two nodes you are working on, and also able to do it without taking
either VG offline and with much less risk.

This may be problematic if you have only a single giant RAID device or
similar, unless you carved the RAID into multiple logical disks of a
convenient size (e.g. 10GB or so).

For lesser amounts of storage, I assume that there is at least some
extra space within a VG on any given node.

Of course it's not quite as good as cluster LVM, but much much safer.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]