Guest Danomatic Posted June 27, 2004 Report Share Posted June 27, 2004 (edited) I've got NFS/Samba file sharing working just fine between 2 MDK 10.0 boxes through a LinkSys router. Sharing files from either box in the /home directory works great. What I'd like to do is to allocate/share an entire drive from one box to another. Perhaps I've overlooked something simple or I'm just an idiot. So far MDK 10.0 doesn't like to share outside the /home partition. Where can I change this? You'd think that it'd just be a simple change to a .conf file ( 'cause MDK Wizards don't allow sharing outside /home). I assume I would export something like /mnt/hdb1. Or perhaps export the device location itself ( something like /dev/ide/bus0/...etc. ). But so far no luck. Any pointers would be appreciated. Edited June 27, 2004 by Danomatic Quote Link to comment Share on other sites More sharing options...
armondf Posted June 27, 2004 Report Share Posted June 27, 2004 (edited) Hi there Samba's configuration files are found in /etc/samba/ The main conf file is smb.conf. You would like to share your entire drive? just share root (/) -- not the other root (/root). Like So (Warning: This shares all files and makes things writeable if the root password is provided): vi /etc/samba/smb.conf ### You're in VI, use keyboard arrows to move about, [insert] to insert Add the following to the file [everything] comment = everything path = / public = yes writable = yes printable = no ### [esc] wq! to write and quit restart samba, mount from the other machine like so mkdir /tmp/machine1 mount -smbfs //machine1/everything /tmp/machine1 Regards, Armond Edited June 27, 2004 by armondf Quote Link to comment Share on other sites More sharing options...
SoulSe Posted June 28, 2004 Report Share Posted June 28, 2004 Samba/NFS ??? They are two very different ways of network file-sharing, maybe I'm not reading your post right... Anyway, armondf is right about Samba, for NFS checkout /etc/exports - you can add shares to your NFS server from there. Also do $ man exports To make sure you do 'em right ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.