26 Dec

Buffalo Linkstation: Add NFS function (support NFS v3)

So I just noticed that the previous method only support NFS v2. ESXi require NFS v3 at minimum. So here’s the guide for NFS v3 on Buffalo Linkstation.

Step 1:
Gain SSH and optware (check my previous post)

Step 2:
Check for unfs package

#ipkg update
#ipkg list | grep unfs
unfs3 - 0.9.22-1 - Version 3 NFS server (not recommended, use nfs-utils instead)

Step 3:

Install unfs
#ipkg install unfs3
#ipkg install portmap (optional)

Step 4:
Configure

#nano /opt/etc/exports
/mnt/array1/share (rw,no_root_squash)

(ctrl-x to quit and save)

Restart services

#/opt/etc/init.d/S55portmap restart
#/opt/etc/init.d/S56unfsd restart

You can try mount this NFS from ESXi or ubuntu server

#apt-get install rpcbind nfs-common
#mkdir -p /mnt/mynfsshare
#mount IP-of-your-NFS-Server:/mnt/array1/share /mnt/mynfsshare/
#df -kh

When configuring NFS shares to use as network sources for Kodi’s music/video libraries, use the following format: nfs://1.2.3.4/path/to/folder (where “1.2.3.4” should be replaced with the IP of your NFS server, and “/path/to/folder” should be replaced with the path to the folder you want to share; a double slash between the server and the path is wrong, you should not use nfs://1.2.3.4//path/to/folder)

Reference(s):
http://web.archive.org/web/20151207200629/http://forum.buffalo.nas-central.org/viewtopic.php?t=6531&start=15
https://serverfault.com/questions/554215/nfs-mount-with-nfs-3
https://help.ubuntu.com/community/SettingUpNFSHowTo#Installation

Incoming search terms:

  • ipkg nfs
25 Dec

Buffalo Linkstation: Add NFS function (caveat – only support NFS v2)

SMB sucks when compared to NFS. Here’s how to enable NFS in our Linkstation.

Step 1
The first step is to gain ssh root access to this Linkstation. Refer here.

Step 2
Install NFS
# ipkg update
# ipkg install nfs-server

Step 3
To configure your exports you need to edit the configuration file /opt/etc/exports. My example is this:

/mnt/array1/backups 10.0.0.10(rw,sync)
/mnt/array1/films 10.0.0.10(rw,sync)
/mnt/array1/tv 10.0.0.10(rw,sync)

or just allow the whole subnets
/mnt/array1/backups 10.0.0.0/24(rw,sync)

Once that file has been updated you’ll need to restart NFS:
# /opt/etc/init.d/S56nfsd stop
# /opt/etc/init.d/S56nfsd start

If you receive this error when restarting NFS daemon:
Cannot register service: RPC: Unable to receive; errno = Connection refused

Try checking portmapper
#rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

Easy, just restart the portmapper daemon
#/opt/etc/init.d/S55portmap stop
#/opt/etc/init.d/S55portmap start

Then repeat above step to restart NFS.

Reference(s:
https://github.com/skx/Buffalo-220-NAS
https://maazanjum.com/2014/02/17/starting-nfs-quotas-cannot-register-service-rpc-unable-to-receive-errno-connection-refused/

16 Dec

Install Xpenology (DSM 6.2.1) on ESXi 6.7 – Ready made OVA file

There are plenty of tutorial on how to install Xpenology in virtual environment. I tried few method a year ago and given up. Recently I found newer how-to and success after hitting few bumps. You can refer to this post if you want to try on your own and learn something new along the path. I have decided to improvise it and prepare a ready made OVA file, to ease you importing this VM (or just being lazy to follow the step by step guide :)).

First of all, please download the OVA files from links at the bottom. After that, unzip it and start importing the OVA from your ESXi or VMWare Workstation. This OVA file was exported from ESXi 6.7, and running DSM 6.2.1 – latest version as of this post).

Drag all the 3 files to the import window

Choose Thick for best performance (pre-allocate disk space)

Increase Disk 2 if needed

Click finish to complete import and power on the VM

Wait for 1 minute and locate yoru DSM VM. The VM will obtain ip address from DHCP (you can check from your DHCP server) or just type find.synology.com in your web browser – it will scan your network and find the DSM

When DSM is located, click Connect

Enter your DSM info here

Click “Skip this step”

Go to Storage Manager to create your first disk pool

Drag the available disk from the left to the right

Next is to create volume pool

This is optional but recommended step. Download openvm-tool and install it using Package Center. This is to enable ESXi to have visibility on this VM such as IP Address and allow you to gracefully shutdown the VM from vSphere.

VM info is displayed correctly after open-vm-tool is installed.

Download links:
https://advanxer.com/goto/ofile
https://advanxer.com/goto/ufile
https://advanxer.com/goto/wetransfer

Incoming search terms:

  • xpenology esxi 6 7
  • xpnology vmware ova
  • XPEnology ova
  • xpenology ova vmware
  • xpenology esxi
  • xpenology download ova
  • xpenology 6 2 1 passwofrd
  • xpenology on esxi
  • dsm 6 2 esxi
  • xpenology ova 6 2
  • xpenology 6 2
  • install xpenology on esxi
  • dsm 6 2 xpenology vmware
  • dsm on esxi
  • facingcml
06 Jan

(Solved) Buffalo Linkstation: Email notification using GMAIL

Email Notification

You may set up email alerts for the following occurrences:.
– HD Status Report
– Fan errors
– Disk errors
– Backup Complete

SMTP Server
Enter the IP address and port number of your SMTP mail server. If no port number is entered, the default port 25 will be used.

POP3 Server
Many types of SMTP mail servers and authentication may be used with the LinkStation. Consult your IT department or ISP for any necessary login information to use your SMTP server.

Subject
Specify a subject line for the email notifications, such as “LinkStation Status Report”.

Recipient Mail Address
Notification emails can be sent to up to 5 email addresses.

linkstationemailsetup

linkstationemailsetupC

linkstationemailsetupD

linkstationemailsetupE

Update: 12 Nov 2015
For those having failed sending test email message, please check that you’re entering the correct password. Secondly, during my investigation I found this log in the NAS:

Nov 12 22:39:49 NAS sSMTP[9663]: Unable to set portno="465"
Nov 12 22:39:49 NAS sSMTP[9663]: Unable to set AuthType="SSL"
Nov 12 22:39:49 NAS sSMTP[9663]: Creating SSL connection to host
Nov 12 22:39:49 NAS sSMTP[9663]: SSL connection using AES128-SHA
Nov 12 22:39:50 NAS sSMTP[9663]: Authorization failed (534 5.7.14 https://support.google.com/mail/answer/78754 fp2sm15179963pbb.34 - gsmtp)

Follow this link and set “Access for less secure apps” to “Turn on”

offsecure

Incoming search terms:

  • LinkStation Status Report smtp
  • buffalo linkstation email benachrichtigung
  • setup buffalo linkstation email notification
  • linkstation e-mail
  • buffalo email
  • send email from linkstation
  • terastation email notification
  • University Buffalo mail server settings
  • how to send email notifications from terastation to gmail
  • buffalo nas email notification server address
  • buffalo disk error status
  • buffalo drive email setup
  • buffalo email aol eintragen
  • what is senders address buffalo terastation
  • buffalo linkstation gmail
06 Jan

Buffalo Linkstation Hard Disk Recovery

This is not a complete step-by-step data recovery guide. Here I just listed all software needed during my successful recovery.

1. To fix GPT record, use TestDisk.
2. To read and reconstruct RAID, use UFS Explorer Professional Recovery.

Notes:
1. Linkstation filesystem is XFS
2. Linkstation not using legacy MBR, instead it’s using GPT for partition table record

Some guide:
1. http://www.ufsexplorer.com/inf_linkstation.php
2. http://www.ufsexplorer.com/inf_terastation.php

Incoming search terms:

  • buffalo linkstation hard drive read
  • buffalo optware