1. MGD9000

    MGD9000 New Member

    Joined:
    Jan 12, 2018
    Messages:
    1
    Likes Received:
    0
    Just wondering if anyone is running Xpenology On ESXi 6.5 I've been running it for almost 2 years now and I absolutely love it.

    Sent from my VS501 using Tapatalk
     
    #1
  2. epicurean

    epicurean Member

    Joined:
    Sep 29, 2014
    Messages:
    475
    Likes Received:
    17
    I concur. Its pretty stable with the 1.02b loader so far
     
    #2
    MGD9000 likes this.
  3. Monoman

    Monoman Active Member

    Joined:
    Oct 16, 2013
    Messages:
    238
    Likes Received:
    62
    I use it on proxmox. Seems to do ok except for my wireless Mac clients. Their Network speed is abysmal
     
    #3
  4. nk215

    nk215 Active Member

    Joined:
    Oct 6, 2015
    Messages:
    273
    Likes Received:
    72
    I think the new loader (1.02b) + new DSM have a bug in which HDD won't go to sleep mode. That would add quite a bit to power usage to a 24/7 system.
     
    #4
  5. Rand__

    Rand__ Well-Known Member

    Joined:
    Mar 6, 2014
    Messages:
    2,293
    Likes Received:
    279
    Have used Synologoy years ago and then at some point had XPE deployed too but abandoned it.

    Just redeployed after you mentioned it;)
    I still fancy using XPE as a frontend to my Freenas backed storage box... just have not found out how to smartly do that.
    I.e. mount an existing SMB share on the SynoBox and share that out again.
    Might give mount and reshare another try - has anyone successfully done something like that?
     
    #5
  6. nk215

    nk215 Active Member

    Joined:
    Oct 6, 2015
    Messages:
    273
    Likes Received:
    72
    I pointed my Volume2 of my Xpenology DMS 5 to a NFS freeNAS share. I didn't update to the new DSM 6 yet.

    on Xpenology DSM 5 box:
    Create a volume 2, something small.

    Edit the firl /etc/rc
    search for:
    # checking and Mounting filesystem

    In there you'll a line
    /etc.defaults/rc.volume start

    right below that, put in
    /etc.defaults/rc.xpe start

    File /etc.defaults/rc.xpe should have three lines
    umount /volume2
    sleep 2
    mount -t nfs freeNAS.ip.address:/mnt/whatever_your_mount_is /volume2

    Make sure the root user on both systems have the same password
     
    #6
  7. Rand__

    Rand__ Well-Known Member

    Joined:
    Mar 6, 2014
    Messages:
    2,293
    Likes Received:
    279
    Thanks, will give that a try:)
     
    #7
  8. Rand__

    Rand__ Well-Known Member

    Joined:
    Mar 6, 2014
    Messages:
    2,293
    Likes Received:
    279
    So file to modify on DSM 6.0 is /etc/rc.subr

    And I modified /etc.defaults/rc.xpe for some error checking (interactive, not logging yet)

    Code:
    vol=/volume2
    
    #init with failed
    umount_ok=0
    
    #umount volume
    msg=$(umount $vol 2>&1)
    
    rc=$?
    rmsg=$!
    
    if [ $rc -ne 0 ]
    then
    echo $rc
        #check for "umount: /volume2: not mounted"
        if [[ $rmsg == *"${vol}: not mounted"* ]]
        then
            umount_ok=1
        else
            echo "Error unmounting volume2 ($rc, $rmsg)"
        fi
    else
        umount_ok=1
        sleep 2
    fi
        mount -t nfs 192.168.125.32:/mnt/tank/media/audio /volume2
    

    Unfortunately I can't share that mounted folder out yet due to the following error:
    upload_2018-1-21_11-48-30.png

    Will have to dig around a bit on that


    Edit: This will not happen if I create a new share but then I can't share properly. Will need more investigation


    Edit2:

    Ok found it:

    Basically I need to export one level higher, say
    /mnt/tank/media (then i have video/audio subfolders on FreeNas)

    On XPE I mount that to /volume 2 and then I create shares with the names of the to-be-shared subfolders audio and video.
    I also joined XPE to my domain and provide access to the share to the same users as the original NFS share.

    Might need to try that with smb next:)
     
    #8
    Last edited: Jan 21, 2018
  9. epicurean

    epicurean Member

    Joined:
    Sep 29, 2014
    Messages:
    475
    Likes Received:
    17
    @Rand__
    Could you explain in detail , exactly how you mount NFS share (eg Napp It ) using Xpenology as a front end?
     
    #9
  10. Rand__

    Rand__ Well-Known Member

    Joined:
    Mar 6, 2014
    Messages:
    2,293
    Likes Received:
    279
    I am not currently using it but the process that used to work was a combination of @nk215's steps and adjustment to 6.0

    on Xpenology DSM box:
    Create a volume 2, something small (will not be used).

    Edit the file /etc/rc (for DSM5) and /etc/rc.subr for DSM6

    search for:
    # checking and Mounting filesystem

    In there you'll a line
    /etc.defaults/rc.volume start

    right below that, put in
    /etc.defaults/rc.xpe start

    That file /etc.defaults/rc.xpe needs to be created (nano or vi) and o/c should be executable (chmod +x /etc.defaults/rc.xpe)

    Adjusted code of :
    Code:
    vol=/volume2
    
    #init with failed
    umount_ok=0
    
    #umount volume
    msg=$(umount $vol 2>&1)
    
    rc=$?
    rmsg=$!
    
    if [ $rc -ne 0 ]
    then
    echo $rc
        #check for "umount: $vol: not mounted"
        if [[ $rmsg == *"${vol}: not mounted"* ]]
        then
            umount_ok=1
        else
            echo "Error unmounting $vol ($rc, $rmsg)"
        fi
    else
        umount_ok=1
        sleep 2
    fi
        mount -t nfs 192.168.125.32:/mnt/tank/media/ $vol
    Replace IP with Host IP, path with nfs share and adjust volume if necessary. Rinse and repeat for multiple shares.
     
    #10
    epicurean likes this.
Similar Threads: Xpenology
Forum Title Date
NAS Systems and Networked Home and SMB Software Did DSM 6.2 update break Xpenology? Jun 23, 2018
NAS Systems and Networked Home and SMB Software Dell PERC H330 not recognized by XPenology Aug 22, 2017
NAS Systems and Networked Home and SMB Software Xpenology DSM 6.1 in KVM... Aug 10, 2017
NAS Systems and Networked Home and SMB Software Need help setting up Crashplan in Docker for Synology/Xpenology May 22, 2017
NAS Systems and Networked Home and SMB Software HP DL180G6 runs Xpenology (Synology clone) with LSI SAS! Jan 9, 2014

Share This Page