unmountable partition

Bug #162882 reported by SteveCoast
2
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

I have a partition that just refuses to mount in feisty, worked fine in edgy. It gives every impression of being mounted, but isn't.

root@SteveC:~# mount /dev/sdb1 /mnt
mount: /dev/sdb1 already mounted or /mnt busy

root@SteveC:~# file -s /dev/sdb1
/dev/sdb1: Linux rev 1.0 ext3 filesystem data (large files)

root@SteveC:~# cat /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/disk/by-uuid/9251c4ec-4eb0-402b-9c6c-647c27715735 / ext3 rw,data=ordered 0 0
/dev/disk/by-uuid/9251c4ec-4eb0-402b-9c6c-647c27715735 /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /lib/modules/2.6.22-14-386/volatile tmpfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
nfsd /proc/fs/nfsd nfsd rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 0 0

root@SteveC:~# dmesg | grep sdb
[ 188.193029] sd 2:0:0:0: [sdb] 72176566 512-byte hardware sectors (36954 MB)
[ 188.194059] sd 2:0:0:0: [sdb] Write Protect is off
[ 188.194063] sd 2:0:0:0: [sdb] Mode Sense: 9f 00 10 08
[ 188.195523] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 188.196190] sd 2:0:0:0: [sdb] 72176566 512-byte hardware sectors (36954 MB)
[ 188.197255] sd 2:0:0:0: [sdb] Write Protect is off
[ 188.197258] sd 2:0:0:0: [sdb] Mode Sense: 9f 00 10 08
[ 188.198721] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 188.198724] sdb: sdb1
[ 188.207848] sd 2:0:0:0: [sdb] Attached SCSI disk

Revision history for this message
SteveCoast (steve-asklater) wrote :

bizarrely I can read data from it and it mounts from an image... but still unable to mount actual drive:

root@SteveC:/tmp# dd if=/dev/sdb1 of=myfile bs=1M count=1000
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 41.6886 seconds, 25.2 MB/s

root@SteveC:/tmp# mkdir myloop

root@SteveC:/tmp# mount -t ext3 -o loop myfile myloop

root@SteveC:/tmp# ls myloop/
data lost+found steve

Revision history for this message
Ralph Janke (txwikinger) wrote :

Thanks for this report.

Could you please paste your mount list here? Execute

mount

from the commandline and paste the results here.

Thanks

Revision history for this message
Ralph Janke (txwikinger) wrote :

The output of the command "blkid" would be helpful too.

Thanks

Revision history for this message
SteveCoast (steve-asklater) wrote : Re: [Bug 162882] Re: unmountable partition

$ mount
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.22-14-386/volatile type tmpfs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
/dev/sda1 on /media type ext3 (rw)
/tmp/myfile on /tmp/myloop type ext3 (rw,loop=/dev/loop0)

On 5 Dec 2007, at 08:46, Ralph Janke wrote:

> Thanks for this report.
>
> Could you please paste your mount list here? Execute
>
> mount
>
> from the commandline and paste the results here.
>
> Thanks
>
> ** Changed in: ubuntu
> Assignee: (unassigned) => Ralph Janke (txwikinger)
> Status: New => Incomplete
>
> --
> unmountable partition
> https://bugs.launchpad.net/bugs/162882
> You received this bug notification because you are a direct subscriber
> of the bug.
>

have fun,

SteveC | <email address hidden> | http://www.asklater.com/steve/

Revision history for this message
SteveCoast (steve-asklater) wrote :

$ blkid
/dev/sda1: UUID="bc052691-4452-44ab-975d-899adab51d39" SEC_TYPE="ext2"
TYPE="ext3"
/dev/mapper/sdb1: UUID="bc052691-4452-44ab-975d-899adab51d39"
SEC_TYPE="ext2" TYPE="ext3"
/dev/mapper/sda5: UUID="16ebb4ce-ad8e-45e4-9fb7-9ce8089808d9"
TYPE="swap"
/dev/sda5: UUID="16ebb4ce-ad8e-45e4-9fb7-9ce8089808d9" TYPE="swap"
/dev/sdb1: UUID="bc052691-4452-44ab-975d-899adab51d39" SEC_TYPE="ext2"
TYPE="ext3"

On 5 Dec 2007, at 08:48, Ralph Janke wrote:

> The output of the command "blkid" would be helpful too.
>
> Thanks
>
> --
> unmountable partition
> https://bugs.launchpad.net/bugs/162882
> You received this bug notification because you are a direct subscriber
> of the bug.
>

have fun,

SteveC | <email address hidden> | http://www.asklater.com/steve/

Revision history for this message
Ralph Janke (txwikinger) wrote :

As you can see in the blkids outpus, the partitions sda1 and sdb1 have the same UUID. This is why you get the error message when you try to mount sdb1 since it is already mounted as sda1.

We need more information why this might have happened. What did you do before the error occurred?

Do you use an lvm? How is the lvm configured?

Thanks

Revision history for this message
SteveCoast (steve-asklater) wrote :

On 14 Dec 2007, at 02:55, Ralph Janke wrote:

> As you can see in the blkids outpus, the partitions sda1 and sdb1 have
> the same UUID. This is why you get the error message when you try to
> mount sdb1 since it is already mounted as sda1.
>
> We need more information why this might have happened. What did you do
> before the error occurred?

I haven't done anything, this is how it boots. :-(

> Do you use an lvm? How is the lvm configured?

No, never touched lvm.

have fun,

SteveC | <email address hidden> | http://www.asklater.com/steve/

Revision history for this message
Magnus S (magnuss) wrote :

Hi,
this bug report is getting old, so i'm closing it now. If this issue is still affecting you, please reopen.
To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.