Re: [CentOS] disk cloning ?
On Mon, Nov 11, 2013 at 9:11 PM, Mauricio Tavares wrote: > On Mon, Nov 11, 2013 at 5:59 AM, hadi motamedi wrote: >> On 11/11/13, Arun Khan wrote: >>> On Mon, Nov 11, 2013 at 3:14 PM, hadi motamedi >>> 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 /dev/sdc >= /dev/sdb? >>> >>> Also, input/output error is an indication of a hardware problem (disk >>> controller on the board, cable, or the disk). >>> Can you please let me know how can I overcome this as the fdisk now returns as " #fdisk /dev/sdc "I do not know how to handle files with mode 81a4 must set cylinders" >>> >>> What does 'parted --list' display? >>> What can I do at know ? >>> >>> Post the answers for above. >>> >>> -- Arun Khan >>> ___ >>> CentOS mailing list >>> CentOS@centos.org >>> http://lists.centos.org/mailman/listinfo/centos >>> >> >> 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. > > Where is /dev/sdc? > And, isn't /dev/md0 usually a raid? >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
On Mon, Nov 11, 2013 at 5:59 AM, hadi motamedi wrote: > On 11/11/13, Arun Khan wrote: >> On Mon, Nov 11, 2013 at 3:14 PM, hadi motamedi >> 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 /dev/sdc >= /dev/sdb? >> >> Also, input/output error is an indication of a hardware problem (disk >> controller on the board, cable, or the disk). >> >>> Can you please let me know how can I overcome this as the fdisk now >>> returns as " >>> #fdisk /dev/sdc >>> "I do not know how to handle files with mode 81a4 >>> must set cylinders" >> >> What does 'parted --list' display? >> >>> What can I do at know ? >> >> Post the answers for above. >> >> -- Arun Khan >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > > 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. Where is /dev/sdc? > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
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 perfect right. -- Euripides (c 480 BC - 406 BC), Greek playwright, Suppliants pgpXKJG4SYHhg.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
On Mon, Nov 11, 2013 at 4:29 PM, hadi motamedi 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 devices listed above do *not* match with your original post. #dd if=/dev/sdb of=/dev/sdc Also do *not* cross post the same query to multiple mailing lists. -- Arun Khan Sent from my non-iphone/non-android device ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
>>> 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 CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
>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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
> 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
>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 disk connected to usb port. Is it still necessary to use gparted with live cd or there is another simple procedure for this scenario? In the meantime, If I want to format the target hard disk with the same geometry as the source hard disk what can I do to accomplish that ? Thank you ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
>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 ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
> > 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
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 ?
ok . I will obey the rule. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
On 11/11/13, Reindl Harald wrote: > > > Am 11.11.2013 11:52, schrieb hadi motamedi: >> On 11/11/13, Vishesh kumar 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 error : >> "no space left on device" >> What can I do next? > > buy a bigger target drive? > > > Sorry . Both are 40GB . Is it sufficient ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
On 11/11/13, Vishesh kumar wrote: > Make spaces in your /dev/sdc device. > > > On Mon, Nov 11, 2013 at 4:22 PM, hadi motamedi > wrote: > >> On 11/11/13, Vishesh kumar 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 >> > 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. >> >> Can you please let me know how can I overcome this as the fdisk now >> >> returns as " >> >> #fdisk /dev/sdc >> >> "I do not know how to handle files with mode 81a4 >> >> must set cylinders" >> >> What can I do at know ? >> >> Thank you >> >> ___ >> >> CentOS mailing list >> >> CentOS@centos.org >> >> http://lists.centos.org/mailman/listinfo/centos >> >> >> > >> > >> > >> > -- >> > http://linuxmantra.com >> > ___ >> > CentOS mailing list >> > CentOS@centos.org >> > http://lists.centos.org/mailman/listinfo/centos >> > >> Sorry. It quit with the following error : >> "no space left on device" >> What can I do next? >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > > > > -- > http://linuxmantra.com > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > Sorry. How to make spaces ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
On 11/11/13, Arun Khan wrote: > On Mon, Nov 11, 2013 at 3:14 PM, hadi motamedi > 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 /dev/sdc >= /dev/sdb? > > Also, input/output error is an indication of a hardware problem (disk > controller on the board, cable, or the disk). > >> Can you please let me know how can I overcome this as the fdisk now >> returns as " >> #fdisk /dev/sdc >> "I do not know how to handle files with mode 81a4 >> must set cylinders" > > What does 'parted --list' display? > >> What can I do at know ? > > Post the answers for above. > > -- Arun Khan > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > 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. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
Make spaces in your /dev/sdc device. On Mon, Nov 11, 2013 at 4:22 PM, hadi motamedi wrote: > On 11/11/13, Vishesh kumar 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 > > 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. > >> Can you please let me know how can I overcome this as the fdisk now > >> returns as " > >> #fdisk /dev/sdc > >> "I do not know how to handle files with mode 81a4 > >> must set cylinders" > >> What can I do at know ? > >> Thank you > >> ___ > >> CentOS mailing list > >> CentOS@centos.org > >> http://lists.centos.org/mailman/listinfo/centos > >> > > > > > > > > -- > > http://linuxmantra.com > > ___ > > CentOS mailing list > > CentOS@centos.org > > http://lists.centos.org/mailman/listinfo/centos > > > Sorry. It quit with the following error : > "no space left on device" > What can I do next? > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- http://linuxmantra.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
On 11/11/13, Vishesh kumar 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 > 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. >> Can you please let me know how can I overcome this as the fdisk now >> returns as " >> #fdisk /dev/sdc >> "I do not know how to handle files with mode 81a4 >> must set cylinders" >> What can I do at know ? >> Thank you >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > > > > -- > http://linuxmantra.com > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > Sorry. It quit with the following error : "no space left on device" What can I do next? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
On Mon, Nov 11, 2013 at 3:14 PM, hadi motamedi 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 /dev/sdc >= /dev/sdb? Also, input/output error is an indication of a hardware problem (disk controller on the board, cable, or the disk). > Can you please let me know how can I overcome this as the fdisk now returns > as " > #fdisk /dev/sdc > "I do not know how to handle files with mode 81a4 > must set cylinders" What does 'parted --list' display? > What can I do at know ? Post the answers for above. -- Arun Khan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
On 11/11/13, Vishesh kumar 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 > 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. >> Can you please let me know how can I overcome this as the fdisk now >> returns as " >> #fdisk /dev/sdc >> "I do not know how to handle files with mode 81a4 >> must set cylinders" >> What can I do at know ? >> Thank you >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > > > > -- > http://linuxmantra.com > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > Thank you very much for your help. I am now trying again with your new proposed command. Please let me to post again if new problem encountered. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] disk cloning ?
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 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. > Can you please let me know how can I overcome this as the fdisk now > returns as " > #fdisk /dev/sdc > "I do not know how to handle files with mode 81a4 > must set cylinders" > What can I do at know ? > Thank you > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- http://linuxmantra.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos