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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-05-2003, 04:02 AM
|
#1
|
Member
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Rep:
|
Haunted mount points... wooo!
Hi guys,
Has anyone come across a situation where you can't mount a drive (my Samba shared directory in this case) because it says the file already exists, but when you check /mnt/ in Konqueror or whatever, it's not there...
It is there when I dir it from a console, though. rmdir claims the folder is busy when I try and wipe it, and when I enter the directory and dir it, it says the NFS handle is stale...
Linux weirdness, or am I haunted by the ghost of a disgruntled Samba share... I may have to rename my 'puter Christine.
peace
Edited:
Just a thought - my Linux partition was created on an NTFS file system originally. Do you think it could be some weirdness in the way it stores information?
Last edited by TrashCanMan; 08-05-2003 at 06:23 AM.
|
|
|
08-05-2003, 06:25 AM
|
#2
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,640
Rep: 
|
That's normal  . My konqueror has the content of a long gone floppy when I click on /dev/fd0. I have to mount by hand, then it's gone. I understand that this is controlled by the entry in /etc/fstab but I did not yet find the hows and whys ... give my regards to Christine  .
|
|
|
08-05-2003, 06:30 AM
|
#3
|
Member
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Original Poster
Rep:
|
Yus, Thing is, the booger won't allow me to mount it! (oo-er, that sounded dodgy) I've tried the Mandrake control centre method of mounting, I've ripped the entry out of fstab, I've tried unmounting it, mounting it as root from a console... No joy. Which means, all in all, I cannot get access to the shared directories on my network.
Christine is busy suffocating my friends at the moment, I'll pass that on when she trundles back.
Last edited by TrashCanMan; 08-05-2003 at 06:32 AM.
|
|
|
08-05-2003, 06:41 AM
|
#4
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,640
Rep: 
|
Re: Haunted mount points... wooo!
Quote:
Originally posted by TrashCanMan
Just a thought - my Linux partition was created on an NTFS file system originally. Do you think it could be some weirdness in the way it stores information?
|
No, the writing support from Linux to NTFS is experimental. Whatever you had under NTFS (DOS?  ) had to make room for a Linux file system. Check /etc/fstab.
So, Christine is making you kinda lonely, what with throttling your friends, huh? At least she doesn't do it in your presence, take comfort in small blessings  .
|
|
|
08-05-2003, 07:02 AM
|
#5
|
Member
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Original Poster
Rep:
|
My relevant fstab entry (whic has regenerated itself, btw) is:
//david/SHAREDDOCS /mnt/SHAREDDOCS smbfs username=% 0 0
which seems to be OK to me.
every time I try to access the mount point (which claims it is mounted, I get:
"The file or directory /mnt/SHAREDDOCS does not exist."
Mandrake Control centre exits abnormally before it finishes loading with:
"mkdir: error creating directory /mnt/SHAREDDOCS: File exists"
See what I mean about it being haunted?!?!? I'm thinking the unthinkable and considering a re-install...
Any minute now, Christine is gonna connect to a 1950's web radio station and start playing scarily relevant rock 'n roll...

Last edited by TrashCanMan; 08-05-2003 at 07:03 AM.
|
|
|
08-05-2003, 07:22 AM
|
#6
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,640
Rep: 
|
That's probably a supermount feature, which I don't know  . I could imagine that your problem comes from a dead link. Please post the output of
ls -l /mnt/SHAREDDOCS
What the ... means //david/SHAREDDOCS?
Dear me, does Christine really have to do that?

|
|
|
08-05-2003, 07:39 AM
|
#7
|
Member
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Original Poster
Rep:
|
I believe it's an attempt to mount a network drive using SAMBA.
Output requested:
[matt@Mandrake matt]$ su -
Password:
[root@Mandrake root]# ls -l /mnt/SHAREDDOCS
ls: /mnt/SHAREDDOCS: No such file or directory
[root@Mandrake root]#
but, when I dir:
[root@Mandrake /]# cd mnt
[root@Mandrake mnt]# dir
cdrecorder cdrom cdrom2 floppy SHAREDDOCS windows
[root@Mandrake mnt]#
How's that for fubar?
Don'tcha just hate it when your PC gets possessed?
|
|
|
08-05-2003, 07:47 AM
|
#8
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,640
Rep: 
|
Use ls -l in /mnt (dunno what dir does do -> amount of information).
"I believe it's an attempt to mount a network drive using SAMBA." That the whole line. What is the first argument(?) standing for?
Possessed? Isn't that the definition of Information Technology as a such? What is Christine doing now? 
Last edited by JZL240I-U; 08-05-2003 at 07:49 AM.
|
|
|
08-05-2003, 07:52 AM
|
#9
|
Member
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Original Poster
Rep:
|
[root@Mandrake mnt]# ls -l in /mnt
ls: in: No such file or directory
[root@Mandrake mnt]# ls -l /mnt
ls: /mnt/SHAREDDOCS: No such file or directory
total 8
drwxr-xr-x 2 root root 4096 Jul 31 23:37 cdrecorder/
drwxrwxrwx 1 root root 0 Aug 5 12:49 cdrom/
drwxrwxrwx 1 root root 0 Aug 5 12:49 cdrom2/
drwxrwxrwx 1 root root 0 Aug 5 12:49 floppy/
dr-xr-xr-x 1 root root 4096 Aug 5 07:14 windows/
[root@Mandrake mnt]#
Well, apart from glaring balefully at me with every little green, red and orange light she's got, not a lot. I think she's planning something. Something real bad.
I'm phoning an exorcist. It's either that or a low-level format. 
Last edited by TrashCanMan; 08-05-2003 at 08:00 AM.
|
|
|
08-05-2003, 08:02 AM
|
#10
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,640
Rep: 
|
Sorry, my error. Please type
cd /mnt
ls -l
The total number of files is not right in your output: 5 named files, . and .. is seven, not 8 ?!? And what is the first argument(?) standing for?
Maybe you should make some nice compliments about her beautiful eyes -- try being nice, threats wont bring you success, I feel sure.
|
|
|
08-05-2003, 08:11 AM
|
#11
|
Member
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Original Poster
Rep:
|
[root@Mandrake mnt]# ls -a /mnt
./ ../ cdrecorder/ cdrom/ cdrom2/ floppy/ SHAREDDOCS/ windows/
There's the 8!!! but when I do:
[root@Mandrake mnt]# ls -a -l /mnt
ls: /mnt/SHAREDDOCS: No such file or directory
total 16
drwxr-xr-x 8 root root 4096 Aug 4 18:38 ./
drwxr-xr-x 22 root root 4096 Aug 5 12:49 ../
drwxr-xr-x 2 root root 4096 Jul 31 23:37 cdrecorder/
drwxrwxrwx 1 root root 0 Aug 5 12:49 cdrom/
drwxrwxrwx 1 root root 0 Aug 5 12:49 cdrom2/
drwxrwxrwx 1 root root 0 Aug 5 12:49 floppy/
dr-xr-xr-x 1 root root 4096 Aug 5 07:14 windows/
[root@Mandrake mnt]#
it says there is no such file.
I can tell she is enjoying my mental anguish, lapping it up like a vampire with a maiden.
Hang on - isn't she a few inches closer than she was before?!? Glad I screwed the monitor cable in. 
|
|
|
08-05-2003, 08:21 AM
|
#12
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,640
Rep: 
|
There is a special type of hard link, which points at directories and which can only be created by the superuser (whatever that is). Could be something has gone wrong here -> google or search this site. Have to leave now, good luck.
"Glad I screwed the monitor cable in." And you wonder? Tsk.

|
|
|
08-05-2003, 08:31 AM
|
#13
|
Member
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Original Poster
Rep:
|
Thanks for all of your help JZ- see you around here sometime!
Matt the TrasCanMan
|
|
|
08-05-2003, 10:31 AM
|
#14
|
Member
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62
Original Poster
Rep:
|
I got it!!!!!
The windows box was broadcasting a Shared directory that wasn't there!!
A previous crash (what? on windows? Shurely some mistake?) had wiped out the shared directory - leaving the system broadcasting a shared directory that had died the night before.
QED!
|
|
|
08-06-2003, 12:35 AM
|
#15
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,640
Rep: 
|
The marvel called windows! How can a system list a directory that doesn't exist anymore ... eerie, that's what it is, you were absolutely right. Ah well, that's probably better not explained for the sake of sanity.
I hope your differences with Christine are resolved, then. I can even imagine the little twinkle in her beautiful eyes while she contemplates the next adventure for her paramour ...  .
|
|
|
All times are GMT -5. The time now is 11:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|