LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   umount (https://www.linuxquestions.org/questions/linux-general-1/umount-866495/)

zimbot 03-04-2011 04:31 PM

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

corp769 03-04-2011 05:12 PM

/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

zimbot 03-04-2011 05:41 PM

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

================

zimbot 03-04-2011 08:06 PM

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.

corp769 03-05-2011 11:20 AM

Ok, so did you get it fixed, or is it still messed up?

zimbot 03-07-2011 07:45 AM

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

corp769 03-07-2011 09:54 AM

Quote:

Originally Posted by zimbot (Post 4281457)
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 :p

Josh

zimbot 03-07-2011 11:12 AM

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


All times are GMT -5. The time now is 07:48 PM.