Run fsck.ext2 on your drive. Make sure it is read only or not mounted of course because fsck will give you an error. Your drive keeps inodes of how big it is and what is where etc. The very same thing can happen with dos so you would run scandisk and it would report that the drive is reporting the wrong amount of free space. Fsck should do same. Bryce C. Network Administrator / Scripting Consultant CoBryce Communications Bryce@BryceCo.Net http://www.BryceCo.Net -----Original Message----- From: plug-discuss-admin@lists.plug.phoenix.az.us [mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of Gene Holmerud Sent: Saturday, March 23, 2002 11:02 PM To: plug-discuss@lists.plug.phoenix.az.us Subject: Re: Urgent: Copy hda to hdb with dd? Thanks Hans. I've been following this since I'm doing something similar, but having different problems. I used DriveWorks to partition the new drive and Ghostpe to copy (but partimage looks good from freshmeat). Unfortunately, my Mandrake 8.1 kernel doesn't try to use the expanded "/" area. "df" says: Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda2 2008140 1846164 59964 97% / but the partition is about 8Gig. The whole idea of a new drive! > > Use sfdisk to list the partitions on the master and then write those same > partitions to the clone. sfdisk gave me the following part. table info: Disk /dev/hda: 4865 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/hda1 0+ 1083 1084- 8707198+ 1c Hidden Win95 FAT32 (LBA) end: (c,h,s) expected (1023,254,63) found (1022,254,63) /dev/hda2 * 1084 2103 1020 8193150 83 Linux start: (c,h,s) expected (1023,254,63) found (1022,0,1) end: (c,h,s) expected (1023,254,63) found (1022,254,63) /dev/hda3 2104 2485 382 3068415 92 Unknown start: (c,h,s) expected (1023,254,63) found (1022,0,1) end: (c,h,s) expected (1023,254,63) found (1022,254,63) /dev/hda4 2486 4270 1785 14338012+ 1c Hidden Win95 FAT32 (LBA) start: (c,h,s) expected (1023,254,63) found (1022,0,1) end: (c,h,s) expected (1023,254,63) found (1022,254,63) Several red flags, I'd say! I fixed the partition type for hda3 (now 82). Mandrake didn't seem to mind. However, although the cylinder numbers appear OK for each partition, the expected and found start and end values are totally off (they repeat for all the parttitions!). Will sfdisk (or some other routine) clean these up? By imaging one part. at a time, deleting & restoring? Or do I need buy another new drive and construct it cleanly? > > If they don't have to be 'exactly' the same, but have the same content, > then, part with sfdisk and then use tar or cpio to copy stuff. tar with > '--atime-preserve' on the expand will keep time/date stamps on directories > as well as files. > Altho Alan is making multiple copies, I use a 2nd drive as a backup that is only powered up to copy to. > Also search freshmeat. There are several utils that others have written for > ghosting/copying drives. Handy site to use. Thanks. Gene ________________________________________________ See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail. PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss