From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,e5447741c6975007 X-Google-Attributes: gid111c93,public From: Tony Hammitt Subject: Re: dd troubles Date: 2000/03/19 Message-ID: <38D50D37.C71C03E1@kc.rr.com>#1/1 X-Deja-AN: 599581390 Content-Transfer-Encoding: 7bit References: <8b2v37$60q$1@ail.sri.ucl.ac.be> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@rr.com X-Trace: typhoon2.kc.rr.com 953486650 24.94.177.44 (Sun, 19 Mar 2000 11:24:10 CST) MIME-Version: 1.0 Reply-To: thammitt@kc.rr.com NNTP-Posting-Date: Sun, 19 Mar 2000 11:24:10 CST Newsgroups: comp.os.linux.alpha 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? 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 > =============================================================