Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Lasse Johansson on November 19, 2002, 11:06:34 AM
-
Has anyone done something like this before?
I need to mount an an IBAY from server_2 into a mountpoint at server_1.
It should really work with smbmount, but my brain isn't bright enough to figure out exactly how...
If I use something like the following (on server_1):
"mount -t smbfs -o username=user,password=xxxxxx //server_2/ibay /...path_to_mountpoint/mountpoint"
...it really works!
But how do I make this mount "permanent" (ie automatially mounts at a reboot of server_1)
...Anyone????????
-
You edit the fstab (located in /etc/fstab) if you search on here for editing fstab you should find some good answers quite simple to do :-)
Rgds
Byte
-
Byte wrote:
>
> You edit the fstab (located in /etc/fstab) if you search on
> here for editing fstab you should find some good answers
> quite simple to do :-)
>
My /proc/filesystems doesn't include smbfs...
This is the /proc/filesystems:
ext2
nodev proc
iso9660
nodev devpts
Neither is smbfs mentioned in "man fstab"
(On my desktop Mandrake box, it is, but that's not where I want to make the mount.....)
-
Ok the here is what you need to enter into the fstab something like this for example
//SMB_server/share local_mount_dir smbfs options 0 0
then on bootup it will load automatically, i use this on a few machine's
Rgds
Byte
-
Great, and thanks for your answer!
Just a last one:
Do you have to "sync" users and groups on those machines?
Otherwise, I don't realize how to get through this:
Firstly I edit fstab as you descibed.
Then:
[root@myserver /etc]# mount -a
Password:
(The IBAY in server_2 is set to:
group=everyone
write=group, read=everyone)
-
ok if you need password to be verified use this line instead in the fstab
//server/example /mnt/example smbfs username=admin,password=pass
not sure what you mean by syncing users and groups tho, or did you mean that you want to sync A to B to be the same?
Rgds
Byte
-
What I mean is to enable the SME-users on server_1 (the server with the mount point) to get write access to the mounted ibay from server_2
Can you do that?
-
Yes you can i noticed you had write=group you should maybe try everyone
Byte