Skip to contentSkip to conversation

/dev/mapper/nvidia_bafieldbg screws up my harddisk mount

DISCUSSION Kin Yip 1 participant 1 message Oct 9, 2005 Device mapper

lore
Share & tools
lore

Kin Yip

author
#0 lore raw

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 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
==========================================================================

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

=================================================

If I do "umount -v /mnt/disk2", I see the message:

Could not find /mnt/disk2 in mtab
umount: /mnt/disk2: not mounted
====================================================

My /etc/fstab looks like :
===================== my /etc/fstab =========================== # This file is edited by fstab-sync - see 'man fstab-sync' for details

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
#none                    /proc                   proc    defaults        0 0
#none                    /sys                    sysfs   defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
LABEL=SWAP-sda6         swap                    swap    defaults        0 0
/dev/sdb1               /mnt/disk2                  ext3    defaults        1 2
/dev/hdc                /media/cdrecorder       auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/fd0                /media/floppy           auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

==========================================================================

Can you offer some advice or suggestion to fix this problem ?

Kin