Questions tagged [dd]

This command is used to do low level copying of data.

Convert and copy a file, write disk headers, boot records, create a boot floppy. dd can make an exact clone of an (unmounted) disk, this will include all blank space so the output destination must be at least as large as the input.

For more info refer to the manpage.

202 questions
-1
votes
2 answers

HHD cloning with dd on running server

Is it possible to clone HDD with dd command on linux while server is up and running. Server running, Apache, MySql, NGINX. I ask this coz won't have downtime.
-1
votes
1 answer

Fixing partition table after writing 0s to beginning

I have a sw raid10 setup like: /dev/sdX > partition /dev/sdX1 > raid md0 > lvm > fs. I'm an idiot, and wrote 4gb of 0s to /dev/md0 with dd dd if=/dev/zero of=/dev/md0 bs=4k count=1000000 conv=fdatasync Anything I can do to recover data? I tried…
-1
votes
1 answer

Cloning my hard drive as a backup

At the moment, I have an Ubuntu 11.04 installation on a single 500GB hard drive in my laptop. The hard drive is partitioned into four parts: 500MB for the boot information, 2GB for the swap partition, 195GB for the home folder and the remainder of…
Matthew G
  • 101
  • 1
-1
votes
1 answer

How does this benchmark calculation work?

I am testing disk I/O performance on a server of mine, which will eventually run Postgresql. I am following this web site to perform my benchmarks. The benchmark consists of running dd and reading/writing N blocks the size of 8k (which is the size…
-1
votes
1 answer

dd the entire SD card to one partition on HDD

This particular question is related to Raspberry Pi, but in fact, this is a general question. So, I have an SD card with RPI system running on it consisting of two partitions: Disk /dev/mmcblk0: 59.5 GiB, 63864569856 bytes, 124735488 sectors Units:…
ihorc
  • 43
  • 5
-2
votes
1 answer

Using DD to produce an Image results in empty image

I am trying to take an image of my Android phone. Specifically I have tried to image the system and boot partitions. The imaging process appears to work correctly when using dd. However, when I attempt to mount the image in a loopback device the…
-2
votes
3 answers

Using dd for backup with a single disk

I have a RHEL5 Amazon cloud instance that I need to image to another instance in order to setup a test environment for some upcoming patching I'm doing. The server to be imaged is a production server. The server has a single disk (xvda1, and yes the…
Speeddymon
  • 191
  • 1
  • 10
1 2 3
13
14