From: Paul Colquhoun <paulcol@andor.dropbear.id.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Fdisk reports new HD as 10MiB
Date: Sat, 06 Jul 2019 11:14:38 +1000 [thread overview]
Message-ID: <3013217.1lb7H29u0p@bluering> (raw)
In-Reply-To: <20190705214418.7cabedb2@binro.org>
On Saturday, July 6, 2019 12:44:46 A.M. AEST Robin Atwood wrote:
> On Fri, 05 Jul 2019 15:34:18 +0100
>
> Mick <michaelkintzios@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
next prev parent reply other threads:[~2019-07-06 1:14 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-05 14:12 [gentoo-user] Fdisk reports new HD as 10MiB Robin Atwood
2019-07-05 14:14 ` Vladimir Romanov
2019-07-05 14:30 ` Robin Atwood
2019-07-05 14:31 ` Vladimir Romanov
2019-07-05 14:36 ` Robin Atwood
2019-07-05 14:40 ` Vladimir Romanov
2019-07-05 15:42 ` Grant Taylor
2019-07-05 14:34 ` Mick
2019-07-05 14:44 ` Robin Atwood
2019-07-05 14:47 ` Mick
2019-07-05 15:33 ` Robin Atwood
2019-07-05 23:11 ` Adam Carter
2019-07-06 14:30 ` Robin Atwood
2019-07-06 14:56 ` Dale
2019-07-06 22:19 ` Wol's lists
2019-07-07 1:12 ` Dale
2019-07-07 12:19 ` Wols Lists
2019-07-07 12:38 ` Dale
2019-07-09 1:34 ` Adam Carter
2019-07-09 21:45 ` Wols Lists
2019-07-06 1:14 ` Paul Colquhoun [this message]
2019-07-06 14:28 ` Robin Atwood
2019-07-06 22:23 ` Wol's lists
2019-07-07 1:15 ` Dale
2019-07-09 22:06 ` Mike Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3013217.1lb7H29u0p@bluering \
--to=paulcol@andor.dropbear.id.au \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox