Archive

Archive for the ‘personal’ Category

How I met my first NAS – Qnap or Synology

March 11th, 2010 Arun Manivannan No comments

I have a bad habit.  I buy impulsively.  But the good part about it is that when the pressure to buy becomes overwhelming, I wait.  I go back home and read every single word on the planet about what I wanted to buy in the first place.  Eventually, I end up buying something else.

A couple of weeks back, I read a blog about Thecus NAS drives and immediately wanted to buy one.  I wanted to own it on that very day.  Then the pressure built so much that I had to sit and let it mellow.  I googled.

The noise level of most Thecus drives was a huge turn off considering the high probability of getting murdered by my wife (I fondly remember the days when my desktop was louder than an average car on the road).  Netgear NVX and NV+ series were good but they are a bit pricey for the features they offer.

Forgot to mention that my drives will be primarily used for storage and as a torrent slave.  I will also be running a few services like Photo manager, Tomcat, iTunes (more services depends on the success in setting up DDNS) .  If it helps, I dont use windows at home (mac and linux) and I am planning for a RAID 5 setup.

So, I decided to get either the Synology of the Qnap drives.  Synology 1010 and Qnap 459 were my choices after long hours of search. These were the points that I considered.

1)   Buy an Intel Atom based drive because of the support for a variety of software packages.

2) 

QNAP models TS-459, 659, 859

+ high overall performance
+ supports scheduled power on and off
- no RAID 10 support
- no hybrid RAID functionality
- storage cannot be expanded with a companion unit (# drivebays is max, you could buy a 2nd unit of course or use one of the many ports) – No biggie (I backup using my USB drives)
+ has 5 USB 2.0 ports
+ has 2 eSATA ports
+ volume based encryption
+ built-in DHCP server
+ handy LCD display
+ USB Copy function on the frontpanel
+ supports the EXT4 filesystem (> 16 TB volumes)
+ supports WebDAV
+ advanced iSCSI support
+ all the drives are lockable with a key
+ in general, no problem with downgrading of firmware
- one year guarantee
+ great build quality
+ already much experience, add-on software and models available on x86 platform

Synology DS 1010+

- only supports scheduled power off
+ RAID 10 support
+ hybrid RAID functionality (SHR)
+ storage can be expanded (with the extra 5 drivebays case, however will eSATA connection become bottleneck?)
- has 4 USB 2.0 ports
- has 1 eSATA port
+ folder based encryption
- no built-in DHCP server
- no LCD display
- no USB Copy function on the front
- no EXT4 filesystem support (volumes > 16 TB volume will not be possible)
- no WebDAV support
- less advanced iSCSI support
- the drives are not lockable with a key
- in general, very problematic to downgrade firmware
- less models, less choice
+ three years guarantee
- build quality is not as good as QNAP
- first model based on x86 platform

Source : http://forums.smallnetbuilder.com/showthread.php?t=2855

3)  At the end of the read, I wanted to go for one of those Qnap drives - 459, 509 or 659. 659 was way above my budget but I wanted to keep it in the background because it had support for 6 drives and I can always buy 4 drives in the beginning and fill up the other drives on need basis.

Later, I read that RAID is not a backup (did i say that I am totally new to RAID and the whole world of NAS drives) and does not guarantee dataloss and that I will need to have another plan for backup. I then decided to use my USB drives for the important backups (mostly my son’s photos and videos).  So, it doesnt make any sense to buy a 659 for an extra 600 SGD. May be later, I can always go for another NAS for an extra 200 SGD and have it as a backup.

So, 509 and 459. 459 had an Atom Dual core processor and 509 had a Celeron processor. The best part about 509, though, is that you can upgrade the processor to something big (say, Core2Duo) but I always have the fear to open up my system after i burnt a couple of RAMs on my first desktop (a 16 MB was a 100 USD then. that burnt a lot of my fingers) and I found very few people upgrading their processor on a 509.  So, 459 it is.

Hard drives :

Then comes the problem about hard-drives. I wanted to buy the Seagate 1.5 TB 7200.11 or any other 2 TB drives so that i can make a good 6 TB out of my 4 slot 459 (2 TB gone for parity).  Later, I found that the 1.5 TBs are notoriously fault prone. The WD Caviar Greens play horribly with Qnaps (Google “site:forum.qnap.com Caviar Green”) and so are most of the other WD drives. The Caviar blacks 1 TB are excellent drives despite their noise level but some say that the noise and the clicks are that not that troublesome. schumaku from the forum is known for his expertise in harddrives. He was suggesting not to buy the highest capacity of any drive – they are known to create the highest number of problems. 

Most were complaining that Seagates gave a lot of problem and they had various problems with different drives and that they were unlucky.  (my luck factor is near to zero). I never wanted to take any risk.

The Hitachi Ultrastar A7K2000 is the best for Qnap drives. Everybody agrees to it but at 513 SGD for a 2 TB, I’ll give it a pass. Finally, I decided to go for Samsung drives F1 or F3.  They say that F3s should work very well but I dont see them on the Qnap compatibility list (http://www.qnap.com/pro_compatibility.asp).  So, here is my final configuration.

NAS :

Qnap 459 Pro (Intel Atom D510 1.66 GHz (Dual-Core) – RAM – 1GB DDRII (I might end up upgrading the RAM alone))

HDD:

4 * 1 TB (RAID 5) - Samsung Spinpoint F1 HE103UJ (buying RAID Class depends on availability)

Lunarcodes – Coding when the moon goes up

December 9th, 2009 Arun Manivannan No comments
After a lot of thought over the weekend, I decided to rewrite Fetch2Me in Java. Not that Python is bad. Python is brilliant. However, i felt that my code quality in Java (from where i come) is not yet production standard. Over the past year, i had the opportunity to open up a lot of open source projects and realised that my code quality is horrible. HORRIBLE !!!
So, this is the plan i came up with.  Bring together our old NIIT gang and –

1)    Rewrite Fetch2Me in Java using HttpUnit and Java Mail API
2)    Expose the core functionality of Fetch2Me as a REST service
3)    Write a front end for web access to the REST service. Typically we should be writing a Inbox like web page for checking gmail (or any mail for that case), sending mails (with and without attachments). This front end will be written using GWT and Guice.
4)    Write a Firefox plugin similar to the requirement in (3)
5)    SMS service should also be exposed as REST service.

Use Maven for build purposes and Git for source control.  Optionally use Hudson for continuous integration and come up with an Eclipse plugin. Write lots and lots of of JUnit test cases.  My gut feeling is that this should take at least a few months development time.
I am sure there are a million products out there which does the same thing but there are two important highlights in this effort.
1)  We get to learn a lot of new things, open up the source code of lot of other open source projects, started reading PHP, ASP.net, C#, Ruby, Python (and convert them to Java) — all those which we wouldnt have done in our day job. I thought we could learn by mistakes – both development and design, we could refactor the code as much as we want at any point of time in the project (we understand that optimizing early is a crime).
and
2)  Soon after we are done with increments in the project, we’ll open source it. People can just pick our code and host it in their domain and call it a day. I am sure many will find interest in our work and hopefully start using it.

The Yin and Yang

July 3rd, 2009 Arun Manivannan 2 comments

Last night, I was watching the movie “Street Fighter – The Legend of Chun Li”. Though the storyline is about a girl who takes revenge for the abduction and murder of her father, there was subtle yet strong message in the movie. Master Gen, who trains Chun Li in Wushu, was actually a former accomplice of the villain. He mends his ways and tries to make good of his former evil actions. At one point in the movie during the training, he drew the “Yin and Yang” with his legs on sand. How meaningful and thoughful.

I slept over with this thought. After reading the rest of this text, I am sure many would say to themselves “Hey, I’ve been through this” or “I have done this” or even “I was this”. Over a period of time we have all seen the good and the bad side of life and people. Our fight has always been more to prove that other people were wrong than to satisfy our measly ego. In simple words, we are fighting for those people who show their summer side after proving them wrong.

Toggling between the mean Booking supervisor in one station and sweetest and caring Booking Supervisor in another station in Railways, between the exploiting Senior booking clerk who forced me to work his shifts and another Senior Clerk who helped me buy the first branded shirt for my first birthday alone and between the supervisor who made me have lunch everyday at 4 and the supervisor who bothered to bring me lunch everytime he returned from his home in Trichy, between the molesting whores and Khalasis when I slept on the platform and seniors who offered to share their homes for me to stay, between the Police Senior Reporter who bailed me out of the greatest personal problem in my life and the chief reporter who purposefully prevented me from attending classes at 7 in business school saying “I wouldn’t allow you to use this office as your launchpad”, between the Inspector who treated me like $hit just because I was 20 and the DSP who treated me like his son bringing me tea on late nights, between the considerate SP who cared to ask why I refused to take a work and a chief reporter who got me transferred to Sivagangai for the same reason, between the girlfriend who ditched me for my own friend and the girl who attempted suicide for me (I am lucky to have married her) … the list goes on an on… and things arent any better today.

Yesterday, I saw an Indian who shivered and offered his seat for a man who carried a “few days old” infant. The man was standing with the kid for at least 10 seconds in the middle of the train and nobody else bothered. Previously, I used to have the general thought that everybody gets when they travel across seas.. “why am I not good looking?” or “why don’t I belong to that race?”. Those thoughts were long gone and yesterday I felt really proud that I am an Indian. If it were India, the same scene would have been funny. The whole train/bus would have stood. Of course, I don’t deny the existence of those “confused Desis”.

The downside of the past and the way “Yin and Yang” is balanced is painful but I have something to carry for the rest of my life. Somebody quoted, “If a book is able to give you one single point to ponder, then it has served its purpose”. Taking the nature of my job into consideration, I am done reading more than half of the book and have a lot of things to think over. A month ago, I was reading the book “The Last Lecture” by Randy Pausch, a Professor from Carnegie Mellon, diagnosed as having terminal Pancreatic cancer, having three children – two of them infants. He wrote some valuable notes for his children. The read was emotional. The downside is that he was dying and is trying hard to instill memories of him on his children. The upside – he knows when he is going to die.

Categories: personal Tags:

Save the Internet !!!

June 8th, 2008 Arun Manivannan No comments

I know I am late to blog about this. But its never too late to do this.

Save the Internet. Save the future.

Categories: internet, personal Tags: ,

Alone as an Island

June 1st, 2008 Arun Manivannan No comments

No Black smoke from the vehicles, trees everywhere, expensive house rents, photocopied places — those were first differences I noticed between Chennai and Singapore. And of course, traffic looks like it should be very boring for drivers out here as against the free rollercoaster ride you get everytime you get into the Chennai city with your bike. Its been two weeks since I left my Chennai – the noisy city and my peaceful family.

Though not the first time out of my home or the country, this is the first time I feel homesick for so long. This is the first place to where i come alone to make new friends. But it is long since i stopped to believe in coincidences. Whatever happens, it happens for good.

So, I am waiting for things to come by, “with a confused heap of impressions, like a bewildered child watching a conjurers show”.

Categories: personal Tags: