USB unmount problem

General discussion about PLUC and Linux in Pakistan.

USB unmount problem

Postby babarsaed » Thu Feb 15, 2007 8:03 pm

Salam O Alaikum

how are you all !Brothers

im facing problem when i use my usb device,after mounting whenever i execute following command to unmount my usb, it give following message

#umount /mnt/usb

device busy

what i have to do.plz help

Regards.

Allah hafiz
babarsaed
Lance Naik
 
Posts: 15
Joined: Sun Feb 11, 2007 5:05 pm
WLM: babarsaed@hotmail.com
Yahoo Messenger: mauztean_arslan@yahoo.com
Location: Faisalabad

Postby lambda » Thu Feb 15, 2007 8:24 pm

try lsof /mnt/usb, or something like that. make sure you don't have a shell process (or something else) that has done "cd /mnt/usb". make sure your nautilus or other desktop apps don't have that directory open.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

usb umount problem

Postby babarsaed » Thu Feb 15, 2007 11:59 pm

Aslam o Alaikum

dear lambda

i tried lsof /mnt/usb but it is not solving problem.
i have to restart my linux box each time when i have to unplug my usb.no desktop applicaion was running.

plz help me

regards

Allah hafiz
babarsaed
Lance Naik
 
Posts: 15
Joined: Sun Feb 11, 2007 5:05 pm
WLM: babarsaed@hotmail.com
Yahoo Messenger: mauztean_arslan@yahoo.com
Location: Faisalabad

Postby lambda » Fri Feb 16, 2007 3:17 am

try eject /dev/sdc (or whatever).

i can't help you. you have to examine your system and see what's accessing the drive. there is no single simple small list of processes that could block your system from unmounting it -- it can be anything.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby Shahryar » Fri Feb 16, 2007 12:51 pm

You must close any application that is accessing the /mnt/usb directory. For example if you have a file manager window showing this directory's contents then umount command will not work until you close the window.
--
S.S.
--
Shahryar
Naik
 
Posts: 81
Joined: Sat Nov 08, 2003 2:49 pm
Website: http://www.ksugar.com
WLM: saigol7@hotmail.com
Location: Lahore

Re:

Postby LinuxFreaK » Sat Feb 17, 2007 10:53 am

Dear babarsaed,
Salam,

Try following command it will show you what is going on.

# fuser -v /mnt/usb

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

USB unmount problem

Postby babarsaed » Sat Feb 17, 2007 6:15 pm

Deat Farrukh Bhai

Aslam o Alaikum

thanks alot. my usb unmount problem have been solved. thanks for helping actualy a file created automatically in usb with the name of .trash root. due to that file it was not being unmount. i delete this file and now with #umount /mnt/usb i can unmount my usb device.


thanks alot farrukh bhai


Regards!

Allah Hafiz.
babarsaed
Lance Naik
 
Posts: 15
Joined: Sun Feb 11, 2007 5:05 pm
WLM: babarsaed@hotmail.com
Yahoo Messenger: mauztean_arslan@yahoo.com
Location: Faisalabad


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 2 guests

cron