ViolentMonk
Posts: 35
Joined: Mon Jul 22, 2013 8:36 am

NFS and SMB at the same time?

Mon Sep 30, 2013 4:59 am

hello I have my pi using smb to share files but can I just try installing nfs without having smb messed with or do I have to turn it off or remove it?

User avatar
rpdom
Posts: 18148
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: NFS and SMB at the same time?

Mon Sep 30, 2013 7:09 am

You can use SMB and NFS alongside each other quite happily.

I don't use my Pi for it, but do have a Debian Linux PC that has a disk shared via SMB (for my wife's WinXP PC), and also NFS for my Linux laptop :)

Dutch_Master
Posts: 362
Joined: Sat Jul 27, 2013 11:36 am

Re: NFS and SMB at the same time?

Mon Sep 30, 2013 10:51 am

Yes, they can co-exist happily. Install NFS on the RPi as you would any Debian (-based) distro. Several online tutorials exist, including this one: http://www.debianhelp.co.uk/nfs.htm

ViolentMonk
Posts: 35
Joined: Mon Jul 22, 2013 8:36 am

Re: NFS and SMB at the same time?

Mon Sep 30, 2013 12:01 pm

what is your /etc/exports supposed to look like? /etc/exports
/home 195.12.32.2(rw,no_root_squash) home(ro)
/usr 195.12.32.2/24(rw,insecure)
it keeps saying the files and directories don't exist. how am I actually suppose to set up the exports? also a lot of that page doesn't work.

FM81
Posts: 518
Joined: Wed Apr 17, 2013 4:33 pm

Re: NFS and SMB at the same time?

Fri Oct 04, 2013 2:00 am

ViolentMonk wrote:/home 195.12.32.2(rw,no_root_squash) home(ro)
May be, you've understood the examples in a wrong way?
The line means:
export your directory /home to a machine 195.12.32.2 with options rw,no_root_squash and export it to another PC called home with option ro
MfG, FM_81
A: What does the command 'cat /dev/urandom', can you tell me please?
B: Yeah, that's very simple: It feeds your cat with radioactive material!

Return to “Beginners”