From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7088 invoked by alias); 22 Nov 2011 13:54:07 -0000 Received: (qmail 7069 invoked by uid 9796); 22 Nov 2011 13:54:06 -0000 Date: Tue, 22 Nov 2011 13:54:00 -0000 Message-ID: <20111122135406.7067.qmail@sourceware.org> From: prajnoha@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/doc tagging.txt Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2011-11/txt/msg00090.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: prajnoha@sourceware.org 2011-11-22 13:54:05 Modified files: doc : tagging.txt Log message: --addtag instead of --tag Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/doc/tagging.txt.diff?cvsroot=lvm2&r1=1.1&r2=1.2 --- LVM2/doc/tagging.txt 2004/11/17 18:34:49 1.1 +++ LVM2/doc/tagging.txt 2011/11/22 13:54:05 1.2 @@ -85,7 +85,7 @@ From any machine in the cluster, add db1 to the list of machines that activate vg1/lvol2: - lvchange --tag @db1 vg1/lvol2 + lvchange --addtag @db1 vg1/lvol2 (followed by lvchange -ay to actually activate it) @@ -98,10 +98,10 @@ Option (i) - centralised admin, static configuration replicated between hosts # Add @database tag to vg1's metadata - vgchange --tag @database vg1 + vgchange --addtag @database vg1 # Add @fileserver tag to vg2's metadata - vgchange --tag @fileserver vg2 + vgchange --addtag @fileserver vg2 lvm.conf: (Identical on every machine) tags { @@ -122,17 +122,17 @@ } In the event of the fileserver host going down, vg2 can be brought up - on fsb1 by running *on any node* 'vgchange --tag @fileserverbackup vg2' + on fsb1 by running *on any node* 'vgchange --addtag @fileserverbackup vg2' followed by 'vgchange -ay vg2' Option (ii) - localised admin & configuation (i.e. each host holds *locally* which classes of volumes to activate) # Add @database tag to vg1's metadata - vgchange --tag @database vg1 + vgchange --addtag @database vg1 # Add @fileserver tag to vg2's metadata - vgchange --tag @fileserver vg2 + vgchange --addtag @fileserver vg2 lvm.conf: (Identical on every machine - global settings) tags {