Posts

Showing posts with the label RAID

Add new hard drive in Debian

Its unfortunely that my disk array (RAID 5 with 4 hard drive) degraded because of a hard drive failed. For data safty issue, I have to back up all data and rebuild it again! After rebuilt, I have to re-mount it again as new hard drive into my system. Here is the procedure for notes. At first, make sure the disk is the one I want to re-mount. $ sudo fdisk -l /dev/sdc Disk /dev/sdc: 1500.0 GB, 1499999502336 bytes 64 heads, 32 sectors/track, 1430511 cylinders, total 2929686528 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000  Disk /dev/sdc doesn't contain a valid partition table Its lucky I found it! And I'll create a new partition on it. $sudo cfdisk /dev/sdc Just follow those steps below... New -> Primary -> specify size in MB Write Quit After that, I can see following message when success! Disk has been changed.  WARNING: If you have created o...

Install Grub/Lilo in /dev/i2o/hda1 failed with Debian

OS Debian GNU/Linux 5 RAID Card Adaptec ASR2100S with Raid 5 Problem Installation failed message will show while installing Grub as boot loader. Solution Do not stop your installation!! And try following steps to install boot loader during installation: Enter another console with short cut: alt + Fn Press enter to enable console > chroot /target > aptitude update packages db install grub exit aptitude > /usr/sbin/grub-install /dev/i2o/hda > update-grub > exit continue to finish others steps with "continue without boot loader" option If its failed after above steps, that might be some steps wrong while you processing it. Don't worry! You will see Grub prompt after reboot, and try following steps: grub> root (hd0,0) grub> setup (hd0) grub> kernel /vmlinuz root=/dev/i2o/hda1 ro grub> initrd /initrd.img grub> boot Then, you will boot into your system now. Caution!! It's not the end! You have to do following steps again to fix your problem...