DD command input/output error
I have a one instance(ubuntu 12.10) and volume in amazon account. I have attached volume with same instance using ec2-attach-volume command using /dev/sdp as a device name. After attaching in amazon ubuntu instance one more xvdp file is created in /proc/partitions file.
After i have executed follwoing command.
mkfs -t ext4 /dev/xvdp
mkdir /mnt/xvdp (Its a simple directory in /mnt/ directory)
mount /dev/xvdp /mnt/xvdp (mounted xvdp file system on mounted directory)
chmod 777 /mnt/xvdp
I have uploaded one ubuntu 11.10 image in /mnt/xvdp location using rsync command.
now i have image.raw file in the /mnt/xvdp location. now i want transfer the .raw file into /dev/xvdp through follwoing command.
dd if=/mnt/xvdp of=/dev/xvdp bs=10M
This is throwing input/output error.
The big problem is files which is there in /mnt/xvdp location is completely disappeared. Again i have to upload and doing the procedure.
Please help me out.
Thanks in advance.
Last edited by leader1201; 03-11-2013 at 05:04 AM.