Dismiss Notice
We're migrating the forum software to the next major version and this will require the site to be down for the best part of Monday 16th.
More details here. Apologies for the inconvenience.

Xpenology Discussion

Discussion in 'Networking & NAS' started by springtide, Jun 18, 2013.

  1. springtide

    springtide
    Well-known Member

    Joined:
    Oct 7, 2005
    Messages:
    6,800
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    133
    Ratings:
    +1,963
    So there looks like there is now a community developed/ported 'clone' of the Synology OS that will run on standard x86 (if limited) hardware.

    Legality: It seems that as Synology use GPL code for their OS and hence are some license requirements that mean they need to share the changes with the community.

    The GNU General Public License v3.0 - GNU Project - Free Software Foundation (FSF)

    For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.

    So the project to take advantage of the above has started and is being developed at:

    http://xpenology.com/

    I completed the install on a N54L last night and all seems to be working without any issues.

    This is what I installed:
    XPEnology NAS • View topic - XPEnology DS3612xs DSM 4.1 build 2668++ (more hardware)

    And this was the step by step process of completing the install:
    XPEnology NAS • View topic - Installing XPEnology in PC

    The only bit that was not clear for me was booting. The USB key is needed to boot, but the system configuration is stored on the HDDs (and is mirrored across all drives in the pool). You need to avoid having the USB key attached when it creates the config volumes, but it is needed for booting.

    In reading the documentation and legalities, it seems that although Synology will not exactly be happy with Xpenology development, as they are using GPL code there is nothing they can do to currently stop the project... but maybe in the future this may change.

    If the mods have any objection about discussing this topic, please feel free to remove this post. I put up a headline yesterday and have had no feedback, so assume it's all fine.

    Additional packages:
    http://www.cphub.net
    http://packages.quadrat4.de
     
    Last edited: Jun 19, 2013
  2. springtide

    springtide
    Well-known Member

    Joined:
    Oct 7, 2005
    Messages:
    6,800
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    133
    Ratings:
    +1,963
  3. rob_c

    rob_c
    Active Member

    Joined:
    Jul 30, 2008
    Messages:
    126
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    18
    Location:
    sheffield
    Ratings:
    +8
    This sounds very interesting. I am interested in the power options for this, does it come with WOL and synology proprietary raid. As I currently have a 2 bay synology but lacks WOL and was considering a N54L upgrade. Also all the raid options with FreeNas are over whelming.
    Thanks.
     
  4. springtide

    springtide
    Well-known Member

    Joined:
    Oct 7, 2005
    Messages:
    6,800
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    133
    Ratings:
    +1,963
    The version of Xpenology I have running is DSM 4.1 - so it has all of the same features including the RAID (and the apps).

    The DSM OS I believe is embedded Linux, but obviously it's designed for specialist hardware. What the team have done, is taken the source code and the package, added Linux driver support for more hardware.

    What this means is that to get WOL working, there must be hardware support on the system that is being deployed (and is obviously comparable with how it's being implemented).
    So, if Synology have designed hardware specifically for their platform that isn't present on standard x86 hardware, then you'll not be able to get this working.

    So there are limitations, but these are not that limited. I think the WOL and other Power Management Features maybe lacking with the N54L as it's a server designed to be run 24/7 (see the threads about the lack of S3 support in the BIOS).


    I've tested FreeNAS and I do like it a lot. It needs a lot of RAM (1GB for every 1TB of RAW Storage) to run ZFS (and ZFS is the only option for RAID). ZFS & FreeNAS isn't as flexible with storage expansion compared to the Synology RAID.

    Synology also has the advantage of the build-in apps - which are configured from within the main portal. And most importantly for me, Crashplan is very easy to setup on Xpenology.

    But saying all the above (which looks to be very Xpenology biased), I feel more comfortable having my data stored on FreeNAS than Xpenology for the simple reason that Xpenology has a much smaller community (and it's future is uncertain if Synology move away from using GPL and/or make restrictions in an attempt to stop Xpenology development.
     
  5. rob_c

    rob_c
    Active Member

    Joined:
    Jul 30, 2008
    Messages:
    126
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    18
    Location:
    sheffield
    Ratings:
    +8
    The cphub.net website you linked above is really useful. I am going to try out the advanced power management app later on my synology. If the N54L does not support S3 sleep, does that mean with DSM the power management sleep and wakeup features do not work? I dont like the idea of having the server on 24/7 and power management is one of the main features for me.
    With regards to community support for Xpenology, if a version of DSM is stable and all the features are there one requires (4.1) do the legalities only come into it for future versions of DSM. So it may not be possible to upgrade in the future if synology make it illlegal. So your stuck on an old version of DMS.
     
  6. whitestar96

    whitestar96
    Active Member

    Joined:
    Dec 5, 2006
    Messages:
    582
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    28
    Ratings:
    +63
    I've been running Xpenology on a N40L with 5 2TB disks since February without any issues. I started with 4.1 then upgraded to 4.2 when that became available.

    I had a readyNAS NV+ before getting the N40L & the difference is night & day. The Synology software is so much more flexible & genuinely useful. It serves all my streaming needs, both to TV's & iPads as well as serving my PC & Mac.
     
  7. springtide

    springtide
    Well-known Member

    Joined:
    Oct 7, 2005
    Messages:
    6,800
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    133
    Ratings:
    +1,963
    I see that there are a few versions of the DSM 4.2 for the Microservers.

    Which one and/or guide did you follow? And importantly, did you loose your data ;)
     
  8. whitestar96

    whitestar96
    Active Member

    Joined:
    Dec 5, 2006
    Messages:
    582
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    28
    Ratings:
    +63
    I used the DS3612xs - DSM 4.2 build 3202 files & no I didn't loose any data when I upgraded, everything went very smoothly. I did have backups though :)
     
  9. springtide

    springtide
    Well-known Member

    Joined:
    Oct 7, 2005
    Messages:
    6,800
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    133
    Ratings:
    +1,963
  10. rob_c

    rob_c
    Active Member

    Joined:
    Jul 30, 2008
    Messages:
    126
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    18
    Location:
    sheffield
    Ratings:
    +8
    Does power scheduler work for automatic startup and shutdown with the hp microservers?
     
  11. whitestar96

    whitestar96
    Active Member

    Joined:
    Dec 5, 2006
    Messages:
    582
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    28
    Ratings:
    +63
    I used that one but you can use either. Yes the upgrade process is exactly the same.

    By the way although the 4.2-3211 update is the latest version from Synology I haven't upgraded to that version yet as 4.2-3202 is perfectly stable for me & as it's only just been released I'll wait a while to see if there are any issues.
     
    Last edited: Jun 26, 2013
  12. whitestar96

    whitestar96
    Active Member

    Joined:
    Dec 5, 2006
    Messages:
    582
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    28
    Ratings:
    +63
    It certainly does for shutdown but I haven't tried it for startup.
     
  13. rob_c

    rob_c
    Active Member

    Joined:
    Jul 30, 2008
    Messages:
    126
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    18
    Location:
    sheffield
    Ratings:
    +8
    ok thanks. I ve been reading of people reporting in DSM 4.1 that the hard drives never spin down, so the HDD hibernation feature doesn't work. Have you found this to be true in 4.2 as well?
     
    Last edited: Jun 26, 2013
  14. whitestar96

    whitestar96
    Active Member

    Joined:
    Dec 5, 2006
    Messages:
    582
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    28
    Ratings:
    +63
    Don't know, I'll have a look, I've just setup WOL too so will report back on that later.
     
  15. springtide

    springtide
    Well-known Member

    Joined:
    Oct 7, 2005
    Messages:
    6,800
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    133
    Ratings:
    +1,963
    Thanks. I have now upgraded to 4.2-3202, and still have my data and apps!

    Edit...

    I noticed that the nfsd.ko module wasn't being loaded - hence NFS wasn't functional. A bit of googling took me to:
    http://xpenology.com/forum/viewtopic.php?f=2&t=558&p=2600&hilit=nfs#p2600

    It seems that the module "auth_rpcgss.ko" is required by nfsd.ko and needs to be loaded if NFS is enabled... so you just need to add the following towards the end of the /etc/rc file

    File: /etc/rc
    ------------------------------------------------------------

    ..
    ..##### Start Load module for NFS #####

    Support=`/bin/get_key_value /etc.defaults/synoinfo.conf supportNFS`

    if [ "$Support" = "yes" ]; then
    insmod /lib/modules/auth_rpcgss.ko
    fi

    ##### END Load module for NFS #####



    SYNOTunnel

    exit 0

    ------------------------------------------------------------
     
    Last edited: Jun 27, 2013
  16. mike_6480

    mike_6480
    Well-known Member

    Joined:
    Oct 10, 2005
    Messages:
    3,406
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    83
    Location:
    Chester, Cheshire
    Ratings:
    +237
    I have installed I have installed sinology DSM 4.2-3202 installed on my HP Microserver 54L.

    Everything seems to work fine, except I can't get an external USB hard drive to work - I want to use this to back up my data from my microserver to it

    The microserver recognises the usb hard drive under storage manager > HDD management but the status is "not initialized".

    If I go to backup and restore, the external USB drive is not recognised. It is also not recognised under control panel > devices and printers > external devices.

    The drive my original formatted as NTFS, and I've now tried ext3 - neither seem to work (I've mounted and formatted using the guide on Linux Hard Disk Format Command)


    Can anyone help?
     
  17. whitestar96

    whitestar96
    Active Member

    Joined:
    Dec 5, 2006
    Messages:
    582
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    28
    Ratings:
    +63
  18. mike_6480

    mike_6480
    Well-known Member

    Joined:
    Oct 10, 2005
    Messages:
    3,406
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    83
    Location:
    Chester, Cheshire
    Ratings:
    +237
    Thanks - I've already seen that thread and posted a question whether this will help with connecting to an external USB drive but so far no one has answered
     
  19. whitestar96

    whitestar96
    Active Member

    Joined:
    Dec 5, 2006
    Messages:
    582
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    28
    Ratings:
    +63
    Configured my N40L running DSM 4.2-3202 for WOL & HDD hibernate but haven't been able to get WOL to work even though everything looks to be configured correctly with the "real" MAC address etc. As for HDD hibernate, again it's enabled but I can't see any way of verifying if it's working or not.

    Has anyone else got WOL or HDD hibernation working or have any suggestions ?
     
  20. drummerjohn

    drummerjohn
    Well-known Member

    Joined:
    Sep 2, 2001
    Messages:
    2,500
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    86
    Location:
    South Derbyshire
    Ratings:
    +208
    HDD hibernation works on my N54L using the modded BIOS.

    I can't get Wake After Power Loss to work - says I don't have the rights as an admin ><
     
  21. whitestar96

    whitestar96
    Active Member

    Joined:
    Dec 5, 2006
    Messages:
    582
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    28
    Ratings:
    +63
    What version of DSM are you running?
     
  22. drummerjohn

    drummerjohn
    Well-known Member

    Joined:
    Sep 2, 2001
    Messages:
    2,500
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    86
    Location:
    South Derbyshire
    Ratings:
    +208
    4.2.3211
     
  23. jcb208

    jcb208
    Standard Member

    Joined:
    Dec 16, 2002
    Messages:
    69
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Installed version 4.2 and got it running but a lot to learn .I have a drive installed on the 2nd sata port but this is not showing on the disk station only the 2 drives installed in the bays show up. Any ideas why please
     
  24. whitestar96

    whitestar96
    Active Member

    Joined:
    Dec 5, 2006
    Messages:
    582
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    28
    Ratings:
    +63
    Have you flashed the bios? DSM won't recognise them otherwise. The other thing to check, is the drive unformatted, if not put it into a PC & delete any partitions then try again.
     
  25. jcb208

    jcb208
    Standard Member

    Joined:
    Dec 16, 2002
    Messages:
    69
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Bios is flashed I had windows server 2011 installed on it and that worked,will delete the partitions and try again thanks
     
  26. unmesh

    unmesh
    Standard Member

    Joined:
    Jul 8, 2013
    Messages:
    17
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    3
    Ratings:
    +5
    With guidance from the Kernel Hijack link posted above, I am able to get USB drives to be recognized, even if they are NTFS formatted. Also, I can enable UPS operation with my APC ES500 UPS. I should add that I have a modded BIOS.

    I have not tried WOL since I wasn't sure what the microserver would be waking from, given that it does not support S3 sleep.

    The only way I have been able to get hard drive hibernation to work is by pulling out the boot USB drive. I have not found a way to confirm hibernation through the console, only by touching the drive to see that it is not vibrating.

    drummerjohn, can you confirm that you can get hibernation to work without having to remove the boot USB drive?

    Thanks.
     
  27. drummerjohn

    drummerjohn
    Well-known Member

    Joined:
    Sep 2, 2001
    Messages:
    2,500
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    86
    Location:
    South Derbyshire
    Ratings:
    +208
    I have one Hard Drive with the DSM installed onto this. The drive span down after 10 minutes of inactivity and span back up again when I tried to access it. Never needed to remove the USB stick.
     
  28. mike_6480

    mike_6480
    Well-known Member

    Joined:
    Oct 10, 2005
    Messages:
    3,406
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    83
    Location:
    Chester, Cheshire
    Ratings:
    +237
    Are you able to post a step by step guide for getting USB to work? I've seen the other post but not sure exactly what I need to do.

    Thanks
    Mike
     
  29. unmesh

    unmesh
    Standard Member

    Joined:
    Jul 8, 2013
    Messages:
    17
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    3
    Ratings:
    +5
    You need to copy all the .ko files in the zipped folder in the link on the Xpenology website to /lib/modules on your Xpenology box. Then copy the separately downloaded ohci-hcd.ko and usbcore.ko files to /lib/modules. Reboot the box and USB devices should be recognized.

    I did the copying from a Windows PC to a network share that I had configured on the Xpenology box, then did a telnet to the box as root and copied the files from the shared folder to /lib/modules. There are likely other ways involving ftp and so on.

    P.S.: There is a much easier method for Windows users. Download and unzip WinSCP. Double-click on winscp.exe, choose SCP as the protocol and enter the IP address of your Xpenology box. Login as root with your admin password.

    You will see two panes in the window, the left one for your local machine and the right one for the NAS. Navigate to the folder(s) with the .ko files in the left one and to /lib/modules on the right and transfer the files. Then reboot the NAS.

    Hope this helps.
     
    Last edited: Jul 9, 2013
  30. unmesh

    unmesh
    Standard Member

    Joined:
    Jul 8, 2013
    Messages:
    17
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    3
    Ratings:
    +5
    I will try waiting longer than the default 20 minutes to see if that works for me, otherwise something else is the problem.

    Also, are you using a write-protected USB stick to boot from? If not, are its contents "damaged" if you try to restart from the web console so that it no longer boots? That is what happens to mine so I have to use a SDHC adapter with a write-protect switch.
     

Share This Page

Loading...