Home Mac with 2 External Drives — server
Portable Mac needs to see these drives. — client
Below are instructions on how to configure samba on the server to show the external drives on an Apple Computer running OS X.
1. ssh into your home machine or go physically go into the terminal.
2. Check what your disks are named by issuing the following command.
3. Assuming disk drives are named external1 and external2 expect to see something like
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/disk2s1 244136352 242739232 1397120 100% /Volumes/external1
/dev/disk3s1 244136352 230821696 13314656 95% /Volumes/external2
4. Copy paste this somewhere if you won’t remember the absolute path (“/Volumes/external1”) for each drive you wish to share.
5. Open the samba configuration file on your machine and add the entries for each drive you want to share.
Note that in this example I have made external1 read-write and external2 read-only.
in this case
path = /Volumes/external1
browseable = yes
read only = no
comment = external2
path = /Volumes/external2
browseable = yes
read only = yes
# open configuration file with vi text editor (short cut keys for action specified are in the parentheses)
5a. sudo vi /etc/smb.conf
5b. go to end of file ( shift + g )
5c. enter insert mode so you can type in the above configuration information ( o )
5d. type in the configuration shown above — modify accordingly.
5e. when satisfied with entry exit editing ( esc )
5f. save the configuration change and exit the vi program ( :wq )
5g. exit terminal.
Your configuration is now complete on the “Server”
6. Connect to your Server to test functionality. From your client machine in my case laptop.
6a. Open Finder
6b. Press cmd+k
6c. Enter address of server smb://serveripaddress/external1
Let me know how it goes.