Assumption: /dev/sdb has problem and need to replace it with a new drive. sdb has two partitions on raid-1 namely /dev/sdb1 = /boot and /dev/sdb3 = / . 1. cat /proc/mdstat to see the raid information. 2. Use mdadm to fail the drives partition(s) and remove it from the Replacing failed raid 1 drive 30 June 2009 backup
Assumption: Assume to have only one drive with several raid one partitions. Steps: 1. Make sure to boot from some usb live OS (i.e. CentOS Live OS 5.2 under USB) 2. Use mdadm –remove to remove ALL raid one partitions (i.e., mdadm /dev/md0 –remove Uninstall software raid one for linux drive with data intact 29 June 2009 mdadm
List the partitions of a device (sda): sfdisk -l /dev/sda Test and show consistent check status on device (sda): sfdisk -V /dev/sda Two ways to create new partitions from an old device (sda): (a) Copy the entire partition table from one disk (sda) to another (sdb) sfdisk -d Manage partition tables with sfdisk 29 June 2009 Add new tag
Being an IT professional, you not only need to secure your data from those hackers, but also to have a good backup copy when it is needed. I have been using the rsync for remote backup since 1998. Here is a little bash script I used for remote backup. It Using Rsync for Remote Backup 01 February 2009 backup
ZeosLib – “aka Zeos, is a open source library that provide native access to many database systems, developed for Delphi, Kylix and Lazarus + Freepascal….” So why we need it? I think every delphi developers would agree that it is quite annoying when application deployment involved database connectivity. Using Zeos Lib for Database Connectivity 31 December 2008 BDE
We all wish you a holiday season filled with family, fun and celebration. Happy Holidays! My son Ted‘s friend Yoshi wants to say Merry X’mas. Don‘s best friend Black Yoshi says Merry X’mas as well. Merry X'mas from Gene's family 24 December 2008 Season's Greetings
Oracle Database XE – “Oracle Database 10g Express Edition (Oracle Database XE) is an entry-level, small-footprint database based on the Oracle Database 10g Release 2 code base that’s free to develop, deploy, and distribute; fast to download; and simple to administer….” CentOS – “is an Enterprise-class Linux Distribution derived Install Oracle Database XE on CentOS 5.2 23 November 2008 database
This is the part I of the Subversion series. Here are some simple steps for creating the SVN to work under CentOS 5.2: // Step 1 – Install the SVN yum install subversion // Step 2 – Create the central directory for holding all subversion repositories mkdr /workplace/svn // Step 3 Using SVN - Installation 19 November 2008 svn