Page 1 of 1

Windows 7 backup

Posted: 16 Mar 2011, 06:27
by skeptic
I would like to let Windows 7 use my B3 as backup. This is lots of data so I want to store it on a 2TB ext4 USB drive that is attached to B3.
The method I have tried is to create a symbolic link under /home/storage that points to a catalog in the attached drive. But windows is not able to connect to my link. Connecting to /home/storage works well but not to "linked to" directory.

in /home/storage:
lrwxrwxrwx 1 perf users 19 Mar 16 10:30 cray -> /mnt/usbdr0/crayw7/

Is this a Samba configuration issue or a owner:group issue?

Here is part of my smb.conf. I have added the two lines in bold.
[storage]
comment = Common storage
writable = yes
guest ok = yes
public = yes
force group = users
force create mode= 0777
force directory mode = 0777
follow symlinks = yes
wide links = yes
path = /home/storage
hide files = /lost+found/
hide special files = yes

Re: Windows 7 backup

Posted: 17 Mar 2011, 05:42
by skeptic
I have found a solution that works.
Edit the [global] section of /etc/samba/smb.conf this way (correct or add the missing lines):

Code: Select all

follow symlinks = yes
wide symlinks = yes
unix extensions = no
Now Windows 7 may mount a share on a USB disk attached to B3 by following a symbolic link located in /home/storage which points to a directory on the USB disk.

Re: Windows 7 backup

Posted: 19 Mar 2011, 04:36
by Cheeseboy
Hi skeptic,

I'm glad to see you found a solution.
Please take the time to add it to the how-to section of the wiki.

Cheers,

Cheeseboy