Return-Path: Date: Wed, 14 Mar 2001 20:47:39 +0000 From: "Heinz J. Mauelshagen" Subject: Re: [linux-lvm] Changing device numbers. Message-ID: <20010314204739.B15040@sistina.com> References: <005801c0ac4b$a781cc00$0f01a8c0@myplace.net> <200103132137.f2DLb6o05452@webber.adilger.int> <20010314163701.F14172@sistina.com> <004701c0ad06$0ba5d400$0f01a8c0@myplace.net> Mime-Version: 1.0 In-Reply-To: <004701c0ad06$0ba5d400$0f01a8c0@myplace.net>; from list@showme.wox.org on Wed, Mar 14, 2001 at 08:11:44PM -0800 Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@sistina.com On Wed, Mar 14, 2001 at 08:11:44PM -0800, Bas wrote: > ----- Original Message ----- > From: Heinz J. Mauelshagen > To: > Sent: woensdag 14 maart 2001 8:37 > Subject: Re: [linux-lvm] Changing device numbers. > > > > On Tue, Mar 13, 2001 at 02:37:06PM -0700, Andreas Dilger wrote: > > > Bas writes: > > > > Rerunning lilo seemed to work, but I had the same problem just a while > ago > > > > without changing anything but adding a LV. > > > > > > Maybe because you are running "vgscan" on each boot? It is not really > > > needed by LVM unless the disk configuration changes. When you run it, > > > there is the possibility of the VG and LV devices changing major > numbers. > > > > > > Even so, it is a problem (IMHO) that LVM likes to delete all of the > > > device files each time vgscan is run. The correct thing to do would > > > be to have "pvscan" create a file of UUID->disk mappings on each boot, > > > and leave the LVM devices alone. Then vgscan would only be needed if > > > there is a major disaster. > > > > Andreas, we are planning for something very similar to this, because we > need > > it for Cluster-LVM anyway: the driver will do the scanning and keep > > the mapping list which can be requested by the tools later. > > > > That looks good. How are minor numbers assigned now ? By LE (1st LE means > device number 58,0) ? s/LE/LV/ -> yes. 1st LV in 1st VG -> 58,0 2nd LV in 1st VG -> 58,1 1st LV in 2nd VG -> 58,2 and so on. If you run vgscan while VGs are active, the active ones come first and the inactive ones in a row after those. > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@sistina.com > http://lists.sistina.com/mailman/listinfo/linux-lvm -- Regards, Heinz -- The LVM Guy -- *** Software bugs are stupid. Nevertheless it needs not so stupid people to solve them *** =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Heinz Mauelshagen Sistina Software Inc. Senior Consultant/Developer Am Sonnenhang 11 56242 Marienrachdorf Germany Mauelshagen@Sistina.com +49 2626 141200 FAX 924446 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-