LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-04-2011, 04:31 PM   #1
zimbot
Member
 
Registered: Nov 2005
Location: cincinnati , ohio . USA
Distribution: ubuntu , Opensuse , CentOS
Posts: 122

Rep: Reputation: 17
umount


Friends,
my os is OpenSuse 11.3

I have been hanging NTFS formated USB drives.
I have done this a lot lately .
I will right click and do a safe remove and - it reponds with
unmounted but cannot eject.

that was all normal.

But today i went to hang one and it complained that it could not.
so i did a force mount , according to the diag suggestion that popped up.
i did
sudo mount -t ntfs-3g /dev/sdc1 /media/ss-020 -o force

that mounted - i did what i needed to do and all seemed well
( let us call this drive 2 )

I should have smelled a rat right there - but thought it could be a complaint about the New drive ( drive 2 )

- BUT!

I am not 'exactly' certain how this happened but....i have an oddity in that I have a drive listed
in the sysinfo: as Device Node: /dev/sdb1

and it is unmounted ( not physically around )

Maybe - i error and did not do a safe remove on the drive i mounted yesterday
( lets call this drive 1 )
so maybe i did not do a safe remove ... just turned off , unplugged or something. >>....stupid....<<

so - i have this dab of crap sitting there -- that isn't there..... how do i 'clean' this?

i have done:
ingex@atkov:~> sudo umount /dev/sdc1
umount: /dev/sdc1: not mounted
ingex@atkov:~> sudo umount /dev/sdb1
umount: /dev/sdb1: not mounted

that does not work because - indeed - the drives are Not mounted.
but i have a "ghost" listing of 'drive 1" /dev/sdb1

i persists after a reStart. ( that suprises me )

agin : there are no usb drives currently attched.
and yet Konqueror sees this 'shadow' . of course i cannot get into the drive..
it is indeed unmounted and ....not there.

thanks!

z

Last edited by zimbot; 03-04-2011 at 04:35 PM. Reason: i wish to add a detail
 
Old 03-04-2011, 05:12 PM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
/dev/sdX are the devices; You can not unmount them. When you use umount, you need to point to the directory where you mounted the device. Take your command for instance:
Code:
sudo mount -t ntfs-3g /dev/sdc1 /media/ss-020 -o force
To unmount that, you would use the following:
Code:
umount /media/ss-020
Hope that helps. Cheers,

Josh
 
1 members found this post helpful.
Old 03-04-2011, 05:41 PM   #3
zimbot
Member
 
Registered: Nov 2005
Location: cincinnati , ohio . USA
Distribution: ubuntu , Opensuse , CentOS
Posts: 122

Original Poster
Rep: Reputation: 17
nope

no - wish it helped but does not.
cause .. it is unmounted as a volume
but a /dev/sdb1 is seen

It is seen in the Konqueror sysinfo disk information

484G Media ext3 443.8 GB 421.0 GB

media:/sdb1
============
if i try to mount ( again it is NOT physically there )
Error opening '/dev/sdb1': Permission denied
Failed to mount '/dev/sdb1': Permission denied
Please check '/dev/sdb1' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
http://ntfs-3g.org/support.html#unprivileged

================
 
Old 03-04-2011, 08:06 PM   #4
zimbot
Member
 
Registered: Nov 2005
Location: cincinnati , ohio . USA
Distribution: ubuntu , Opensuse , CentOS
Posts: 122

Original Poster
Rep: Reputation: 17
Talking oppps

I suppose here is where i say that - sorry
i have been working hard and have confused myself

it seems what is realllly happening is this is a dual boot machine
( i knew that , i built it )
and the mystery ntfs sdb1 ... well that is the win c partition.

opps!

so zero to do with the silly ntfs usb drives i have been wading through.

that also means that the "problem' that the '2nd' drive had -- the reason i had to do a force mount ( sudo mount -t ntfs-3g /dev/sdc1 /media/ss-020 -o force )
was because it was goofy.

or maybe itz just me.
 
Old 03-05-2011, 11:20 AM   #5
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
Ok, so did you get it fixed, or is it still messed up?
 
1 members found this post helpful.
Old 03-07-2011, 07:45 AM   #6
zimbot
Member
 
Registered: Nov 2005
Location: cincinnati , ohio . USA
Distribution: ubuntu , Opensuse , CentOS
Posts: 122

Original Poster
Rep: Reputation: 17
I think i am OK,

i suppose i will see how the Next ntfs usb drive behaves..
it is intresting that i had to do a
sudo mount -t ntfs-3g /dev/sdc1 /media/ss-020 -o force

I am now thinking that had less to do with 'my system' and more to do with -that drive;
or....maybe it was just one of those things.

thanks
 
Old 03-07-2011, 09:54 AM   #7
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
Quote:
Originally Posted by zimbot View Post
I think i am OK,

i suppose i will see how the Next ntfs usb drive behaves..
it is intresting that i had to do a
sudo mount -t ntfs-3g /dev/sdc1 /media/ss-020 -o force

I am now thinking that had less to do with 'my system' and more to do with -that drive;
or....maybe it was just one of those things.

thanks
You think? I won't tell you to mark your thread as solved yet until I know that your problem is fully resolved. I'm not like that

Josh
 
Old 03-07-2011, 11:12 AM   #8
zimbot
Member
 
Registered: Nov 2005
Location: cincinnati , ohio . USA
Distribution: ubuntu , Opensuse , CentOS
Posts: 122

Original Poster
Rep: Reputation: 17
as time permits I will - get back on that system with a diffrent ntfs usb drive and see if it mounts happily without a force.

thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
umount xanax Linux - Software 4 04-29-2007 02:38 AM
why cannot umount ? whepin Linux - General 3 02-07-2006 10:42 AM
umount cd in use provkitir Linux - Newbie 3 01-29-2005 07:09 PM
is it ok to use umount -l ? ewto Linux - General 5 10-21-2003 01:57 AM
cannot umount... ??? spyghost Linux - Software 9 09-06-2003 09:35 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration