It’s OK folks I’m still alive, here’s a short review of the QNAP TS212 Turbo network attached storage device.
There was an email flying around last month on what to get a friend of mine for his 30th. We decided in the end for a PS3 but his brother suggested a QNAP NAS. I’d never seen any QNAP devices but as my Apple Time Capsule was starting to delete old backups due to disk space I decided to upgrade my backup drive. I went for the TS-212 from Amazon with two 2TB drives.
As always Amazon’s delivery was very prompt and as an extra surprise the NAS had two 1TB drives included. They were 7200rpm so I was tempted to leave them in but decided to throw the 2TB drives in for extra space.
Setup was a breeze using their QFinder utility. I configured the drive with RAID 1 which meant the drives were exact mirrors of each other. All went swimmingly with Samba shares, Bit-torrent downloads and Time Machine working really well. It was running for a few days copying silly amounts of data over to it when I decided to change the IP address of the device. I did this using QFinder rather than the web interface…. The device restart and nada – none of the services restarted. I couldn’t even ssh into it. Somehow the configuration had become corrupt. I tried hardware reset which partially worked as it changed the network configuration back to DHCP so I could now find it but I still couldn’t log in.
I contact their support which who brushed me off with a very quick reply, asking me to try a reset with drives removed and then try and restore the default configuration. This didn’t work, neither did the QNap live CD. Disaster.
I knew all the data was still on the drives so I mounted the data partition of one of the drives on my old desktop using an Ubuntu live CD and was able to copy all backed up data to another drive. I then formatted the 2TB drives and started the whole NAS set up once again. All worked well and is running smoothly now. I’ve yet to restart it but I have the configuration backed up now and I won’t be using QFinder’s network configuration update utility again.
Overall it’s an awesome piece of kit and I would recommend it but I felt a bit put out with support’s brush off. I’ve lost hours trying to get it back to it’s current state.
It’s much better value than an Apple Time Capsule and has buckets more features, my favourite of which are the remote SSH login, Time Machine support and the web interface.
I set up an amazon ec2 instance this weekend and as I knew I’d bedoing it again I noted the steps performed. Hopefully they’ll be of use to someone.
Firstly you need to set up an EC2 account. I’d also recommend downloading ElasticFox(XPIinstaller) which makes it easier to manages instances, volumes andelastic IPs. Also install the EC2API command line tools so you can start and stop instances etc.
The following guide is what I did to set up an Ubuntu 9.10 instance with EBS volume attached and a basic django install running. Bear the following in mind when reading the guide:
References to 184.108.40.206 are to my elastic IP address that I set up using Elasticfox so it will be different for you.
“philroche” is the username I use so I’d hope you’d be changing that.
pk-XXXXXXXXXX.pem is the private key from the x509 certificate that was generated when creating my account
cert-XXXXXXXXXX.pem is the certificate file from the x509certificate that was generated when creating my account
i-d820f7af is the instance ID assigned to my instance – this will be different for you
ec2-79-125-24-49.eu-west-1.compute.amazonaws.com is the public DNS for the instance I created. This will also be different for you.
philrocheEC2Europe.pem is the private key for the generated key pair which was generated during account set up
The AMI I used (ami-97e4cfe3) has a user “ubuntu” already created that is used for initial login
I’m not our server admin here at Ticket-Text but the whole issue of project dependency management and deployment does interest me. As such I’ve been looking at ways to help and have compiled the following list of what I have found most useful. I admit I have not read all of these yet but Fabric and virtualenv do definitely seem to be standard now for any django project and they could save alot of work. I’ll let you know how we get on.
I use VirtualBox OSE for my virtual machines and really love it. I tried to change to the non-free VirtualBox (so I could use USB) but moving from one to the other in Ubuntu was not a simple process and eventually I rolled back (thank Christ for CloneZilla).
I’ve got a Win XP virtual machine with a 10GB hard disk which was getting full so I needed to expand it. The simplest way I found was to use the excellent CloneVDI tool. The tool runs perfectly under wine so I was able to double the size of the disk.
This did not however increase the size of the C drive in Win XP so I installed Partition Magic and resized C to take all available space. Now I’ve got a Win XP virtual machine with tons and tons of space 🙂
I’ve signed up for a masters in UCD (Advanced Software Engineering in University College Dublin) starting in December. I’m really looking forward to it and as a treat I bought a new (used) laptop that’ll be just for Uni work. It’s an IBM Thinkpad T43 (Centrino 1.7Ghz and 1GB ram with 40GB HD, Wifi, Bluetooth, PCMCIA, Expresscard and all the other usuals) I bought it on ebay (where else?) for £240 delivered. The build quality is excellent and I’m very happy with it. I’ve got Ubuntu 8.04 running on it and it’s going quite well. I’ve encountered the following problems:
I get an “not enough memory” error when I try and hibernate
Wireless seems kind of flaky especially with the upgraded NetworkManager, I can’t connect to my Dad’s network and keep getting a 169 IP address but this happens on my Vaio too so I suspect it is the Intel Wireless hardware and my Dad’s DHCP server not playing nice together.
I can’t get mobile broadband working (either using the new NetworkManager or UMTSMON)
Audio when playing video took a while to get working and had to change from Pulse to the ALSA sound architecture.
Lest not forget that there are millions of positives with Ubuntu, especially the Synaptic package manager and power management.
I’m loving Gnome and I’m trying to find a few cycles to play with MonoDevelop properly. I’ve been trying to get the localising feature in MonoDevelop working with an ASP.NET web application but no joy yet. I can get it working on a command line app though :).
Tuesday 6th (the day of my presentation) eventually rolled around. Due to a crazy machine rebuild and re-install fest, I only finished writing the presentation at 1:30pm on the day. It went really well, some very good questions at the end. As I mentioned in my previous entry – the description of the presentation was –
Firefox and the Gecko family of browsers are not simply web browsers, they can be extended to provide custom functionality, and used as platforms for building standalone applications. During the presentation I will discuss the anatomy of the Gecko engine and the Firefox browser, extensions and how to create an extension for the Firefox 2.0 browser using Aggreg8 (http://aggreg8.mozdev.org ) as an example.
As it’s new year and my motivation is at an all time low, I think a list of TODOs (or new years resultions) is needed. Some of those listed are techy and some are not but all of them are aimed at improving my life.
Finish the new design of this site – as you can see, it’s still a work in progress
Find some way of feeling healthier that I can actually stick to (Gym is a bit too much commitment)
Start to budget my outgoings properly
Stop calling my dog “the rodent”
Learn that Friday does not have to equal “getpissedday”
Stop watching soap operas – comedy series like King of Queens and Scrubs will remain on my Sky+ planner though
Contribute to an open source project
Help fellow developers more
Always keep in mind that I know only a fraction of what I think I know
Be in a good mood
Write another useful Firefox extension that uses a custom XPCOM component
Use Patterns in code more
Stop driving like an idiot just so I can get home quicker
Go to Ireland to see my friends and family more
Go to the summer house in Norway
And finally – keep this blog up to date
There’s quite a few there so I think it’s more of a two year plan. I have been working on an eight year plan with Gill too, but it’s still a bit up in the air but very exciting – as along as all goes well –
I will also (I thought of some more)
Move to IMAP instead of POP email
Learn how to use SVN properly
Go to LinuxWorld in London (as long as it’s not on Gill’s birthday like last year)
I was very interested in going to Linux World this year. There were quite a few speakers and presentations I thought would be very interesting. I had hinted to my boss that I wanted to go but as we are currently a microsoft house, it was not really going to happen.
I figured I could do the whole thing myself for under GBP200 including train and YHA accommodation. I’d researched which YHAs had availability and found the train I was going to take.
There I was, watching TV with Gill, with my iBook on my knee ready to book the train when I called the YHA just to confirm they had a single room. Suddenly, I get a swift kick to the shin, WTF. I ended the call to see Gill giving me evils (a common occurrence I’m afraid), but why this time. I hadn’t got a clue. The day I was planning to go was only her bloody birthday. Doh! Doh! Doh!. So alas there was some apologising, and some postponement of Linux World. Maybe next year.
instLux, installing linux on a machine with no cd or floppy drive
I was very bored of my toshiba libretto L5 as WinXP was getting crazy slow on it so I never bothered to use it. I wanted to put Ubuntu on it but the live cd or the install would not recognise the PCMCIA cd rom I have.
Then I found instLux which installs a mini Grub onto your windows partition which you boot into. There are 4 versions of instLux, two for Ubuntu and two for OpenSuse. Each distro has a Net install and a CD ROM install version. I tried the CD ROM version first but it couldn’t find the CD rom either.
I booted back into windows and installed the Ubuntu Net install version of instLux. At first attempt, it fried my hard disk after stalling at 6% of install. A quick Win XP reinstall, reboot and retry was successful. I now have Ubuntu 6.06 installed with a very quick gnome theme with all icons turned off. Epiphany is super quick and will be my browser of choice on this machine (I haven’t installed Galeon yet though and Dillo is just minging). I did try to upgrade to Edgy Eft but it failed and after the hassles with the upgrade on my iBook (X wouldn’t start untill I managed to install the ATI drivers again), I’m not going to try again. It’s a joy to use the machine again.
I’ve had a few freezes and hard reboots but it’s a hell of a lot faster than clunky win XP.