Bugzilla – Bug 302422
Cannot mount partition from sdb after update
Last modified: 2007-09-03 14:42:07 UTC
I updated a 10.2 system to 103. Beta 2 Build 935 - (y2logs in bug #302419). But when I try to mount a partition from sdb I get following error: fornax:~ # mount /dev/sdb5 /mnt/ mount: /dev/sdb5 already mounted or /mnt/ busy Here is fdisk output: fornax:~ # fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00092d89 Device Boot Start End Blocks Id System /dev/sda1 * 1 15 120456 83 Linux /dev/sda2 16 14593 117097785 f W95 Ext'd (LBA) /dev/sda5 16 1460 11606931 83 Linux /dev/sda6 1461 2905 11606931 83 Linux /dev/sda7 2906 4350 11606931 83 Linux /dev/sda8 4351 5795 11606931 83 Linux /dev/sda9 5796 7240 11606931 83 Linux /dev/sda10 7241 8685 11606931 83 Linux /dev/sda11 8686 10130 11606931 83 Linux /dev/sda12 10131 11575 11606931 83 Linux /dev/sda13 11576 13020 11606931 83 Linux /dev/sda14 13021 14465 11606931 83 Linux /dev/sda15 14466 14593 1028128+ 82 Linux swap / Solaris Disk /dev/sdb: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00092d89 Device Boot Start End Blocks Id System /dev/sdb1 * 1 15 120456 83 Linux /dev/sdb2 16 14593 117097785 f W95 Ext'd (LBA) /dev/sdb5 16 1460 11606931 83 Linux /dev/sdb6 1461 2905 11606931 83 Linux /dev/sdb7 2906 4350 11606931 83 Linux /dev/sdb8 4351 5795 11606931 83 Linux /dev/sdb9 5796 7240 11606931 83 Linux /dev/sdb10 7241 8685 11606931 83 Linux /dev/sdb11 8686 10130 11606931 83 Linux /dev/sdb12 10131 11575 11606931 83 Linux /dev/sdb13 11576 13020 11606931 83 Linux /dev/sdb14 13021 14465 11606931 83 Linux /dev/sdb15 14466 14593 1028128+ 82 Linux swap / Solaris Disk /dev/sdc: 40.0 GB, 40060403200 bytes 255 heads, 63 sectors/track, 4870 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000b6a26 Device Boot Start End Blocks Id System /dev/sdc1 1 32 257008+ 83 Linux /dev/sdc2 33 163 1052257+ 82 Linux swap / Solaris /dev/sdc3 164 4870 37808977+ f W95 Ext'd (LBA) /dev/sdc5 164 751 4723078+ 83 Linux /dev/sdc6 752 1339 4723078+ 83 Linux /dev/sdc7 1340 1927 4723078+ 83 Linux /dev/sdc8 1928 2515 4723078+ 83 Linux /dev/sdc9 2516 3103 4723078+ 83 Linux /dev/sdc10 3104 3691 4723078+ 83 Linux /dev/sdc11 3692 4279 4723078+ 83 Linux /dev/sdc12 4280 4867 4723078+ 83 Linux Disk /dev/dm-0: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00092d89 Device Boot Start End Blocks Id System /dev/dm-0p1 * 1 15 120456 83 Linux /dev/dm-0p2 16 14593 117097785 f W95 Ext'd (LBA) /dev/dm-0p5 16 1460 11606931 83 Linux /dev/dm-0p6 1461 2905 11606931 83 Linux /dev/dm-0p7 2906 4350 11606931 83 Linux /dev/dm-0p8 4351 5795 11606931 83 Linux /dev/dm-0p9 5796 7240 11606931 83 Linux /dev/dm-0p10 7241 8685 11606931 83 Linux /dev/dm-0p11 8686 10130 11606931 83 Linux /dev/dm-0p12 10131 11575 11606931 83 Linux /dev/dm-0p13 11576 13020 11606931 83 Linux /dev/dm-0p14 13021 14465 11606931 83 Linux /dev/dm-0p15 14466 14593 1028128+ 82 Linux swap / Solaris Disk /dev/dm-1: 123 MB, 123346944 bytes 255 heads, 63 sectors/track, 14 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System Unable to seek on /dev/dm-2
Could you please attach your /var/log/messages and output of 'dmesg'?
Created attachment 159695 [details] dmesg.txt
Created attachment 159697 [details] /var/log/messages
Thank you. I don't see any related errors in the provided logs. Could you please attach output of 'mount'? Are you able to mount /dev/sdb5 somewhere else?
No, I cannot mount a partition from sdb to another mount point with this system. fornax:~ # mkdir test fornax:~ # mount /dev/sdb5 test/ mount: /dev/sdb5 already mounted or test/ busy Output of mount: fornax:~ # mount /dev/sda5 on / type ext3 (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw) udev on /dev type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) securityfs on /sys/kernel/security type securityfs (rw) With a fresh installed beta 2 I'm able to mount that partition without any problem: fornax:~ # mount /dev/sda7 on / type ext3 (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw) udev on /dev type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) securityfs on /sys/kernel/security type securityfs (rw) /dev/sdc5 on /media/OS10.3B2DVD-KDE type ext3 (rw,nosuid,nodev) /dev/sdc11 on /media/disk type ext3 (rw,nosuid,nodev) /dev/sdc9 on /media/disk-1 type ext3 (rw,nosuid,nodev) /dev/sdc8 on /media/disk-2 type ext3 (rw,nosuid,nodev) /dev/sdc6 on /media/disk-3 type ext3 (rw,nosuid,nodev) /dev/sdc7 on /media/disk-4 type ext3 (rw,nosuid,nodev) /dev/sdc12 on /media/disk-5 type ext3 (rw,nosuid,nodev) /dev/sdc10 on /media/disk-6 type ext3 (rw,nosuid,nodev) /dev/sdc1 on /media/disk-7 type ext3 (rw,nosuid,nodev) /dev/sdb5 on /mnt type ext3 (rw)
That's the dm-linear feature interfering. Please remove /etc/udev/rules.d/62-dm_linear.rules, and run dmsetup remove_all That should fix it.
Updated multipath-tools & kpartx packages submitted to autobuild.
*** Bug 304222 has been marked as a duplicate of this bug. ***
*** Bug 306288 has been marked as a duplicate of this bug. ***
*** Bug 307044 has been marked as a duplicate of this bug. ***
The updated packages fixed it for me. Thanks Hannes!