So Samba seems to be the direction I need to go. Will it be best to create one single user (called 'sambauser' or something) for everyone on the local network to connect with, or would it be better to actually create a user on the server for each person who might connect? The former would be easier for me if I could get the permissions issues resolved, but I'm open to whatever will work best. I like easy, but I'm not afraid to edit configuration files if needed. It's all mounted via FSTAB at /media/netdrive. Actually, at the moment it is two 2TB drives set up in a software RAID 1, though I will be disassembling that when I reinstall the server and moving one 2TB drive to another machine. The 2TB drive is connected internally via SATA. If it's apples to oranges, then I suppose Samba will be the way to go. Ideally yes, it would be able to access this share as well. I do have a Windows install that I boot into sometimes. Thank you so much for your thorough response! If you want to post replies to the questions I asked, I will advise you on how to accomplish your goal. There are a million variations to this so there is no howto that will fit each and every situation. To summarize you setup the users that will have access, then create the data store on NAS file system and then share (or export) the directory or directories. Traditionally these are called NFS exports. The configuration of the users must be consistent across the network (the users UID and GID must match on all machines). If you only have MAC and Ubuntu then you can use Samba (SMB/CIFS) or you can use Network File System (NFS). Samba can be configured to do this, but you have to do it via the Samba server config file (/etc/samba/smb.conf Their configuration is not very precise and it does not really work for multiple users accessing the same data. This is what Nautilus uses when it sets up sharing. With Windows machines you must use SMB/CIFS (Samba (Windows Sharing). If there are Windows machines that need access then only 1 of those protocols can be used. There are 2 NAS protocols available if you are only using MAC and Ubuntu. This means that any user that needs access to the NAS needs to be a local user on the NAS. What you are attempting to do is create network attached storage (NAS). You will probably you will have to configure the file sharing manually via configuration files for the protocol you use. Most likely this will not work for what you want to do. How is the 2TB partition mounted in the local machine's file system via fstab or ? What is the mountpoint in the file system? Will there any Windows machines accessing the shared data? You should account for all machine types on the network. How is this 2TB HDD attached? USB or SATA? How should I go about this? Should I consider something radically different? Open to any ideas. I cannot for the life of me find a clear guide for setting up this type of share, at least not one that addresses my use case. I will be reinstalling with Ubuntu 16.04 LTS, most likely mid May. The ability to continue also using this machine as a desktop linux computer, as I use it to backup CDs and DVDs, as well as for other Desktop Linux applications as needed. There are only two of us in the house and there is mutual trust. Password protected would be nice, but it's not essential. Perhaps this is because at one point there was a specific Samba user configured? Maybe locally created content was owned by the local user and content created on the share remotely was owned by the Samba user? Not sure.Ī folder on this machine that is accessible, both read and write, by the local machine and machines connected on the local network. Some files are locked and only editable from either the local Ubuntu machine or connected desktops. I use the 2 TB storage drive both locally (backing up music and movies on the Ubuntu machine) and remotely (sharing files between machines) which seems to be causing a permissions issue. It shows up in the network area of my other computers, but I cannot access the network share. My biggest problem at the moment is that the shared folder doesn't seem to be working. It has been both password protected and open to guest access at different times. This machine and the storage drive have been configured with the Nautilus sharing check box, as well as with a custom Samba configuration in the past. Sharing is enabled on the root level of the 2 TB drive via the check box in Nautilus, but does not seem to be working it did work at one point Multiple machines on home network, primarily 2 Macs running OS X 10.11 Large 2 TB hard drive used solely for file storage on local network I currently have an Ubuntu 15.10 Desktop machine set up like this: I need some advice on setting up a home server with a file share.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |