Koozali.org: home of the SME Server

Win and SME file synch

Jeff C

Win and SME file synch
« on: March 12, 2002, 06:35:03 AM »
This may be basic but how do you go about sharing a Win2K Pro drive from an e-smith box?  I want to synch directory contents.

Thanx,

-jeff

guestHH

Re: Win and SME file synch
« Reply #1 on: March 12, 2002, 01:27:24 PM »
Hi Jeff,

Did you already take a look at Peter's place?

http://www.ifost.org.au/~peterw/

or at Unison's place.


To sync with an Win-share, you have to install some unix shell utils on this Win-box. Details are at Unison's plcae, but it will also be applicable with rsync.

Regards,
guestHH

Jeff C

Re: Win and SME file synch
« Reply #2 on: March 12, 2002, 04:06:30 PM »
Thanks HF, as always you've given me some good starting points.  Unison looks interesting.

I'd still like to know how to Samba mount a Win drive to an SME box though :>

-jeff

guestHH

Re: Win and SME file synch
« Reply #3 on: March 12, 2002, 05:20:32 PM »
Hi Jeff,

- share the directory on your win-box (e.g. mywinbox -> C:\share)
- make a mountpoint on you SME server (e.g. /mnt/share )
- as root on SME: smbmount \mywinbox\share  \mnt\share
authenticate and you're done.

to specify the type of mount device you could also use:
mount -t smb \mywinbox\share  \mnt\share

and if resolving the name is not working quickly enough (wins etc.) then try:
mount -t smb \192.168.1.20\share  \mnt\share (being the IP of your winbox)

Regards,
guestHH

guestHH

Re: Win and SME file synch
« Reply #4 on: March 12, 2002, 05:23:34 PM »
Sorry Jeff wrong slashes,

- make a mountpoint on you SME server (e.g. /mnt/share )

must be

- make a mountpoint on you SME server (e.g. \mnt\share )

Regards,
guestHH

ps. you can even make it auto-mount at boottime by change the '\etc\fstab' file
(as explained in the HA how-to :-)

Regards,
guestHH