* dd troubles
@ 2000-03-19 5:00 Xavier GALLEZ
2000-03-19 5:00 ` Tony Hammitt
0 siblings, 1 reply; 3+ messages in thread
From: Xavier GALLEZ @ 2000-03-19 5:00 UTC (permalink / raw)
Hi there,
I am experiencing problems with dd, when trying to dump Seagate Medalist
hard drives. The goal here is to make a few hard drives identical to a first
one. I could successfully perform two dumps, after which I get:
root> dd if=/dev/hda of=/dev/hdc bs=128M
15+1 records in
15+1 records out
root> fsck /dev/hdc2
The filesystem size (according to the superblock) is 197064 blocks. The
physical size of the device is 66024 blocks. Either the superblock or the
partition table is likely to be corrupt !
Abort<y>? yes
Interestingly, 66024 is number of blocks of /dev/hdc2 prior to performing
the disk dump. So, it looks like dd has forgot to update some critical data
on the new disk (like the partition table ?). Both hard drives are Seagate
Medalist 2132 (ST32132A).
How can I solve this problem ?
Xavier
--
=============================================================
Xavier Gallez
http://www.meca.ucl.ac.be/~gallez
Centre for Systems Engineering and Applied Mechanics (CESAME)
Universite Catholique de Louvain
Batiment Euler, Av. Georges Lemaitre, 4-6
B-1348 Louvain-la-Neuve, BELGIUM
Tel: + 32 - 10 - 47 2365
Fax: + 32 - 10 - 47 2180
E-mail: gallez@mema.ucl.ac.be
=============================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dd troubles
2000-03-19 5:00 dd troubles Xavier GALLEZ
@ 2000-03-19 5:00 ` Tony Hammitt
2000-03-21 5:00 ` Xavier GALLEZ
0 siblings, 1 reply; 3+ messages in thread
From: Tony Hammitt @ 2000-03-19 5:00 UTC (permalink / raw)
I don't think dd can update the partition table. Perhaps you should
manually update the table with fdisk, then do the dd again.
I'd tend to trust fsck that about the physical size of the drive.
More helpful information would be obtained by running 'fdisk -l'
perhaps you could post its output?
If I were doing this, I'd manually set the partition table up and
dd the partition itself, not the whole drive.
Just my $0.02,
Tony Hammitt
Xavier GALLEZ wrote:
>
> Hi there,
>
> I am experiencing problems with dd, when trying to dump Seagate Medalist
> hard drives. The goal here is to make a few hard drives identical to a first
> one. I could successfully perform two dumps, after which I get:
>
> root> dd if=/dev/hda of=/dev/hdc bs=128M
> 15+1 records in
> 15+1 records out
> root> fsck /dev/hdc2
> The filesystem size (according to the superblock) is 197064 blocks. The
> physical size of the device is 66024 blocks. Either the superblock or the
> partition table is likely to be corrupt !
> Abort<y>? yes
>
> Interestingly, 66024 is number of blocks of /dev/hdc2 prior to performing
> the disk dump. So, it looks like dd has forgot to update some critical data
> on the new disk (like the partition table ?). Both hard drives are Seagate
> Medalist 2132 (ST32132A).
>
> How can I solve this problem ?
>
> Xavier
>
> --
> =============================================================
> Xavier Gallez
> http://www.meca.ucl.ac.be/~gallez
>
> Centre for Systems Engineering and Applied Mechanics (CESAME)
> Universite Catholique de Louvain
> Batiment Euler, Av. Georges Lemaitre, 4-6
> B-1348 Louvain-la-Neuve, BELGIUM
>
> Tel: + 32 - 10 - 47 2365
> Fax: + 32 - 10 - 47 2180
> E-mail: gallez@mema.ucl.ac.be
> =============================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dd troubles
2000-03-19 5:00 ` Tony Hammitt
@ 2000-03-21 5:00 ` Xavier GALLEZ
0 siblings, 0 replies; 3+ messages in thread
From: Xavier GALLEZ @ 2000-03-21 5:00 UTC (permalink / raw)
fdisk -l reported that both hard drives have the same geometry. I simply
solved my problem by rebooting the system after the disk dump (sync was not
enough). I could then access the newly created HD without any problem. So,
it is possible to dump a whole HD at once (no matter how it is
partitionned).
Anyway, many thanks for your help, Tony
Tony Hammitt <thammitt@kc.rr.com> wrote in message
news:38D50D37.C71C03E1@kc.rr.com...
| I don't think dd can update the partition table. Perhaps you should
| manually update the table with fdisk, then do the dd again.
|
| I'd tend to trust fsck that about the physical size of the drive.
|
| More helpful information would be obtained by running 'fdisk -l'
| perhaps you could post its output?
|
| If I were doing this, I'd manually set the partition table up and
| dd the partition itself, not the whole drive.
|
| Just my $0.02,
|
| Tony Hammitt
|
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-03-21 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-19 5:00 dd troubles Xavier GALLEZ
2000-03-19 5:00 ` Tony Hammitt
2000-03-21 5:00 ` Xavier GALLEZ
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox