Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
/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
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.