From: "Xinwei Hu" Subject: Re: /dev/dm-? and /dev/mapper/ Date: Thu, 31 Jul 2008 11:07:00 +0800 Message-ID: <1cafab770807302007l75cb6806m95addf7b73e89239@mail.gmail.com> References: <200807300844.11578.wilhelm.meier@fh-kl.de> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200807300844.11578.wilhelm.meier@fh-kl.de> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids Hi Wilhelm, Mount-by-label uses the links inside /dev/disk/by-lable/, which are created by udev. It seems to be a problem that udev races with device-mapper on debian. 2008/7/30 Wilhelm Meier : > Hi, > > I don't know if this is the right place to ask ... > > I use kernel 2.6.22 and debian etch. > > If I create a vg and some volumes in it I get the > > /dev/dm-? > > and > > /dev/mapper/- > > devices nodes. > > If I try to mount the filesystem via label, sometimes /dev/dm-? and > sometimes /dev/mapper/- gets mounted. > > That is the cause of some later errors in my setup. > > The question is: how can I get rid of the dm-? (e.g. they should not > be created at all) oder how do I the mount to stick to > the /dev/mapper/... files? > > TIA, > -- > Wilhelm > > -- > dm-devel mailing list > dm-devel@redhat.com > https://www.redhat.com/mailman/listinfo/dm-devel >