vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm trying to clone a bootable 36 GB disk to another identical 36 GB in single user mode. # touch /reconfigure # sync # sync # dd if=/dev/rdsk/c1t0d0s2 of=/dev/rdsk/c2t5d0s2 and after 9 hours the dd command has still not finished, and from what I gather (not being by the machine), there is not much sign of any disk activity. The disk are not antique models, so I am surprised that after 9 hours this has not copied. It that to be expected? I know it copies all the disk (even where there's no data), but am concerned it is just not going to work. |
| |||
| On Tue, 01 Nov 2005 12:35:54 +0000 Dave <nospam@nowhere.com> wrote: > I'm trying to clone a bootable 36 GB disk to another identical 36 GB > in > single user mode. > > > # touch /reconfigure > # sync > # sync > # dd if=/dev/rdsk/c1t0d0s2 of=/dev/rdsk/c2t5d0s2 > > and after 9 hours the dd command has still not finished, and from > what I > gather (not being by the machine), there is not much sign of any disk > activity. The disk are not antique models, so I am surprised that > after > 9 hours this has not copied. It that to be expected? I know it copies > all the disk (even where there's no data), but am concerned it is > just > not going to work. > > Yes, very excessiv. 36 gig should not take more then half to an hour. -- Barbie - Prayers are like junkmail for Jesus I have seen things you lusers would not believe. I've seen Sun monitors on fire off the side of the multimedia lab. I've seen NTU lights glitter in the dark near the Mail Gate. All these things will be lost in time, like the root partition last week. Time to die. |
| |||
| Barbie LeVile wrote: > On Tue, 01 Nov 2005 12:35:54 +0000 > Dave <nospam@nowhere.com> wrote: > > >>I'm trying to clone a bootable 36 GB disk to another identical 36 GB >>in >>single user mode. >> >> >># touch /reconfigure >># sync >># sync >># dd if=/dev/rdsk/c1t0d0s2 of=/dev/rdsk/c2t5d0s2 >> >>and after 9 hours the dd command has still not finished, and from >>what I >>gather (not being by the machine), there is not much sign of any disk >>activity. The disk are not antique models, so I am surprised that >>after >>9 hours this has not copied. It that to be expected? I know it copies >>all the disk (even where there's no data), but am concerned it is >>just >>not going to work. >> >> > > > Yes, very excessiv. > 36 gig should not take more then half to an hour. > > > Thanks, I thought as much. Do the commands look OK? I realise you don't know the exact controllers/scsi ID's of course. |
| |||
| Dave wrote: > > I'm trying to clone a bootable 36 GB disk to another identical 36 GB in > single user mode. > > # touch /reconfigure > # sync > # sync > # dd if=/dev/rdsk/c1t0d0s2 of=/dev/rdsk/c2t5d0s2 > > and after 9 hours the dd command has still not finished, and from what I > gather (not being by the machine), there is not much sign of any disk > activity. The disk are not antique models, so I am surprised that after > 9 hours this has not copied. It that to be expected? I know it copies > all the disk (even where there's no data), but am concerned it is just > not going to work. The default is for dd to copy 512 bytes at a time (I think), in a "read 512 / write 512" loop, and that makes things *VERY* slow! To speed things up a *LOT* you need to add "bs=1024k" or some such so that it copies one Mbyte at a time. But it'll probably still take a couple of hours, assuming a resync on a mirrored 36G disk is anything to go by. John Howells |
| |||
| Dave <nospam@nowhere.com> writes: > ># touch /reconfigure ># sync ># sync ># dd if=/dev/rdsk/c1t0d0s2 of=/dev/rdsk/c2t5d0s2 > Add the bs parameter to set the block size to a megabyte: dd if=/dev/rdsk/c1t0d0s2 of=/dev/rdsk/c2t5d0s2 bs=1024k 72GB disks took me about 40-45 minutes on the internal disks in a V440. Your speed will depend on the SCSI bus and the devices. -Greg -- Do NOT reply via e-mail. Reply in the newsgroup. |
| ||||
| Greg Andrews wrote: > Dave <nospam@nowhere.com> writes: > >># touch /reconfigure >># sync >># sync >># dd if=/dev/rdsk/c1t0d0s2 of=/dev/rdsk/c2t5d0s2 >> > > > Add the bs parameter to set the block size to a megabyte: > > dd if=/dev/rdsk/c1t0d0s2 of=/dev/rdsk/c2t5d0s2 bs=1024k > > > 72GB disks took me about 40-45 minutes on the internal disks > in a V440. Your speed will depend on the SCSI bus and the > devices. > > -Greg Thanks a lot. This is a V120. An hour or three I don't mind, but after 9 hours I thought something was wrong. It is still running, as I'm not in a position to stop it, but it has not finished when my friend gets in from work, he will restart it. |
| Thread Tools | |
| Display Modes | |
|
|