• Announcements

    • Terry (WGS)

      WGS Forums Will Close on January 31st 2017   01/18/17

      Hi everyone, We're coming up to We Got Served's ten year anniversary and I've been taking a good look at the site to work through some plans for the future. I wanted to give you all a couple of weeks notice that I'll be closing WGS Forums at the end of this month.  As you'll be aware, the forums were opened to support Windows Home Server users and have done so brilliantly, thanks to everyone's participation. However, with each day that passes, there are fewer and fewer WHS deployments out there, meaning that forum registrations and traffic has now dwindled. I've tried a few times over the years to test some forums on related or adjacent topics, however, they simply haven't caught on. It's clear that these were always going to be predominately Windows Home Server forums and, with the passing of that platform, they've served their purpose well. So, please take some time to archive anything you need over the next two weeks. Access to the forums will end on Jan 31st 2017. Many, many thanks once again for your participation and support here. It's been a great community! Very best wishes Terry
SJ_UnderWater

Timemachine On Lion With Netatalk

353 posts in this topic

Because of the myriad formatting issues, and the problems they are causing users this solution has been moved to Tutorials. Please download the files there, making sure to only unzip them, they were zipped to get around the file restrictions here.

(WHSv1)

Share this post


Link to post
Share on other sites

Upgrade to a WGS Supporter Account to remove this ad.

Looks very promising.....possible enough for me to hold out on trying to get linux running on my EX490....

Share this post


Link to post
Share on other sites

demo, if you could do some performance testing for me, that would be great. there are some experimental options that can increase the speed slightly, but at the cost of reliability (using "cnidscheme:cdb" in AppleVolumes.default, for instance). Since nearly everyone will be using this solution exclusively for backups I chose the most robust configuration. On my small Atom machine i clocked about 2MiB/s, I'm sure you'll have a better go.

Share this post


Link to post
Share on other sites

coLinux doesn't run on 64bit windows yet...so we should note that this is for 32bit windows machines only at this stage.

Share this post


Link to post
Share on other sites

im working on getting ArchLinux working on QEMU for Windows, which is 32/64bit, but should only be used on machines that support hardware virtualization (Intel's VT-x). There are so few virtualization options that I'm trying to make sure they're efficient before I recommend them. coLinux is definitely the fastest I've seen.

--edit

i forgot to mention that most other vm solutions require the TAP option with bridging, meaning network bridging has to be manually reinstalled on the WHS (it's uninstalled by default), they dont use winpcap like colinux

Share this post


Link to post
Share on other sites

i don't think it's possible because you're basically setting up a second operating system. I don't think it's even possible to script coLinux itself. The only real possibility would be setting up a finished archlinux image that users could download, but the size would be pretty huge. I'll think about it when I finish QEMU for WHS 2011

Share this post


Link to post
Share on other sites

I can confirm that this does work....to a point...

The time machine does show in lion, no mods required, and can connect, however in my case, after writing about 200-400mb, it stops, and then gives a "disk unmounted" error.

From what I can tell, it's like the VM is hard locking....I can't login, can't type anything on the console...

Looks like its usb hdd timemachine for the time being for me......

Share this post


Link to post
Share on other sites

I can confirm that this does work....to a point...

The time machine does show in lion, no mods required, and can connect, however in my case, after writing about 200-400mb, it stops, and then gives a "disk unmounted" error.

From what I can tell, it's like the VM is hard locking....I can't login, can't type anything on the console...

Looks like its usb hdd timemachine for the time being for me......

Has anyone gotten this to work and complete a TM backup? Still running 10.6.8 although since I upgraded from 10.6.7 to 10.6.8, I've had nothing but problems with Time Machine. Hoping AFP would solve that. Was hoping to use AFP and then upgrade to Lion.

No experience with Linux, but I'm willing to adventure a bit (my Mac is really a Hackintosh) and the instructions look pretty clear, but don't want to invest the time if this really doesn't work reliably.

Share this post


Link to post
Share on other sites

demo and I are working out a few edge cases, but we haven't decided the final resting place of the backups folder. The original choice, an unshared folder in D:\shares, didn't turn out so well since that whole folder is indexed for search. I've put the question out to a few experts and they'll get back to me, but the actual file transfer and backup works fine. You don't need TMShowUnsupportedNetworkVolumes, or to manually create an image, and it works smoothly. I'm also making a few small changes to the script for simplicity/speed.

1 person likes this

Share this post


Link to post
Share on other sites

demo and I are working out a few edge cases, but we haven't decided the final resting place of the backups folder. The original choice, an unshared folder in D:\shares, didn't turn out so well since that whole folder is indexed for search. I've put the question out to a few experts and they'll get back to me, but the actual file transfer and backup works fine. You don't need TMShowUnsupportedNetworkVolumes, or to manually create an image, and it works smoothly. I'm also making a few small changes to the script for simplicity/speed.

Awesome. Looks like this might tax my HP EX-490 celeron cpu running a virtualized os layer. Good excuse to upgrade to E7500 or something + memory upgrade. Keep us posted on your good work.

Share this post


Link to post
Share on other sites

it probably will tax a celeron, but the RAM usage is only about 9MiB

Share this post


Link to post
Share on other sites

Hi everyone, I'm trying this for the second time, but always get stuck at step 8.. After the last command the script runs but says:

Generating locales....

en_US.UTF-8... done

Generation complete.

And just stays there.. Nothing more.. Not asking for password or anything else..

Any idea of what the problem could be?

thanks in advance!

Share this post


Link to post
Share on other sites

ive made a minor change to the script, but my first impression is that your vm doesn't have an internet connection. when you say it does nothing, do you mean it returns to the prompt? if it _does_ return to the prompt, it exited because of an error (like no internet connection). if it _doesn't_ return to the prompt, it's still working on something. I suggest you open the WHS's task manager (right-click the taskbar) and watch the CPU usage.

Share this post


Link to post
Share on other sites
Thanks for the fast reply! It goes back to the prompt.. However, I do have internet connection as I can surf the web using firefox on the WHS.

I think it will help to troubleshoot if I write down in bold what I've done in each step:

Login to the WHS. I used remote desktop connection from my macbook pro.Download coLinux, and install it to C:\coLinux (only FLTK, NDIS, and Root Filesystem are necessary), choosing ArchLinux when prompted. Download the coLinux on my mac, copied it to the WHS, installed it on C:\coLinux as instructed. Archlinux downloads just fine.Download and expand the 64MB swap file, and toporesize. Make sure the ArchLinux image (.fs) is named "arch.fs", the swap file is named "arch.swap", and both are in C:\coLinux. You may unzip toporesize to a subdirectory. Downloaded the swap file and toporesize on the mac. Extracted both using the unarchiver and named them according to instructions. Once extracted, I add the extension .swap to the swap file. Move both files to the WHS and to the coLinux folder. Copied the ArchLinux.7z from the coLinux folder to the mac in order to extract it using the unarchiver. Copied it back and named arch.fs. Save both scripts below (fixarch.sh, colinux.bat) and the netatalk package to C:\coLinux. Using notepad, pasted the scripts and saved them using the corresponding extensions. Downloaded the netatalk package and moved it as is to the coLinux folder.Run toporesize from "toporesize.bat", choose find file and navigate to arch.fs, and resize to 384MiB or greater (the finished distribution is ~278MiB but needs more in between). Done exactly this, resized to about 540.With all of the files in place, create a shortcut to colinux-daemon.exe, and change it to the shortcut below. Done this, no problem here.Run the shortcut you created. ArchLinux will start, but in an unfinished state. Archlinux runs, all fine.Run each of the following commands (separated by semicolons): root; mount /mnt/win; cat /mnt/win/coLinux/fixarch.sh | tr -d "\r" >/tmp/fixarch.sh; chmod u+x /tmp/fixarch.sh; /tmp/fixarch.sh Run every single command, but like I explained in the previous command, it returns to the prompt.

Thanks for the help!

Share this post


Link to post
Share on other sites

Just tried it with the new script.. It gives me an error saying "no internet connection!"

I can confirm I do have internet connection as like I said i'm connecting to the web using firefox.

However, could it be that the problem is with how I have configured my network adapters? I'm using a 680i motherboard with two network adapters that are teamed up (NIC teaming) in order to provide a 2gbps connection. The connection that i'm using is Local Area Connection 4.

Just to try, I changed the shortcut to reflect the Local Area Connection 4 but with no success..

Any recommendations?

Share this post


Link to post
Share on other sites

i don't know that NDIS supports bonding, but since you changed the shortcut to "Local Area Connection 4" (what are the other 3?) and it still didn't work, you could try deleting the arch.fs image and try again, but I don't know that that will fix anything, coLinux is prepared to support different configurations at each boot.

You could try the other semi-fast connection option WinPCAP (install first!) with the following code:

eth0=pcap-bridge,"Local Area Connection 4"

for reference the speeds are:

NDIS > WinPCAP > TUNTAP > SLIRP

Share this post


Link to post
Share on other sites

i would just like to point out to others that this is a very special case, very few people use link aggregation/bonding with a WHS, and the drivers/subsystems necessary don't work with all applications, like coLinux which needs to "piggyback" on a network connection. NDIS is the lowest-level piggyback available, uses Windows' own native subsystem, and has great performance, but expects a "normal" network connection.

WinPCAP is also pretty fast and may be more compatible with unusual configurations.

Share this post


Link to post
Share on other sites

Hi there, I am getting this error and any help would be appreciated:

Generating locales...

en_US.UTF-8... done

Generation complete.

:: Synchronizing package databases...

error: failed retrieving file 'core.db.tar.gz' from mirror.rit.edu : Not Found error: failed to synchronize core: Not Found

error: failed retrieving file 'extra.db.tar.gz' from mirror.rit.edu : Not Found error: failed to synchronize extra: Not Found

error: failed retrieving file 'community.db.tar.gz' from mirror.rit.edu : Not Found

error: failed to synchronize community: Not Found

error: failed to synchronize any databases

Thanks

Share this post


Link to post
Share on other sites

i can't say for sure what the exact problem is, just that you don't have access to ArchLinux's update server for some reason. Are you far away from rhode island, or have other connection issues?

Share this post


Link to post
Share on other sites

i can't say for sure what the exact problem is, just that you don't have access to ArchLinux's update server for some reason. Are you far away from rhode island, or have other connection issues?

thank you for a quick reply... I am in NYC and connection seems to be ok...

Share this post


Link to post
Share on other sites

Hi, I was just wondering if you'd consider this solution ready for mainstream use now.

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now



Upgrade to a WGS Supporter Account to remove this ad.



  • Posts

    • Hi - I'm now on Lights-Out 2, but the problem persists. Today 3 client computers suddenly shut down after a Lights-Out backup, whilst they were in use (but the users were away from the keyboard so never saw the warning message). All 3 computers had missed their previous backup (scheduled during Friday night). The 3 computers were automatically backed up during the day today, Monday (their next scheduled backup was set for Monday night). At the end of the backup they shut down & the users lost work. I'm trying to create a situation where... Each evening, the client computers are put to Sleep. During the night, the server wakes up the clients in turn, runs a Lights-Out backup, then shuts down the clients. When all the backups are done, Lights-Out puts the server to Sleep. In the morning the clients are re-started, the server wakes up, and the day begins as normal (I like the idea of the clients being restarted regularly). If one of the client computers can't be woken up during the night (the user had accidentally shut it down at the end of the day, or took it home with them), I don't mind what happens next: either a 'normal' Windows server backup during the day; or nothing happens until the next scheduled night-time backup. But these unexpected daytime shutdowns are making me increasingly unpopular - is there any way to avoid them during the daytime when everyone is trying to work normally? many thanks, Simon
    • Please contact support@green-it-software.com and I can send you a copy.
    • Hi, I am looking for these drivers HpMssServiceSetup_v1.0.6 but the dowmload link is dead. Does anyone have a working link please. Thank you.
    • That guide is for installing Exchange on a Server Essentials network, not necessarily installing both services on the same server, which isn't a good idea at all to do (as SBS with Exchange 2007/2010 was a good example of how poorly both AD and Exchange run when both are on the same server), nor is it supported by Microsoft.  Exchange 2016 initially had compatibility issues when installed on Server 2016 until Microsoft's server team came up with KB3206632 and the Exchange team released December 2016's quarterly update (CU3 or 4). Your IIS Reverse proxy will only (currently) be supported on Windows Server 2012/R2, as you've no doubt discovered, the Application Request Routing version and update only support 2012/R2. I know it works for 2012 R2 because I'm running Exchange 2016 CU4 on Server 2012 R2 on my domain that also includes a Server Standard with Essentials Role installed (5 VMs:  2 Domain Controllers, Exchange 2016 CU4, Server Essentials and a Reverse Proxy server all running 2012 R2 using ARR 2.5 -- the ARR Reverse Proxy allows me to share Exchange, Essentials RWA and my QNAP on 443), but thus far, I haven't seen anything for Windows Server 2016.  ARR 3.0 might work with Server 2016, or your other alternative is to deploy another server running 2012/R2 and use ARR 2.5.
  • Popular Contributors