LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-30-2014, 09:11 AM   #1
shaticus
LQ Newbie
 
Registered: Mar 2011
Posts: 11

Rep: Reputation: 0
Removing Corrupted folder from desktop


I have a Samba share mounted to my desktop and the share dropped at some point during the night. When I try to mount the share this morning I get the message "Failed to stat /data: No such device or address".

When I do an ls -l / I see:
?--------- ? ? ? ? ? data

My guess is the directory I'm using for the mount point is corrupted and I need to recreate the folder to get the share to mount. I'm not quite sure what to try to get rid of the directory. rm -rf won't work as the OS can't seem to stat the file.

Any thoughts on what to try?

Thanks in advance.
 
Old 04-30-2014, 10:07 AM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
My understanding is that samba is what windows computers use to access parts of a linux filesystem on a linux server. If you have a linux client, you would use nfs instead of samba. In any event, could you please give full details on your computer network: how many computers; what OS each computer is running; how each computer access the other computers; etc.
 
Old 04-30-2014, 09:00 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,335
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
Have you tried a reboot? A nice reboot sometimes works wonders.

Is it possible that the directory in question is off-line? Can you ping the server or navigate to it in your file manager?

xode, Samba works nicely to share directories between Linux machines. As I have a mixed Linux/Windows network, I commonly use Samba; it's the solution of choice in mixed networks.
 
Old 05-01-2014, 01:49 PM   #4
shaticus
LQ Newbie
 
Registered: Mar 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks Frankbell! A reboot did the trick.

Don't know why I didn't try that sooner....
 
Old 05-01-2014, 01:58 PM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Always reboot three times!

Source: http://www.thewebsiteisdown.com/

Just kidding. Glad you found your solution.
 
  


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
Help with corrupted home folder (I think) Dornith Linux - General 1 11-06-2013 07:10 PM
Folder got corrupted in Linux wants to recover rajini23 Linux - Desktop 1 01-31-2012 02:40 AM
bootchart problem with removing and corrupted udev kwill Ubuntu 0 11-05-2009 04:32 AM
Corrupted file or folder on thumbdrive lwbeng Linux - Hardware 2 09-27-2005 07:36 PM
GNOME System Setting Folder corrupted ncole Linux - General 3 01-12-2003 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:47 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