[Solved] Ghost NAS mount

Raspberry Pi related support

[Solved] Ghost NAS mount

Postby ICLlP » 06 Dec 2014, 12:26

According to the sources UI I have three NAS mounts, but in reality I only have two. The third is a ghost. Does anyone know how can rid of this?
Last edited by ICLlP on 07 Dec 2014, 19:56, edited 1 time in total.
ICLlP
 
Posts: 88
Joined: 30 Apr 2014, 07:52

Re: Ghost NAS mount

Postby ACX » 06 Dec 2014, 18:14

It could be that that resource hasn't been unmounted properly.
Browse in /mnt/MPD/NAS/ and delete the "ghost" folder.
User avatar
ACX
RuneAudio co-founder
 
Posts: 1693
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: Ghost NAS mount

Postby ICLlP » 06 Dec 2014, 19:48

How do I do that?
ICLlP
 
Posts: 88
Joined: 30 Apr 2014, 07:52

Re: Ghost NAS mount

Postby ACX » 06 Dec 2014, 22:20

If you are not confident with the command line, use a FTP/SFTP client (e.g. FileZilla), connect to your Rpi with in SFTP and do it there.
User avatar
ACX
RuneAudio co-founder
 
Posts: 1693
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: Ghost NAS mount

Postby ICLlP » 06 Dec 2014, 22:31

I'm quite happy ssh ing in through Terminal on the Mac. It's once I'm there I need instructions for dummies.
ICLlP
 
Posts: 88
Joined: 30 Apr 2014, 07:52

Re: Ghost NAS mount

Postby cmh714 » 07 Dec 2014, 00:50

rmdir --ignore-on-non-empty /mnt/NAS/blah

where blah is your folder.

if that doesnt work, rm the files first then rmdir the folder....I was having issue with the --ignore-on-non-empty parameter
cmh714
 
Posts: 470
Joined: 04 May 2014, 03:06

Re: Ghost NAS mount

Postby cmh714 » 07 Dec 2014, 01:08

my bad the parameter is --ignore-fail-on-non-empty
cmh714
 
Posts: 470
Joined: 04 May 2014, 03:06

Re: Ghost NAS mount

Postby ICLlP » 07 Dec 2014, 10:32

Is this what you mean?

rmdir --ignore-fail-on-non-empty /mnt/NAS/2

2 is the name I gave to what has now become a ghost.

I just tried it and this is what happened:

[root@runeaudio ~]# rmdir --ignore-fail-on-non-empty /mnt/NAS/2
rmdir: failed to remove '/mnt/NAS/2': No such file or directory
ICLlP
 
Posts: 88
Joined: 30 Apr 2014, 07:52

Re: Ghost NAS mount

Postby Beelzebassie » 07 Dec 2014, 12:49

Probably not related to your problem, but I also did encounter a 'ghost' mounted folder.

Problem was the name I gave it in RA started with an underscore, '_'. Removed the underscore, and now RA sees it properly.
Raspberry Pi 3B (rev. 1.2) | Allo DigiOne
Beelzebassie
 
Posts: 76
Joined: 09 Nov 2014, 12:16

Re: Ghost NAS mount

Postby cmh714 » 07 Dec 2014, 17:01

If the rmdir command couldnt find your directory/folder, then it sounds like it doesnt exist which means the ghost drive is most likely coming from the database.

You can try and add a new NAS mount and see if the ghost disappears.....thats what happened to me with Webradio's...cant hurt to try.
cmh714
 
Posts: 470
Joined: 04 May 2014, 03:06

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 29 guests