Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Tony Hammitt <thammitt@kc.rr.com>
Subject: Re: dd troubles
Date: 2000/03/19	[thread overview]
Message-ID: <38D50D37.C71C03E1@kc.rr.com> (raw)
In-Reply-To: 8b2v37$60q$1@ail.sri.ucl.ac.be

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
> =============================================================



  reply	other threads:[~2000-03-19  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-19  5:00 dd troubles Xavier GALLEZ
2000-03-19  5:00 ` Tony Hammitt [this message]
2000-03-21  5:00   ` Xavier GALLEZ
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox