NFS Server on Windows; What a pain!
We use a nice open source package called BackupPC. It is a nice system with a powerful web interface that has many capabilities to interact with other nix and windows based hosts.
We had been using smb (Samba) to do most backups from windows hosts, however there was one problem with our Exchange Server. The backup file was huge, roughly 16GB using ntbackup. Samba has a limitation of 2GB files for transfer, so that was a killer.
Initially I took the “quick and dirty” route. I created a batch file that ran the backup and use the split command to split the backup file into 500mb chunks. It worked, but what a hack! Recovery means restoring the files and using join to get them back together. Not a fun prospect.
I recently ran across the the Windows Services For Unix (SFU) on a different server and found that it had the ability to add NFS server functionality to a Windows 2003 server. Hallelujah! No more 2GB limitations!
I looked up documentation on installing and configuring things. I found that I had to implement User Mapping in order for Windows to translate UNIX users to Windows accounts. No problem, it all seemed very straight forward. I set up my shares, made sure my permissions were correct and that my users were mapped. The drive mounted on my Linux box perfectly! Then I tried to list the contents:
Permission Denied
Dang, so close! I must have mucked up permissions, right? Wrong. I went through all of the standard troubleshooting, opened the share up to everyone including root access, mapped, remapped and changed other settings. Still nothing. Ugh! Time to search Google. I found many similar issues, but nothing that was what I really needed. Many people had permission denied problems that turned out to be issues with user mapping or root access. Not my problems, although I tried everything I found.
Finally I went directly to Google Groups and began searching. After a few pages of things I’d seen before, I ran across a post that pointed me to this TechNet article. I do not know why it was so hard to find this. Searches at the MS Knowledge base did not yield these results.
Anyway, it turned out the only problem was a single initial setting all the way at the top of the SFU snap-in. It is under the Settings tab and it simply says Server Name. It was blank! I would have thought that it would put the default name of the server in there, but it did not. No biggie, I changed it and viola, everything worked! I backed out of all my troubleshooting changes to give access only to Backup Operators and no root access to the share and things ran very smoothly.
Hopefully someone may find this pointer faster than I did, if so then my work here is done! Until the next problem of course.
Share this:
Like this:
February 6, 2007 - Posted by palehorse | Linux, Networking, Operating Systems, Security, Windows
2 Comments »
Leave a Reply Cancel reply
Pale Tweets
- I just unlocked the “Flame Broiled” badge on @foursquare! Cheeseburgers all around! http://t.co/a8qihs58 3 days ago
- I just ousted Doug S. as the mayor of Excel Fitness on @foursquare! http://t.co/LzAXKJUx 2 weeks ago
- I just ousted @passi0n as the mayor of Timbers on @foursquare! http://t.co/MGG1KhxA 1 month ago
The Cloud
Archives
Pale’s Social Graph
Google Reader Shared Stuff- Microsoft releases Bing app for Android, iOS, not Windows Phone 7
- Google Tweaks Algorithm As Concern Over Bing Grows
- First Android Device Certified For DoD Personnel
- Stupid Router Tricks (or how to use DD-WRT to extend the range of a network)
- Steve Jobs Biography Reveals Reflections On Apple, Contempt For Android
- Galaxy Nexus signup page includes seven US carriers, endless speculation
- I swear to God this is what they must be doing
- Google Promises Android 4.0 For The Nexus S, “Theoretically” For Gingerbread Devices, Too
- Mac Trojan Disables XProtect Updates
- HTML 5 and CSS: Six complete lessons, free for students, faculty, you and me too!
Pale Tweets
- I just unlocked the “Flame Broiled” badge on @foursquare! Cheeseburgers all around! http://t.co/a8qihs58 3 days ago
- I just ousted Doug S. as the mayor of Excel Fitness on @foursquare! http://t.co/LzAXKJUx 2 weeks ago
- I just ousted @passi0n as the mayor of Timbers on @foursquare! http://t.co/MGG1KhxA 1 month ago
Blogroll
Thanks for this! It’s a great article! Have been looking for exactly this!
Thx alot, had the exact same problem. no howto on the net exlains this