Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not able to mount partition ("already mounted")
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Fri Sep 05, 2008 12:34 pm    Post subject: Not able to mount partition ("already mounted") Reply with quote

Hi,

I got two machines that have problems mounting a partition at system startup.

One cannot mount the /boot partition (ext2), saying something like "Cannot mount /dev/sda2 because it is already mounted or device is busy". The partition is not mounted, nor has an entry in /etc/mtab. But I cannot mount it to somewhere else either when the system is up.

Same problem on another machine, only here it is the /home partition (reiserfs).

I tried fsck'ing from a livecd already, no errors, no difference.

Anybody has an idea what I am missing here?

Thanks in advance for any hint,
fangorn
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54244
Location: 56N 3W

PostPosted: Fri Sep 05, 2008 1:14 pm    Post subject: Reply with quote

fangorn,

Its not an error to mount a partition several times at several different mount points.
What is the exact error from mount ?
There may be more information in dmesg too.

A useful test is to make a mountpoint that you know has never been used say,
Code:
mkdir /mnt/neverused
and using the long form of
Code:
mount -t <fstype> -o ro /dev/... /mnt/neverused

I'm suggesting read only in case your filesystem has errors. -o ro prevents damage getting worse.

What errors do you get from mount and in dmesg, produced by the attempted mount ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Sat Sep 06, 2008 5:58 am    Post subject: Reply with quote

Thanks for the answer.

I know it should make not a problem, but when trying to mount to a new mount point I get the same message as from startup.

Code:
-> mount -t ext2 -o ro /dev/sdb1 /mnt/tmp
mount: /dev/sda1 already mounted or /mnt/tmp busy


Nothing in /var/log/messages or /var/log/syslog.
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54244
Location: 56N 3W

PostPosted: Sat Sep 06, 2008 11:49 am    Post subject: Reply with quote

fangorn,

Is that a typo ?
You try to mount sdb1 and the error relates to sda1 (notice the a and b)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Mon Sep 08, 2008 8:51 am    Post subject: Reply with quote

Oh, yes it is a typo. :oops:

Sorry for the late answer.
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum