Crashplan on Duo/NV+ v2? [SOLVED + TUTORIAL]

Simplifying backup strategy with ReadyNAS

Crashplan on Duo/NV+ v2? [SOLVED + TUTORIAL]

Postby iearmand » Mon Jan 09, 2012 6:30 am

UPDATED: See filzip77's post below for a guide\Tutorial on how to install

I’m new to the forums so please be gentle ….

I’m looking to venture into having a dedicated/off the shelf NAS rather then the DIY version I have been running for a while. The ReadyNAS Duo\NV+ v2 (ARM version) definitely sticks out as the top runner.

The one thing that is stopping me taking the plunge is I’m unclear on if it can cope with running Crashplan.

I understand that Crashplan is java based and that the older “sparc” Duo cannot run it. But is there a way to get Crashplan running on a newer Duo v2? I’ve searched then forums but it’s a little unclear. I have seen comments around the web stating folk have done it but not with any detail that gives me any confidence so splash my cash.

Any help on this matter would be much appricated.
Last edited by iearmand on Thu Apr 12, 2012 4:03 am, edited 1 time in total.
iearmand
ReadyNAS Newbie
 
Posts: 16
Joined: Mon Jan 09, 2012 6:18 am

Re: Crashplan on Duo/NV+ v2?

Postby mdgm » Mon Jan 09, 2012 6:36 am

No. Look at the system requirements: http://www.crashplan.com/consumer/download.html?os=Linux

You need at least 1GB RAM. The ARM products have 256MB RAM that is not upgradeable.

You'll need to get an x86 ReadyNAS (e.g. Ultra, Pro) if you want to run Crashplan. There are instructions on the forum on how to install it.

Welcome to the forum!
Useful links: My ReadyNAS Gear|FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How we users can contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Unofficial Guide for Moving from Sparc ReadyNAS to x86 ReadyNAS|Using Gmail with the ReadyNAS|XRAID Volume Size Calculator
User avatar
mdgm
ReadyNAS Enthusiast
 
Posts: 28913
Joined: Tue Feb 17, 2009 9:34 pm
Location: Down Under
ReadyNAS: RN516

Re: Crashplan on Duo/NV+ v2?

Postby iearmand » Mon Jan 09, 2012 6:44 am

Thanks for the quick response.
Thats the one thing I never checked...doh! Would have saved myself a ton of time. Ah well.

Looks like the Ultra might be longer term investment anyway. I'm laughing through because the DIY system I'm looking to replace would have the same spec as the Ultra plus.
iearmand
ReadyNAS Newbie
 
Posts: 16
Joined: Mon Jan 09, 2012 6:18 am

Re: Crashplan on Duo/NV+ v2?

Postby Gucek » Fri Jan 13, 2012 4:00 am

I have NV+ which is afaik ARM and it's upgrade-able to 1GB. Although those RAMs are quite a bit expensive, so I didn't do that..
Gucek
ReadyNAS Newbie
 
Posts: 3
Joined: Fri Jan 13, 2012 2:41 am
ReadyNAS: NV+

Re: Crashplan on Duo/NV+ v2?

Postby mdgm » Fri Jan 13, 2012 4:03 am

Gucek, what version of RAIDiator?

