Xpenology

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

MGD9000

New Member
Jan 12, 2018
1
0
1
53
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
 

Monoman

Active Member
Oct 16, 2013
410
160
43
I use it on proxmox. Seems to do ok except for my wireless Mac clients. Their Network speed is abysmal
 

nk215

Active Member
Oct 6, 2015
412
143
43
50
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.
 

Rand__

Well-Known Member
Mar 6, 2014
6,633
1,767
113
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?
 

nk215

Active Member
Oct 6, 2015
412
143
43
50
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?
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
 

Rand__

Well-Known Member
Mar 6, 2014
6,633
1,767
113
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:)
 
Last edited:

Rand__

Well-Known Member
Mar 6, 2014
6,633
1,767
113
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.
 
  • Like
Reactions: epicurean