From: "Kin Yip" Subject: /dev/mapper/nvidia_bafieldbg screws up my harddisk mount Date: Sun, 9 Oct 2005 09:20:33 -0400 Message-ID: <034a01c5ccd4$3a742370$2f01a8c0@cad.bnl.gov> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1684032376==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com List-Id: dm-devel.ids This is a multi-part message in MIME format. --===============1684032376== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0346_01C5CCB2.B3255360" This is a multi-part message in MIME format. ------=_NextPart_000_0346_01C5CCB2.B3255360 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a new DELL Precision n470 and I used the RedHat WS4 Linux (kernel = 2.6.9-22ELsmp). I've just found that I can't mount my 2nd harddisk /dev/sdb1. Somehow, = your dev-mapper would pick up whatever label that I make with the harddisk --- I have = changed the disk=20 label with e2label a couple times and reboot. If I do, mount -L /mnt/disk2 I'd get the message: mount: the label /mnt/disk2 occurs on both /dev/sdb1 and = /dev/mapper/nvidia_bafiedbg1 - not mounted =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This is the case even if I "e2label" the harddisk to something and = reboot. Under /dev/mapper, do a "ls -l", I see : total 0 crw------- 1 root root 10, 63 Oct 9 08:47 control brw-rw---- 1 root disk 253, 0 Oct 9 08:47 nvidia_bafiedbg brw-rw---- 1 root disk 253, 1 Oct 9 08:47 nvidia_bafiedbg1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D If I do "umount -v /mnt/disk2", I see the message: Could not find /mnt/disk2 in mtab umount: /mnt/disk2: not mounted =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D My /etc/fstab looks like : =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D my = /etc/fstab = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D # This file is edited by fstab-sync - see 'man fstab-sync' for details LABEL=3D/ / ext3 defaults = 1 1 LABEL=3D/boot /boot ext3 defaults = 1 2 none /dev/pts devpts = gid=3D5,mode=3D620 0 0 #none /proc proc defaults = 0 0 #none /sys sysfs defaults = 0 0 none /dev/shm tmpfs defaults = 0 0 LABEL=3DSWAP-sda6 swap swap defaults = 0 0 /dev/sdb1 /mnt/disk2 ext3 defaults = 1 2 /dev/hdc /media/cdrecorder auto = pamconsole,fscontext=3Dsystem_u:object_r:removable_t,exec,noauto,managed = 0 0 /dev/fd0 /media/floppy auto = pamconsole,fscontext=3Dsystem_u:object_r:removable_t,exec,noauto,managed = 0 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Can you offer some advice or suggestion to fix this problem ? Kin ------=_NextPart_000_0346_01C5CCB2.B3255360 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have a new DELL Precision n470 and I used the = RedHat=20 WS4 Linux (kernel 2.6.9-22ELsmp).
 
I've just found that I can't mount my 2nd harddisk=20 /dev/sdb1.  Somehow, your dev-mapper
would pick up whatever label that I make with the = harddisk ---=20 I have changed the disk 
label with e2label a couple times and=20 reboot.
 
If I do,
mount -L /mnt/disk2
 
I'd get the message:
mount: the label /mnt/disk2 occurs on both /dev/sdb1 = and=20 /dev/mapper/nvidia_bafiedbg1 - not mounted
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
 
This is the case even if I "e2label" the harddisk to = something=20 and reboot.
 
Under /dev/mapper, do a "ls -l", I see = :
 
total 0
crw-------  1 root root  10, 63 = Oct =20 9 08:47 control
brw-rw----  1 root disk 253,  0 Oct  9 = 08:47=20 nvidia_bafiedbg
brw-rw----  1 root disk 253,  1 Oct  9 = 08:47=20 nvidia_bafiedbg1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D
 
If I do "umount -v /mnt/disk2", I see the=20 message:
 
Could not find /mnt/disk2 in mtab
umount: = /mnt/disk2: not=20 mounted
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D
 
 
My /etc/fstab looks like :
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = my /etc/fstab=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
# This file is edited by fstab-sync - see 'man = fstab-sync' for=20 details
LABEL=3D/         = ;       =20 /            =           =20 ext3    = defaults        1=20 1
LABEL=3D/boot         &= nbsp;  =20 /boot           &n= bsp;      =20 ext3    = defaults        1=20 2
none          &nbs= p;        =20 /dev/pts           = ;    =20 devpts  gid=3D5,mode=3D620  0=20 0
#none          &nb= sp;        =20 /proc           &n= bsp;      =20 proc    = defaults        0=20 0
#none          &nb= sp;        =20 /sys           &nb= sp;       =20 sysfs   defaults        0=20 0
none          &nbs= p;        =20 /dev/shm           = ;    =20 tmpfs   defaults        0=20 0
LABEL=3DSWAP-sda6        =20 swap           &nb= sp;       =20 swap    = defaults        0=20 0
/dev/sdb1          = ;    =20 /mnt/disk2          &nb= sp;      =20 ext3    = defaults        1=20 2
/dev/hdc          =      =20 /media/cdrecorder       = auto   =20 pamconsole,fscontext=3Dsystem_u:object_r:removable_t,exec,noauto,managed = 0=20 0
/dev/fd0          =      =20 /media/floppy          = =20 auto   =20 pamconsole,fscontext=3Dsystem_u:object_r:removable_t,exec,noauto,managed = 0=20 0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
 
Can you offer some advice or suggestion to fix this = problem=20 ?
 
Kin
------=_NextPart_000_0346_01C5CCB2.B3255360-- --===============1684032376== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1684032376==--