DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd September 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Thumbs up NFS your thoughts

So far I was using SAMBA for file sharing between my BSD desktop and other Windows/Mac on my LAN. I was thinking of moving to NFS because of better performance and more in the spirit of Unix . But I've few concerns about NFS.

1. File sharing - How can I mount NFS on windows, I assume it can be done easily on OSX.

2. I have few windows machine on the LAN of which I don't control. I would like to share a directory with them but don't want them to have access to any other directory.

As I have no prior experience with NFS, I needed some suggestions. Thanks
Reply With Quote
  #2   (View Single Post)  
Old 23rd September 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

I was in a similar boat myself some months ago. NFS is fairly simple to work out and the most detailed how-to documentation comes from the old System Managers Manual, under OpenBSD this is located in /usr/share/doc/smm/; FreeBSD should be the same.

To mount NFS shares on Windows, I use Microsoft (Windows) Services For UNIX, aka SFU. Once you have it installed, you can use start -> all programs -> windows services for unix -> services for unix administration; to configure the NFS client and server. The main thing you probably will need to do, is setup a mapping between Windows user accounts and the ones on the NFS server.


To actually mount the share, open a cmd.exe, window, Korn Shell, or C-Shell session, and use the mount utility:

Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

U:\Terry>mount vectra:/srv/nfs N:
N: is now successfully connected to vectra:/srv/nfs

The command completed successfully.

U:\Terry>dir /w N:\
 Volume in drive N has no label.
 Volume Serial Number is 0000-0013

 Directory of N:\

[.]       [..]      [Backups] [Files]   [Terry]
               0 File(s)          5,632 bytes
               5 Dir(s)  24,717,033,472 bytes free

U:\Terry>

The SFU documentation (man mount) says to use the UNC \\ComputerName\SharedFolder\Resource path syntax, but it's full of it... The mount command requires the unix-stye host:share syntax to work correctly. Do not use Windows Explorer to manage the connection, use the mount/umount commands.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #3   (View Single Post)  
Old 23rd September 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Default

Quote:
Do not use Windows Explorer to manage the connection, use the mount/umount commands.
But once mounted I can use Explorer to browse ther drive like local drive. right?

I also read that I can share drives using NFS. My BSD got a dvd writer but my Macbook don't, so can I mount that DVD writer on macbook and use toast(or any other burning s/w) to burn files.

I know I need fast network connection and I think if I connect two computers via ethernet with switch between them should server the need.

Last edited by rex; 24th September 2008 at 01:11 AM.
Reply With Quote
  #4   (View Single Post)  
Old 24th September 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

My philosophy has always been to use the file sharing protocol that's native to the client.

This means using CIFS/SMB for Windows clients and NFS for Unix clients.

Trying to use NFS to share files to a Windows client is like trying to shoehorn a trailer hitch onto a Firefly. It'll work for awhile, but you'll quickly burn out the motor.

Of course, there's plenty of other philosophies out there.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #5   (View Single Post)  
Old 24th September 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

You can use explorer fine, but it may lock-up for a bit when first opening "My Computer" or the actual network shares, until it updates itself (caching probably). Then again, I've found explorer usually locks up for awhile on almost any network related inquiry.... I typically use both explorer and cmd a lot under XP, and find both useless.


You can mount the DVD on the server, and mount it on the clients (if you export the mount dvds point!), but I doubt you can burn disks to it via the network; I would expect that to need device access, not just file I/O. Although konqueror can do a nice job of abstracting that, hehe.


@phoenix, I generally agree: except when multiple OSes are involved and must cooperate.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Reply

Tags
nfs

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Thoughts on NetBSD 5.0 Meta_Ridley NetBSD General 16 25th May 2009 06:34 PM
ZFS thoughts and questions mtx FreeBSD General 3 28th November 2008 07:27 AM
FreeBSD as a desktop - Thoughts.. harisman FreeBSD General 62 6th September 2008 01:27 AM
Your Thoughts on WINE (Codeweaver products incl.) ninjatux General software and network 5 21st July 2008 11:56 PM
MTA thoughts cajunman4life General software and network 37 8th June 2008 07:37 PM


All times are GMT. The time now is 04:52 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick