Improve Synology DS409slim shell using ipkg

I own a Synology DS409slim on which I have enabled SSH. The primary idea was just to have a look behind the hoods. This is quite simple: browse to the configuration panel, select the terminal services section and active the SSH daemon.

But once there, you’re stuck with a basic shell and a few commands. No `less`, no `grep`, no `bzip2`, no `perl`… Synology provides an official packages repository that provides a few extra features ; like VPN, LDAP and such ; but not so much to get a “complete” UNIX environment. The savior here is called “ipkg”. Quoting Wikipedia: “(…) the Itsy Package Management System (ipkg), is a lightweight package management system designed for embedded devices that resembled Debian’s dpkg. (…)”. It provides a bunch a GNU-like tools and it runs on the Synology!

Continue reading…

Manage MySQL on a Synology DS409slim

Here’s the way to install, run and manage MySQL on a Synology DS409slim.
My DiskStation runs DSM 3.1-1748.

First of all, activate the MySQL dæmon:

  • From the Control Panel, choose the Web Services ;
  • Enable Web Station and Enable MySQL ;

Continue reading…

Expand a Synology Hybrid RAID volume

I own a Synology DS409slim with two 1TB Toshiba and two 500GB Western Digital disks. Configured using SHR (Synology Hybrid RAID), it allows one volume split on those four disks. I bought this NAS because it uses 2.5″ disks and because of the SHR feature.

I had one 1TB Toshiba in my MacBook but I took it off and planned on putting it in the NAS, replacing one of the 500GB disk. Here’s what happened.
Continue reading…

What to use deduplication for?

I recently discover a storage feature named “Data deduplication” also called “Deduplication”.

Quoting Wikipedia:

In computing, data deduplication is a specialized data compression technique for eliminating coarse-grained redundant data, typically to improve storage utilization. In the deduplication process, duplicate data is deleted, leaving only one copy of the data to be stored, along with references to the unique copy of data. Deduplication is able to reduce the required storage capacity since only the unique data is stored.

I was first thinking “well, a video/document/… is a file ; and a file is a sets of 0 and/or 1. Like a ZIP archive doesn’t care if it stores pictures or text files, I may be able to use deduplication to store my 32GB of personnal pictures into a smaller storage size… sounds great!”. That’s what I want to figure out.
Continue reading…

No SmartWare thanks !

I just got a WD My Book Essential 2TB to use as a Time Machine disk.
So far, it looks good and sounds… actually, it doesn’t sound at all :p
Continue reading…