On Wed, Aug 29, 2007 at 10:41:20PM -0300, Leonardo Chiquitto Filho wrote:
Hello,
I've run into a very weird problem here. I'm using an external USB harddisk and when I plug it, it's correctly detected:
usb 4-1: new high speed USB device using ehci_hcd and address 2 usb 4-1: new device found, idVendor=059b, idProduct=007e usb 4-1: new device strings: Mfr=56, Product=63, SerialNumber=88 usb 4-1: Product: Iomega HDD USB 2.0 Drive usb 4-1: Manufacturer: Iomega usb 4-1: SerialNumber: 03000B5AE5F4 usb 4-1: configuration #1 chosen from 1 choice SCSI subsystem initialized Initializing USB Mass Storage driver... scsi0 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning usbcore: registered new interface driver usb-storage USB Mass Storage support registered. scsi 0:0:0:0: Direct-Access ST325082 3A PQ: 0 ANSI: 0 usb-storage: device scan complete sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 33 00 00 00 sd 0:0:0:0: [sda] Assuming drive cache: write through sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 33 00 00 00 sd 0:0:0:0: [sda] Assuming drive cache: write through sda: sda1 sd 0:0:0:0: [sda] Attached SCSI disk sd 0:0:0:0: Attached scsi generic sg0 type 0
If I try to mount /dev/sda1, I got the following error:
# mount /dev/sda1 /mnt mount: /dev/sda1 already mounted or /mnt busy
And it is really not mounted:
# grep sda /proc/mounts #
Looking at /proc/partitions I identified that /dev/sda1 is "the same" as /dev/dm-6:
8 0 244198584 sda 8 1 244196001 sda1 253 5 244198584 dm-5 253 6 244196001 dm-6
If I try to mount /dev/dm-6, it works:
That's the dm-linear feature interfering here. Please remove /etc/udev/rules.d/62-dm_linear.rules and call dmsetup remove_all everything should be back to normal then. Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N�rnberg GF: Markus Rex, HRB 16746 (AG N�rnberg) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org