Re: LVM VG Activation

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

 



On Mon, 2006-07-10 at 13:30 -0700, Tom Spec wrote:
> Two systems using shared disks in a clustered environment.  
> 
> When both systems are up I can de-activate the VG on one system,
> activate it on the other and vice-versa.  What I'm not sure about is
> what happens if the "non-active" system reboots. Will it try to
> activate those VGs (which are currently in use by the other system?)
> Is this an issue?

Dunno; not done clusters. The "vgchange" manpage sounds promising with
its "l" and "e" options, but rc.sysinit looks worrying with
--ignorelockingfailure:

        if [ -x /sbin/lvm.static ]; then
                if /sbin/lvm.static vgscan --mknodes
--ignorelockingfailure > /dev/null 2>&1 ; then
                        action $"Setting up Logical Volume
Management:" /sbin/lvm.static vgchange -a y --ignorelockingfailure
                fi
        fi

The "vgscan" manpage looks to have something useful though:

  vgscan scans all SCSI, (E)IDE disks, multiple devices and a bunch of
  other disk devices in the system looking for LVM physical volumes and
  volume groups. Define a filter in lvm.conf(8) to restrict the scan to
  avoid a CD ROM, for example.

You could probably filter out your shared disks this way.

Paul.


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux