LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2012, 10:08 AM   #1
chinabenjamin66
Member
 
Registered: Mar 2012
Location: Shenzhen Chian
Posts: 73

Rep: Reputation: Disabled
Unhappy Why does system always prompts that /dev/sda1 is already mounted or mount point busy


Hi guys(girls),

The problem I encountered really annoyed me so much!
At first, I used "mount|grep sda1" to view whether the block device was mounted or not, it itemized many items about /dev/sda1, like this:
...
/dev/sda1 /mnt/eSata fuseblk rw,user_id=0,group_id=0,default_permissions,allow_other 0 0
/dev/sda1 /home/0common fuseblk rw,user_id=0,group_id=0,default_permissions,allow_other 0 0
/dev/sda1 /tmp/atalk fuseblk rw,user_id=0,group_id=0,default_permissions,allow_other 0 0
/dev/sda1 /tmp/albumcache fuseblk rw,user_id=0,group_id=0,default_permissions,allow_other 0 0
...
So, I performed "umount /dev/sda1" many times to umount the block device, but several items cannot be umounted,
the system prompts device is busy, like this :
umount: /tmp/minidlna: device is busy
So, I used "umount -l /dev/sda1" to lazily umount this device.

Secondly, I tried to mount /dev/sda1 , unfortunately, it always prompt me like this:
mount: /dev/sda1 already mounted or /mnt/ufsd busy
Then I used 'fuser /mnt/ufsd' to view which process accessing to this mount point ,but got nothing.

I want to mount /dev/sda1 to /mnt/ufsd, How can I work out this problem?

Any help and solutions are appreciated! Thank you all!

Last edited by chinabenjamin66; 09-30-2012 at 10:11 AM.
 
Old 09-30-2012, 12:08 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
What is the output of grep sda1 /etc/fstab
 
Old 09-30-2012, 03:41 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
normally /dev/sda1 IS THE / partition ( like the windows c:\\ drive )
and is mounted on boot because the operating system is there
 
Old 09-30-2012, 08:28 PM   #4
chinabenjamin66
Member
 
Registered: Mar 2012
Location: Shenzhen Chian
Posts: 73

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by bigrigdriver View Post
What is the output of grep sda1 /etc/fstab
The output of grep sda1 /etc/fstab is like this:
bash-3.2# grep sda1 /etc/fstab
#/dev/sda1 / ext3 defaults 1 1

and grep sda1 /etc/mtab output:
bash-3.2# grep sda1 /etc/mtab
/dev/sda1 /mnt/eSata fuseblk rw,user_id=0,group_id=0,default_permissions,allow_other 0 0
/dev/sda1 /home/0common fuseblk rw,user_id=0,group_id=0,default_permissions,allow_other 0 0
....

by the way, the linux I used is embeded linux, So the /dev/sda1 is not used as root partition.

/dev/sda is a scsi disk.
 
Old 09-30-2012, 08:33 PM   #5
chinabenjamin66
Member
 
Registered: Mar 2012
Location: Shenzhen Chian
Posts: 73

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by John VV View Post
normally /dev/sda1 IS THE / partition ( like the windows c:\\ drive )
and is mounted on boot because the operating system is there
By the way, the linux I used is an embeded linux, its / partition is not /dev/sda1, /dev/sda is an external scsi disk used for testing.

As you can see below, it had been ever mounted on other mount point:

bash-3.2# mount|grep /sda1
/dev/sda1 on /mnt/eSata type fuseblk (rw,user_id=0,group_id=0,default_permissions,allow_other)
/dev/sda1 on /home/0common type fuseblk (rw,user_id=0,group_id=0,default_permissions,allow_other)
/dev/sda1 on /tmp/atalk type fuseblk (rw,user_id=0,group_id=0,default_permissions,allow_other)
.....
 
Old 09-30-2012, 10:19 PM   #6
chinabenjamin66
Member
 
Registered: Mar 2012
Location: Shenzhen Chian
Posts: 73

Original Poster
Rep: Reputation: Disabled
Unhappy

This is my process of trying to work this problem

====fisrt step========
bash-3.2# mount|grep sda1
/dev/sda1 on /mnt/eSata type fuseblk (rw,user_id=0,group_id=0,default_permissions,allow_other)
/dev/sda1 on /home/0common type fuseblk (rw,user_id=0,group_id=0,default_permissions,allow_other)
/dev/sda1 on /var/cache/mt-daapd type fuseblk (rw,user_id=0,group_id=0,default_permissions,allow_other)
/dev/sda1 on /tmp/minidlna type fuseblk (rw,user_id=0,group_id=0,default_permissions,allow_other)
====second step========
bash-3.2# umount /mnt/eSata
umount: /mnt/eSata: device is busy
umount: /mnt/eSata: device is busy
====third step=========
bash-3.2# fuser /mnt/eSata
Cannot stat /mnt/eSata: Transport endpoint is not connected
Cannot stat /mnt/eSata: Transport endpoint is not connected
Cannot stat file /proc/2113/fd/7: Transport endpoint is not connected
Cannot stat file /proc/2475/fd/3: Transport endpoint is not connected
Cannot stat file /proc/2475/fd/4: Transport endpoint is not connected
====forth step=========
bash-3.2# ps -ef|grep 2113
apache 2113 1 0 09:30 ? 00:00:00 mt-daapd
root 5213 4143 0 11:36 pts/0 00:00:00 grep 2113

bash-3.2# ps -ef|grep 2475
root 2475 1 0 09:36 ? 00:00:00 /usr/sbin/minidlna -f /etc/miniupnpd/minidlna.conf
root 5234 4143 0 11:36 pts/0 00:00:00 grep 2475

bash-3.2# kill -9 2113
bash-3.2# kill -9 2475

====fifth step=========
bash-3.2# mount |grep sda1
/dev/sda1 on /mnt/eSata type fuseblk (rw,user_id=0,group_id=0,default_permissions,allow_other)
/dev/sda1 on /tmp/minidlna type fuseblk (rw,user_id=0,group_id=0,default_permissions,allow_other)ep
====sixth step=========
bash-3.2# fuser /mnt/eSata
Cannot stat /mnt/eSata: Transport endpoint is not connected
Cannot stat /mnt/eSata: Transport endpoint is not connected
bash-3.2# fuser /tmp/minidlna
Cannot stat /tmp/minidlna: Transport endpoint is not connected
Cannot stat /tmp/minidlna: Transport endpoint is not connected


So I want to know how to work out the problem of 'Transport endpoint is not connected'.

Any help and solutions are appreicated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] /dev/sda1 being mounted wierd Lrrr Fedora 4 10-21-2010 04:30 PM
Device already mounted or mount point busy with CentOS/corosync/pacemaker/DRBD aschoessler Linux - Server 1 04-02-2010 08:11 AM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
Mount Problem: evice already mounted or mount point busy paldebojyoti Linux - Distributions 5 08-27-2009 02:46 AM
/dev/sda1 already mounted or /mnt busy. (SATA Sil 3112) psamuel01 Red Hat 14 10-10-2008 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration