View previous topic :: View next topic |
Author |
Message |
fangorn Veteran
Joined: 31 Jul 2004 Posts: 1886
|
Posted: Fri Sep 05, 2008 12:34 pm Post subject: Not able to mount partition ("already mounted") |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Fri Sep 05, 2008 1:14 pm Post subject: |
|
|
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 |
|
|
fangorn Veteran
Joined: 31 Jul 2004 Posts: 1886
|
Posted: Sat Sep 06, 2008 5:58 am Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Sat Sep 06, 2008 11:49 am Post subject: |
|
|
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 |
|
|
fangorn Veteran
Joined: 31 Jul 2004 Posts: 1886
|
|
Back to top |
|
|
|