[CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
Dear All I needed to clone my disk to another hard drive . I did it as the following : #dd if=/dev/sdb of=/dev/sdc But after a while, the procedure ended with the writing to /dev/sdc input/output error message. Can you please let me know how can I overcome this as the fdisk now returns as #fdisk

Re: [CentOS] disk cloning ?

2013-11-11 Thread Vishesh kumar
I think below command will serve your purpose. #dd if=/dev/sdb of=/dev/sdc conv=noerror,sync Vishesh Kumar http://linuxmantra.com/ On Mon, Nov 11, 2013 at 3:14 PM, hadi motamedi motamed...@gmail.com wrote: Dear All I needed to clone my disk to another hard drive . I did it as the following

Re: [CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
On 11/11/13, Vishesh kumar linuxtovish...@gmail.com wrote: I think below command will serve your purpose. #dd if=/dev/sdb of=/dev/sdc conv=noerror,sync Vishesh Kumar http://linuxmantra.com/ On Mon, Nov 11, 2013 at 3:14 PM, hadi motamedi motamed...@gmail.com wrote: Dear All I needed to

Re: [CentOS] disk cloning ?

2013-11-11 Thread Arun Khan
On Mon, Nov 11, 2013 at 3:14 PM, hadi motamedi motamed...@gmail.com wrote: Dear All I needed to clone my disk to another hard drive . I did it as the following : #dd if=/dev/sdb of=/dev/sdc But after a while, the procedure ended with the writing to /dev/sdc input/output error message. Is

Re: [CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
On 11/11/13, Vishesh kumar linuxtovish...@gmail.com wrote: I think below command will serve your purpose. #dd if=/dev/sdb of=/dev/sdc conv=noerror,sync Vishesh Kumar http://linuxmantra.com/ On Mon, Nov 11, 2013 at 3:14 PM, hadi motamedi motamed...@gmail.com wrote: Dear All I needed to

Re: [CentOS] disk cloning ?

2013-11-11 Thread Vishesh kumar
Make spaces in your /dev/sdc device. On Mon, Nov 11, 2013 at 4:22 PM, hadi motamedi motamed...@gmail.com wrote: On 11/11/13, Vishesh kumar linuxtovish...@gmail.com wrote: I think below command will serve your purpose. #dd if=/dev/sdb of=/dev/sdc conv=noerror,sync Vishesh Kumar

Re: [CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
On 11/11/13, Arun Khan knu...@gmail.com wrote: On Mon, Nov 11, 2013 at 3:14 PM, hadi motamedi motamed...@gmail.com wrote: Dear All I needed to clone my disk to another hard drive . I did it as the following : #dd if=/dev/sdb of=/dev/sdc But after a while, the procedure ended with the

Re: [CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
On 11/11/13, Vishesh kumar linuxtovish...@gmail.com wrote: Make spaces in your /dev/sdc device. On Mon, Nov 11, 2013 at 4:22 PM, hadi motamedi motamed...@gmail.com wrote: On 11/11/13, Vishesh kumar linuxtovish...@gmail.com wrote: I think below command will serve your purpose. #dd

Re: [CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
On 11/11/13, Reindl Harald h.rei...@thelounge.net wrote: Am 11.11.2013 11:52, schrieb hadi motamedi: On 11/11/13, Vishesh kumar linuxtovish...@gmail.com wrote: I think below command will serve your purpose. #dd if=/dev/sdb of=/dev/sdc conv=noerror,sync Sorry. It quit with the following

Re: [CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
ok . I will obey the rule. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
Excuse me, You mean I need to buy a larger disk ? Please comment. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
the response below was pretty clear __ buy a bigger target drive? Thank you for your help. So I will try to buy a larger target drive. ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
i pretty clear explained you to shrink the last partition and after that you can safely ignore the typical difference of physical disks Sorry . You mean using resize2fs for this purpose ? What is the most safe procedure that can be done on the source hard disk without losing any data ?

Re: [CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
gparted and if it is the system-partition a Live-CD with gparted Excuse me, the source hard disk is a second hard disk connected to usb drive . The actual scenario is the main hard disk is my centos machine and the second source hard disk connected to usb port and the target is the third hard

Re: [CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
what do you think would this gain? Excuse me, I thought to format it to have a fresh dish to try with. Can you please let me know how to format it at this situation? ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] disk cloning ?

2013-11-11 Thread hadi motamedi
the problem you have to solve is that the last partition on the source ends a few MB before the maximum size and after that it does not matter if the targt drive is a little smaller than the source Thank you very much for your help. So my case is SOLVED . Thank you again for your kind assistance

Re: [CentOS] disk cloning ?

2013-11-11 Thread Michael Schumacher
Sorry. It quit with the following error : no space left on device What can I do next? http://linuxmantra.com Sorry. How to make spaces ? I am sure this is some kind of ELIZA clone... best regards --- Michael ___ CentOS mailing list

Re: [CentOS] disk cloning ?

2013-11-11 Thread Arun Khan
On Mon, Nov 11, 2013 at 4:29 PM, hadi motamedi motamed...@gmail.com wrote: Please find below : #parted -list disk /dev/hda 21.5GB sector : 512B/512B partition : msdos disk : /dev/sdb 40GB sector : 512B/512B partition : msdos error: unable to open /dev/md0 unrecognized disk label. The

Re: [CentOS] disk cloning ?

2013-11-11 Thread John R. Dennison
On Mon, Nov 11, 2013 at 02:15:55PM +0100, Michael Schumacher wrote: I am sure this is some kind of ELIZA clone... I was thinking Doctor Sbaitso, actually. John -- I begin by taking. I shall find scholars later to demonstrate my

Re: [CentOS] disk cloning ?

2013-11-11 Thread Mauricio Tavares
On Mon, Nov 11, 2013 at 5:59 AM, hadi motamedi motamed...@gmail.com wrote: On 11/11/13, Arun Khan knu...@gmail.com wrote: On Mon, Nov 11, 2013 at 3:14 PM, hadi motamedi motamed...@gmail.com wrote: Dear All I needed to clone my disk to another hard drive . I did it as the following : #dd

Re: [CentOS] disk cloning ?

2013-11-11 Thread Mauricio Tavares
On Mon, Nov 11, 2013 at 9:11 PM, Mauricio Tavares raubvo...@gmail.com wrote: On Mon, Nov 11, 2013 at 5:59 AM, hadi motamedi motamed...@gmail.com wrote: On 11/11/13, Arun Khan knu...@gmail.com wrote: On Mon, Nov 11, 2013 at 3:14 PM, hadi motamedi motamed...@gmail.com wrote: Dear All I needed