LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-05-2003, 04:02 AM   #1
TrashCanMan
Member
 
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62

Rep: Reputation: 15
Unhappy 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.
 
Old 08-05-2003, 06:25 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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 .
 
Old 08-05-2003, 06:30 AM   #3
TrashCanMan
Member
 
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62

Original Poster
Rep: Reputation: 15
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.
 
Old 08-05-2003, 06:41 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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 .
 
Old 08-05-2003, 07:02 AM   #5
TrashCanMan
Member
 
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62

Original Poster
Rep: Reputation: 15
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.
 
Old 08-05-2003, 07:22 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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?
 
Old 08-05-2003, 07:39 AM   #7
TrashCanMan
Member
 
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62

Original Poster
Rep: Reputation: 15
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?
 
Old 08-05-2003, 07:47 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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.
 
Old 08-05-2003, 07:52 AM   #9
TrashCanMan
Member
 
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62

Original Poster
Rep: Reputation: 15
[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.
 
Old 08-05-2003, 08:02 AM   #10
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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.
 
Old 08-05-2003, 08:11 AM   #11
TrashCanMan
Member
 
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62

Original Poster
Rep: Reputation: 15
[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.
 
Old 08-05-2003, 08:21 AM   #12
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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.
 
Old 08-05-2003, 08:31 AM   #13
TrashCanMan
Member
 
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62

Original Poster
Rep: Reputation: 15
Thanks for all of your help JZ- see you around here sometime!

Matt the TrasCanMan
 
Old 08-05-2003, 10:31 AM   #14
TrashCanMan
Member
 
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62

Original Poster
Rep: Reputation: 15
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!
 
Old 08-06-2003, 12:35 AM   #15
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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 ... .
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with mount points! rmanocha Linux - Hardware 2 10-26-2003 03:23 PM
help with mount points rmanocha Linux - Software 12 10-26-2003 01:32 PM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 05:48 AM
Mount Points? Mr_Floppy4 Linux - General 2 10-14-2002 10:03 PM
mount points... Jeffrey Linux - General 6 02-24-2001 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration