Mounting 2 file systems to one directory
I have a server with two directories that I exported, /shared and /home. I want to mount those to /home/tparks/server directory on my workstation. Whenever I mount one, the other one unmounts. Can you only mount one directory to a directory or is something else happening? Thanks.
Todd |
You can only mount one filesystem to a single directory.
|
Yes that is correct, you can only mount one filesystem to a directory.
Make a directory for each mount point in /home/tparks/server. Example, /home/tparks/server/shared then mount to that folder :) |
OK, that makes sense with what I am seeing.
Question: What is the 'standard' way of setting up network shares on the server? I have about seven workstations on the network, where on the server does one usually put the network shares? Would everyones files be in their home folder (/home/user) on the server or is it better practice to put a directory on / for each user and set the permissions accordingly? What about files that need to be accessed by more then one person? I would think that they should not go into a users home directory on the server. Just wondering what standard operating procedure says about this, thanks. Todd |
Well, it all depends on your situation, but I have a fileserver where each user's individual share is simply their home directory, and there are a few common shares that are controlled by group and public access. These are, on my system, in /shares/public/SHARENAME and /shares/group/GROUPNAME.
The /shares choice is just arbitrary, but stays out of the way of ordinary/other data. |
OK, that helps.
I have another question problem that I am having trouble getting around. I have FC4 on a server and Ubuntu on a laptop and I cannot get the shares on the server to automount on the laptop. My fstab file is: Code:
# /etc/fstab: static file system information. Todd |
Hrrm, I'm honestly not sure why those won't automount. I nfs mount a few things, but using Gentoo... and they work fine. The only thing I can think of is that the OS attempts to mount them before networking is enabled. Does anything show up in the logs?
As for XP, you'll need to connect using the proper username and password (per smbpasswd). Check your samba logs to see if it shows any detail on the errors. |
I'm not sure where the logs are but as soon as I find them I'll check. I did notice though that when I manually mount them they take well over a minute before they are mounted and I am back at a command prompt. Usually things mount much quicker then that.
As far as Samba is concerned I'm sure that I have the right usernames and passwords, I even redid the samba shares and users just to see but it made no difference. I can access /shared but not /home or /tparks. I think that I hear penguins laughing in the distance... |
All times are GMT -5. The time now is 03:18 AM. |