On Saturday, July 6, 2019 12:44:46 A.M. AEST Robin Atwood wrote: > On Fri, 05 Jul 2019 15:34:18 +0100 > > Mick <michaelkintz...@gmail.com> wrote: > > On Friday, 5 July 2019 15:30:06 BST Robin Atwood wrote: > > > Thanks Vladimir, that sounds promising. Can you recommend any GPT > > > programs (this is new to me)? However the dd utility failed when I > > > tried to copy my old HD to the new one. > > > > > > # dd if=/dev/sda of=/dev/sdb bs=64K conv=noerror,sync > > > dd: error writing '/dev/sdb': No space left on device > > > 160+0 records in > > > 159+0 records out > > > 10481664 bytes (10 MB, 10 MiB) copied, 0.132944 s, 78.8 MB/s > > > > > > Cheers > > > Robin > > > > You can use gptfdisk, parted/gparted, etc. > > > > To check the size as well as additional information you can use > > smartmontools and run: > > > > smartctl -i /dev/sda > > > > It may also be worth checking if later firmware is available to > > address any issues with it, like reporting the wrong size with some > > tools. > > > > However, the dd command failure sounds suspicious - as I understand > > it dd should not fail unless the disk has run out of space. > > OK panic over! I had shelled into the wrong system! The mystery is what > I was trying to copy to, the machine only has one HD.
It would probably just have created a normal file called /dev/sdb which would have grown till it filled the empty space on the partition. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro