Trying to access music on a Mac's external HDD

Raspberry Pi related support

Re: Trying to access music on a Mac's external HDD

Postby naircl » 28 May 2014, 03:18

naircl
 
Posts: 7
Joined: 26 May 2014, 02:50

Re: Trying to access music on a Mac's external HDD

Postby ICLlP » 28 May 2014, 14:24

I've not had a go yet. Plucking up courage; I'm always a bit nervous messing about in Terminal.

To clarify a couple of things: the iMac is 10.0.0.103 and the Pi is 10.0.0.104. Yes my user name on the iMac is ifor.

I've done this so far:

On my iMac:

1) Open Terminal
2) type: sudo vi /etc/exports
3) hit: Enter
4) type: i
4) type: /Volumes/Drobo/Music -maproot=ifor -ro -network 10.0.0.104

I'm not sure what to do next. I don't think I understand your next instruction.

Thanks for your help.
ICLlP
 
Posts: 88
Joined: 30 Apr 2014, 07:52

Re: Trying to access music on a Mac's external HDD

Postby naircl » 29 May 2014, 03:26

My apologies, I assumed vi as text editor by default. If you're stuck in the middle of the editing session, hitting <Escape> gets you out of the edit mode, at which point tyìng ":wq" will save the file.
A better idea maybe: use the text editor of your choice (Textedit. e.g., but be careful to save the file in plain text!). Then put the file (still named "exports") under /etc like this:
sudo mv exports /etc.
Cheers.
PS: I guess you can tell I'm not an experienced forum participant... This is actually the first one I subscribed to, you can tell I do like Runeaudio!
naircl
 
Posts: 7
Joined: 26 May 2014, 02:50

Re: Trying to access music on a Mac's external HDD

Postby ICLlP » 29 May 2014, 08:13

I did try hitting escape, but nothing happened. Should I try :wp any way?
ICLlP
 
Posts: 88
Joined: 30 Apr 2014, 07:52

Re: Trying to access music on a Mac's external HDD

Postby naircl » 31 May 2014, 17:27

Yes, in sequence: type Escape (you already did), then type :wq<Enter>.
naircl
 
Posts: 7
Joined: 26 May 2014, 02:50

Re: Trying to access music on a Mac's external HDD

Postby ICLlP » 31 May 2014, 17:56

I did some googling and worked it out.

I've followed your instructions, but it doesn't seem to have worked. Is something wrong here?

27-inch-iMac:~ iforphil$ sudo launchctl enable /System/Library/LaunchDaemons/com.apple.nfsd.plist
Password:
launchctl: unknown subcommand "enable"
27-inch-iMac:~ iforphil$ sudo launchctl load /System/Library/LaunchDaemons/com.apple.nfsd.plist
com.apple.nfsd: Already loaded

Interestingly, your instructions have got Volumio working for me. I'll try Rune again later on.
ICLlP
 
Posts: 88
Joined: 30 Apr 2014, 07:52

Cannot get this working!!!!!!!

Postby leaded » 17 Jun 2016, 02:42

I tried the instructions as above. I have a macbook pro running el capitan. I have rune v 0.3.

Firstly the editing of the exports file went smoothly (as far as i can tell) here is what i typed

/Users/Akilan/Music/iTunes/iTunes Music/Music -maproot=rune -ro -network 192.168.0.64-mask 255.255.255.0

rune is the user i created for the rune setup with standard privileges. the .64 IP is the static IP of the rpi running rune. The macbook has a static ip as well. Don't know if I need to add a password since the folder is set to share read only by a guest.

When I type the rest - I start to get trouble:
after typing: sudo launchctl enable /System/Library/LaunchDaemons/com.apple.nfsd.plist i get a prompt for password which I put in and then this "error" : Usage: launchctl enable <service-target>.

Don't understand that. I proceeded with the next line: sudo launchctl load /System/Library/LaunchDaemons/com.apple.nfsd.plist

get the following reply: /System/Library/LaunchDaemons/com.apple.nfsd.plist: service already loaded

I thought well, i don't know what's happening, but it seems encouraging. I go to the rune ui:

it does not matter what option I choose nfs,cifs, nothing works. If I choose smb/cifs I get : mount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

If I choose smb/cifs mac os x i get: mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

If I choose NFS, I get: mount.nfs: an incorrect mount option was specified

Any thoughts or advice welcome.

AA
Attachments
Screen Shot 2016-06-16 at 8.46.35 PM.png
Screen Shot 2016-06-16 at 8.46.35 PM.png (240.46 KiB) Viewed 1909 times
leaded
 
Posts: 5
Joined: 15 Jun 2016, 06:48

Re: Trying to access music on a Mac's external HDD

Postby hondagx35 » 17 Jun 2016, 09:38

Hi leaded,

your "Remote directory name" is wrong.

- it must not start with a slash.
- it is not the whole path, it is a share name

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Trying to access music on a Mac's external HDD

Postby leaded » 18 Jun 2016, 03:38

Thanks Frank!

I am not familiar with the difference/ syntax. The last folder in the path is obviously the one I want to share. I changed the remote directory to just "Music" . Still getting an error: mount error(5): Input/output error Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

It seems that since I have 2 folders named music, it wouldn't take. I just went up a folder to the iTunes music folder and it took!

AA
leaded
 
Posts: 5
Joined: 15 Jun 2016, 06:48

Re: Trying to access music on a Mac's external HDD

Postby leaded » 23 Jun 2016, 09:51

Ever since I was working on this, my macbook pro has been acting up - not able to shut down. not sleeping, fan blowing full blast at times.

I wonder if it has something to do with :

after typing: sudo launchctl enable /System/Library/LaunchDaemons/com.apple.nfsd.plist i get a prompt for password which I put in and then this "error" : Usage: launchctl enable <service-target>.

Don't understand that. I proceeded with the next line: sudo launchctl load /System/Library/LaunchDaemons/com.apple.nfsd.plist

get the following reply: /System/Library/LaunchDaemons/com.apple.nfsd.plist: service already loaded


Is there a way to undo this?

AA
leaded
 
Posts: 5
Joined: 15 Jun 2016, 06:48

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 3 guests