Sunday…all sorted!
Dec 2nd 2007PeterGetting My Life Back! & Tech stuff
And finally everything is back as it should be! Full raid, disk layout fine, all burning and turning!
I was talking to fellow blog master Mark about it, and he commented that this episode was hardly a good advert for Linux, which rather got me thinking about the last couple of weeks.
The initial failure was a hardware fault in the memory which manifested itself as disk corruption. However Linux uses a journaling file system logs disk transactions before they happen (large disk transactions are processor intensive, so most modern OSs delay disk writes until the processor isn’t doing other things – but a system crash can mean lost data that hasn’t been written to disk – which is why a computer should always be shut down properly, never just switched off)) Linux uses a journaling file system which logs potential disk transactions so if the system does crash, the journal can recover the expected transactions and make repairs. (Windows NTFS also uses a less robust form of journaling).
However in this case the potential corruption was so bad that Linux deactivated the disk so that no other damage could occur – a fact that I didn’t immediately recognise. If I had, I could probably have had the system up and running again within a day or so. As it was, I took the safe course and reloaded everything onto a new disk, got it all up, and then transferred it back to an array. What would have happened had I been using Windows? I’m not sure, but I doubt it would have been any easier. However, as Mark pointed out, having up-to-date backups would have helped!! (That is now in hand) Mark – enjoy your Apple Mac when it arrives – and remember that the underlying operating system is Linux based!
I said I would post some more photos of Olivia at a birthday party when I received them. I have and they are in the November Album in the Gallery (under Olivia).
I am off on another module of the computer course I started a month ago – this one is about networks, so I may not write for a few days – but keep watching this space!
O&U
Apologies for the absence of the blog for the last couple of evenings – this has been while I restore the computer back to its normal configuration. Last night was spent installing the two discs for the RAID 1 array, and tonight was spent migrating the data off the single hard drive (shown resting on the top of the chassis) to the RAID array (one disk can just be seen at the top of the case) This didn’t go quite as smoothly as I expected – partly my fault – I carelessly deleted a logical volume, but because the changes aren’t recognised by the kernel until a reboot, the data was still accessible – until the computer was turned off, so I could copy it all to the array. The computer underneath will be the backup server.
The highlight of Saturday was a visit by an old University friend, Tom. Tom was a dental student at Leeds, when I was doing my engineering degree, and we shared a house with two medical students (Jon and Martin) for 3 years. The passage of time and geographical separation means that we don’t see each other very often, but we still keep in contact – I see Tom more than the others as he visits this area from time to time – we keep talking about a get together – we must do it!
The lung function test showed a slight improvement over the last one six weeks ago, but still a bit down from last year – the next one is in two months to coincide with the check up.
The work in getting the computer back as I want it is progressing. The problem with reloading an operating system is not the reloading, it is re-creating the configuration! Fortunately I can get most of the configuration files off the old disk – it just takes time!