dd command

So how do you find out how fast is your hard disk under Linux? Is it running at SATA I (150 MB/s) or SATA II (300 MB/s) speed without opening computer case or chassis?

{ 28 comments }

Using UNIX pipe concept one can dump database to another server securely using ssh protocol. All you need remote execution rights for the ‘dd’ command, over SSH. This allows you to run database dumps across an encrypted channel. Dump Postgres Database using ssh Use pg_dump command command: pg_dump -U USERNAME YOUR-DATABASE-NAME | ssh user@remote.server.com “dd […]

{ 5 comments }

If your server crashes regularly it could be a buggy kernel, a driver, power supply or any other hardware part. Memory (RAM) is one of the critical server parts. Bad memory can cause various problems such as random Linux server restart or program segfaults. Generally, I recommend using memtester command. It is an effective userspace […]

{ 6 comments }

Recently updated/posted Linux and UNIX FAQ: => Boot Ubuntu Linux into Rescue mode to fix system – How do I boot my Ubuntu Linux server into Rescue mode to fix system? => Unable to create installation source – Add directories into YaST as an installation source – I have created my own patch files on […]

{ 0 comments }

The idea and commands in this article submitted by Jacques Wagener via email. In his own words, “After nuking my partition by accident (and through my stupidity) I was really disappointed in myself, especially in losing my bookmarks and rss-feeds”. The following article is based upon our email communication. I am just putting them as […]

{ 13 comments }

If you don’t want to take any chances with your data, it is recommended that you backup hard disk partition table. Last Friday I was discussing some issues with one of our customer and he pointed out me dd command. Backup MBR with dd command dd the old good command which now backup partition tables […]

{ 12 comments }

GNU ddrescue is a program that copies data from one file or block device (hard disk, cd/dvd-rom, etc) to another, it is a tool to help you to save data from crashed partition i.e. it is a data recovery tool. It tries to read and if it fails it will go on with the next sectors, where tools like dd will fail. If the copying process is interrupted by the user it is possible to continue at any position later. It can copy backwards.

{ 26 comments }