The Sparc NV+ (v1) which runs RAIDiator 4.1.8 and has the Frontview web-interface (looks like http://www.readynas.com/simulators/frontview/) is very different to the new ARM NV+ v2 which runs RAIDiator 5.3.x and has the new Dashboard web-interface.

The NV+ v2 was released on Nov 13th 2011, so if you purchased before this time you'd have the v1.

I've posted an article on telling the difference between the v1 and v2 here: How to tell whether I have a Duo v1 or Duo v2 or NV+ v1 or NV+ v2
Useful links: My ReadyNAS Gear|FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How we users can contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Unofficial Guide for Moving from Sparc ReadyNAS to x86 ReadyNAS|Using Gmail with the ReadyNAS|XRAID Volume Size Calculator
User avatar
mdgm
ReadyNAS Enthusiast
 
Posts: 28913
Joined: Tue Feb 17, 2009 9:34 pm
Location: Down Under
ReadyNAS: RN516

Re: Crashplan on Duo/NV+ v2?

Postby filzip77 » Thu Apr 05, 2012 3:13 am

Hello,

I have just acquired a new Readynas duo v2.
In one of the previous message of this thread, mdgm replied it was not possible to install crashplan on the Duov2
No. Look at the system requirements: http://www.crashplan.com/consumer/download.html?os=Linux

You need at least 1GB RAM. The ARM products have 256MB RAM that is not upgradeable.


I also read on internet there is a guide howto install crashplan on Synology NAS (with the same processeur ARM and the same amount of memory).
Here is the link: http://pcloadletter.co.uk/2012/01/30/crashplan-syno-package/

If it runs on a Synology ARM based, it must also runs on the readynas duo v2.

No problem for the download/installation of the the sun-java runtime 7.
I tried but the tuto doesn't explain how to get the library "libmd5.so" for arm.

Did someone already do it for our NAS?

Philippe
filzip77
ReadyNAS Newbie
 
Posts: 18
Joined: Thu Apr 05, 2012 2:49 am
ReadyNAS: Duo

Re: Crashplan on Duo/NV+ v2?

Postby mdgm » Thu Apr 05, 2012 3:32 am

I think I may have been wrong. I've read that it's been done.
Useful links: My ReadyNAS Gear|FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How we users can contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Unofficial Guide for Moving from Sparc ReadyNAS to x86 ReadyNAS|Using Gmail with the ReadyNAS|XRAID Volume Size Calculator
User avatar
mdgm
ReadyNAS Enthusiast
 
Posts: 28913
Joined: Tue Feb 17, 2009 9:34 pm
Location: Down Under
ReadyNAS: RN516

Re: Crashplan on Duo/NV+ v2?

Postby sphardy » Thu Apr 05, 2012 6:42 am

I hope to finally get time to set this up myself this weekend. Have CP running on my Ultra, but not the Duo v2 yet - I'll post back on my results

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Re: Crashplan on Duo/NV+ v2?

Postby iearmand » Thu Apr 05, 2012 6:59 am

Please do feedback. Would be very interested to see any results good or bad.
iearmand
ReadyNAS Newbie
 
Posts: 16
Joined: Mon Jan 09, 2012 6:18 am

Re: Crashplan on Duo/NV+ v2?

Postby sphardy » Sun Apr 08, 2012 2:39 pm

Progress:

Image

Unfortunately, while I can get the Crashplan engine running, I cannot then use the NAS as a backup target - I constantly get the message "backup disabled - not available" as if the backup location is not available (not true)

Image

Only error report is the following related to iNotify:

Code: Select all
Exception in thread "W11700608_ScanWrkr" java.lang.NoClassDefFoundError: Could not initialize class com.code42.jna.inotify.InotifyManager
   at com.code42.jna.inotify.JNAInotifyFileWatcherDriver.<init>(JNAInotifyFileWatcherDriver.java:21)
   at com.code42.backup.path.BackupSetsManager.initFileWatcherDriver(BackupSetsManager.java:392)
   at com.code42.backup.path.BackupSetsManager.startScheduledFileQueue(BackupSetsManager.java:330)
   at com.code42.backup.path.BackupSetsManager.access$1600(BackupSetsManager.java:65)
   at com.code42.backup.path.BackupSetsManager$ScanWorker.delay(BackupSetsManager.java:1035)
   at com.code42.utils.AWorker.run(AWorker.java:158)
   at java.lang.Thread.run(Thread.java:636)

Quite a few reports of this that I've tried various solutions to (eg modify java tmp dir) but with no success.

Have now run out of time on this so if anyone has any thoughts, let me know

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Re: Crashplan on Duo/NV+ v2? [SOLVED + TUTORIAL]

Postby filzip77 » Tue Apr 10, 2012 2:15 pm

Hello,
I succeeded to get crashplan running on my Readynas Duo v2.
The install is a bit tricky.

Here are some links that help me a lot:
link1: http://pcloadletter.co.uk/2012/01/30/crashplan-syno-package/
link2: http://www.droboports.com/app-repository/crashplan-3-2-1
link3: http://www.kleinfelter.com/node/254

Link1: convinced me it was possible to make crashplan running on ARMv5 platform
link2: at the end of the page you will find some library already compiled -> libjtux.so, libmd5.so
link3: explains why crashplan starts but wait forever -> libjna-java package needed

Installation:
Download crashplan 3.2.1 linux version (and windows version for the Front-end) and uncompress:
Code: Select all
tar -zxvf CrashPlan_3.2.1_Linux.tgz

I uncompressed the crashplan archive in "/c/home/Philippe". Philippe being my username on the Readynas.
Download "JAVA SE FOR EMBEDDED 7" for armv5
Code: Select all
http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html

Just uncompress and create the environment variables (JAVA_HOME and PATH)
Code: Select all
JAVA_HOME=/usr/java/j2se
PATH=/usr/java/j2se/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

/usr/java/j2se/bin is a link to the directory where I uncompressed the java archive (/usr/java/j2se -> /c/home/Philippe/ejre1.7.0_02)
Code: Select all
ln -s /usr/java/j2se /c/home/Philippe/ejre1.7.0_02


To make these variable permanent after a reboot, I created a script "java.sh" in /etc/profile.d

Content of "java.sh"
Code: Select all
#!/bin/bash
JAVA_HOME=/usr/java/j2se
PATH=$JAVA_HOME/bin:$PATH
export PATH JAVA_HOME
export CLASSPATH=.


Permissions of "java.sh"
Code: Select all
-rwxr-xr-x 1 root root 298 2012-04-03 22:35 java.sh


Run the crashplan linux installer: install.sh and select where you want to install crashplan.
For me, crashplan is installed in "/c/home/Philippe/crashplan"
Here are my selections:
Code: Select all
Your selections:
CrashPlan will install to: /c/home/Philippe/crashplan
And put links to binaries in: /usr/local/bin
And store datas in: /c/home/Philippe/crashplan/manifest
Your init.d dir is: /etc/init.d
Your current runlevel directory is: /etc/rc2.d

Is this correct? (y/n) [y] y


Download the two libraries libjtux.so, libmd5.so from link2 and copy them in the installation directory (for me "/c/home/Philippe/crashplan")
Execute the command
Code: Select all
apt-get update
to resfresh the list of package available.
Execute the command
Code: Select all
apt-get install libjna-java
to download the package and all dependences (it is maybe not useful but I did it)
We have to create a symbolic link to the library /usr/lib/jni/libjnidispatch.so otherwise crashplan will wait forever (see explanation given in link3).
Code: Select all
ln -s /usr/lib/jni/libjnidispatch.so /c/home/Philippe/crashplan/libjnidispatch.so


Edit the file my.service.xml and change the line <serviceHost>127.0.0.1</serviceHost> into <serviceHost>0.0.0.0</serviceHost>
Code: Select all
/c/home/Philippe/crashplan/conf/my.service.xml


Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<config id="service" modified="2012-04-10T21:49:47:580+0200" version="3">
  <configDateMs>1334087387099</configDateMs>
  <installVersion>1332824401321</installVersion>
  <logPropertiesFile>conf/my.log.properties</logPropertiesFile>
  <serviceLog>
    <fileHandler append="true" count="2" level="ALL" limit="26214400" pattern="log/service.log"/>
  </serviceLog>
  <serviceErrorInterval>3600000</serviceErrorInterval>
  <historyLog>
    <fileHandler append="true" count="10" level="ALL" limit="512000" pattern="/c/home/Philippe/crashplan/log/history.log"/>
  </historyLog>
  <userIdleDelay>900000</userIdleDelay>
  <orgType>CONSUMER</orgType>
  <systrayOnStartup>true</systrayOnStartup>
  <location>0.0.0.0:4242</location>
  <helpNovice>INTRO</helpNovice>
  <userHome>/home/proops</userHome>
  <windowsPriorityClass>LOW</windowsPriorityClass>
  <windowsPriorityBoost>false</windowsPriorityBoost>
  <macIOPriority>IOPOL_THROTTLE</macIOPriority>
  <serviceUIConfig>
    <serviceHost>0.0.0.0</serviceHost>
    <servicePort>4243</servicePort>


Stop and restart the servive crashplan:
Code: Select all
/etc/init.d/crashplan stop
/etc/init.d/crashplan start

Now crashplan should be running and operational on your Readynas.

You also have to install the fron-end on Windows (or Linux). After the installation, stop and disable the crashplan servive on your desktop.
Edit the file "ui.properties" in "C:\Programmes\crashplan\conf" and uncomment the two following lines
Code: Select all
serviceHost=10.77.82.20
servicePort=4243

to tell the front-end to connect on the service running on the readynas

My readynas has the IP 10.77.82.20 and the service is listening on the port 4243.

If everything is alright, the front-enf should connect on the crashplan service running on the Readynas.

If it doesn't work, have a look in the logs located in the installation folder (for me: /c/home/Philippe/crashplan/log) to get precious info on what gets wrong

Good luck and do not brick your NAS !!!

Sorry if this tutorial is not very clear but I preferred to write everything before to forget.

Bonne chance à tous ...
Philippe
Last edited by filzip77 on Thu Apr 12, 2012 3:55 am, edited 2 times in total.
filzip77
ReadyNAS Newbie
 
Posts: 18
Joined: Thu Apr 05, 2012 2:49 am
ReadyNAS: Duo

Re: Crashplan on Duo/NV+ v2?

Postby sphardy » Tue Apr 10, 2012 3:05 pm

Thanks for the tip on the service file - editing the service host to 0.0.0.0 seems to have cured my issue.

FWIW I installed OpenJDK and compiled my own libraries, but otherwise the same solution

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Re: Crashplan on Duo/NV+ v2?

Postby iearmand » Wed Apr 11, 2012 1:37 am

Nice work guys.
I'm in the middle of a big back up I don't want to interrupt so I'm gonna have to wait a week or two. But as soon as I will be trying this try...
iearmand
ReadyNAS Newbie
 
Posts: 16
Joined: Mon Jan 09, 2012 6:18 am

Re: Crashplan on Duo/NV+ v2?

Postby filzip77 » Wed Apr 11, 2012 2:36 am

sphardy wrote:Thanks for the tip on the service file - editing the service host to 0.0.0.0 seems to have cured my issue.

FWIW I installed OpenJDK and compiled my own libraries, but otherwise the same solution


Hello,
If you have time, could you please explain how you did to compile your own library? Because if crashplan decides in the future to upgrade their application and that new libraries are needed, it would be good to know :-)
Your solution is certainly cleaner than mine.

What does
FWIW
mean?

Philippe
filzip77
ReadyNAS Newbie
 
Posts: 18
Joined: Thu Apr 05, 2012 2:49 am
ReadyNAS: Duo

Re: Crashplan on Duo/NV+ v2?

Postby sphardy » Wed Apr 11, 2012 2:47 am

FWIW = For What It's Worth

I compiled libmd5.so using the instructions you also found in your link1 (I got the necessary include files from a Linux box I have)

I compiled libjtux.so based on some info I found elsewhere, but don't have the original link I used. Just found this however which seems pretty much the same: https://crashplan.zendesk.com/entries/3 ... sheevaplug

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Next

Return to Third-Party Backup



Who is online

Users browsing this forum: No registered users and 1 guest