A disk recently died on my software raid array, and replacing the disk was a simple procedure. You will get some notification via your systems email regarding that a disk has failed. Usually you can periodically check the mdstat file and see if any disks have failed. You can check the mdstat file below.
The output should be similar to below.
You can see from up above that one of the disks has died. Going by the sequence of disks in the /proc/mdstat file. I can make out that /dev/sdg1 has failed ( I have gone a bit ahead on the sequence). I now need to remove /dev/sdg1 from the array. You do not need to stop the array to remove the disk. The command below to remove the disk is
Unless you have hot swappable disks, you need to shut down the system to swap the old disk out and replace it with a new disk. Once the system is rebooted. You can type the command to add the new disk the existing array.
This will take some while for the disk to resync with the existing array. To monitor the progress of the array, you just type in the following command.
You can ctrl-c to get out of this anytime. It wil update every ten seconds.
I have had for a while a Fujitsu P1620 small form factor convertable. I have had for a while Windows Seven working upon the machine, but with only two gigabytes of ram, performance was limited at best. I have decided to install ubuntu 11.04, 64 bit desktop, and remove the gnome desktop for the xfce desktop. The other issue is the very slow 4200rpm 100gb hard disk. The installation was about sixty minutes to install. Half of the installation was downloading packages from the ubuntu repository. I used a external usb dvd rom drive to install ubuntu 11.04, 64 bit desktop. I will further along the way try to document the configuration of software and hardware as in the touchscreen which seems a tricky issue.
Again back on my quest to build new nas unit. I popped throu my regular computer store. After choosing the cheapest bang for buck motherboard, that could take my dual core cpu. I upgraded to 16gb of DDR 1333 ram, for this reason to run many virtual machines on virtualbox. To get over the four usb disk limit, I am looking for pci express four port sata cards. I expect to shop them off ebay due to the cost. Onboard video, no pci express video card needed for the server. I think this is a good choice till I upgrade to a i based cpu, and motherboard comes along.
Its time again to upgrade my home made nas running ubuntu server. Current machine is a core duo running five 500gb seagate hard disks. One of my pet peeves of the current nas server is when I disk dies I need to shutdown the disk, pull the case apart, take out the disk then assemble the unit back to operating normality. I have decided with the new server that the disks shall be hot swappable. In order for this to be achieved in need to have a computer case where all the disks can be accessed from the front of the computer. Hence where the thermaltake v6 comes into play. I have been shopping around for some cases and found the prices too rediculous to do anything about this. It was not today when I turned up to my regular computer store that the sales person told me they had the thermaltake cases without power supplies for $79. I thought this was a bargain, due to most cases come with a 420 watt power supply that you automatically replace anyway. With the main piece of gear found, to make the new nas a reality, I now seek a new motherboard, with as many onboard sata ports, and hot swappable bays. The thermaltake v6 specs can be seen here.