Throttle The Disk I/O Rate: Limit disk I/O For rsync Tool on Linux and Unix

Posted on in Categories , , , , , , , , last updated April 6, 2017

I run a backup script called /root/ which runs rsync command. However, rsync makes a lot of disks I/O and network I/O. I would like to reduce both disk and network I/O. My server has 10Mbps server connection with 160GB SATA hard drive. How do I reduce disk I/O so that the entire system does not die or become unresponsive?

Linux Copy One Hard Disk to Another Using dd Command

Posted on in Categories , , , , , , , , , , , , , last updated February 5, 2008

Q. How can I copy one hard disk to another using dd command?

A. dd command can copy disk in raw format. It will copy partition table and bootloader and all partitions within this disk. For example, you can copy /dev/sda to /dev/sdb (same size) using the following dd command. dd should complete with no errors, but output the number of records read and written.

Login as the root user (use sudo or su command)

WARNING! These examples may result into data loss, ensure there are good backups before doing this, as using dd wrong way can be dangerous.

Open terminal or shell prompt and type the following dd command:
# dd if=/dev/sda of=/dev/sdb

  • if=/dev/sda : Input disk (source)
  • of=/dev/sdb : Output disk (destination)

You can also copy hard disk or partition image to another system using a network and netcat (nc) command.

Linux: Find out serial / model number and vendor information for SATA and IDE hard disk

Posted on in Categories , , , , , , , , , last updated October 3, 2009

How do I find out the make, model and serial number for my SCSI or IDE hard disks under CentOS Linux server? How do I get vendor information about my disk storage w/o opening my Intel / AMD server chassis?

Linux LILO boot procedure freezes with LI characters (Lilo boot loader LI error)

Posted on in Categories , last updated July 26, 2007

Q. My Linux system says LI while booting system and then boots procedure freezes or halts. How do I solve this problem?

A. LILO is a generic boot loader for Linux. This error means few things. LI characters indicate that LILO is having problems. It cannot boot the system.

a) Goto BIOS and set LBA mode for hard disk and reinstall Linux

b) Make sure /boot partition created below the 1023rd cylinder on the hard drive, if not repartition and reinstall Linux

c) See this page for more information.