From: Raffaele BELARDI <raffaele.belardi@st.com>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Re: not amd64 specific - disk failure
Date: Tue, 20 Nov 2007 11:06:50 +0100 [thread overview]
Message-ID: <4742B1BA.4060802@st.com> (raw)
In-Reply-To: <d257c3560711200101k5848c05al5927d2749aabfaca@mail.gmail.com>
Beso wrote:
>
> to get an aligned image. Problem is I don't know what bs= should be.
> Block size, so 4k?
>
>
> this should tell you what the block size is:
> df /dev/sdc
>
Beso,
the block size in the filesystem is 4k, this I know having formatted a
second HD with same sized partition as failed HD.
I don't know how much data I should tell dd to skip (and NULL=fill) in
case of read error. From the dd output I only know there is a read error
and only 32kbyte were transferred, but I have no idea how big was the
block of data dd was trying to access.
But probably, as Duncan suggests, this is not important. dd will try to
access a block size as specified on the command line, and if error
occurs it will zero-fill and jump to next block of data, but this size
it totally unrelated with the _filesystem_ block size.
raffaele
--
gentoo-amd64@gentoo.org mailing list
next prev parent reply other threads:[~2007-11-20 10:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-19 10:05 [gentoo-amd64] not amd64 specific - disk failure Raffaele BELARDI
2007-11-19 11:52 ` Beso
2007-11-19 13:27 ` Raffaele BELARDI
2007-11-19 13:56 ` Beso
2007-11-19 17:14 ` [gentoo-amd64] " Duncan
2007-11-20 7:47 ` Raffaele BELARDI
2007-11-20 9:01 ` Beso
2007-11-20 10:06 ` Raffaele BELARDI [this message]
2007-11-20 9:41 ` Duncan
2007-11-20 10:25 ` Raffaele BELARDI
2007-11-21 9:24 ` Raffaele BELARDI
2007-11-21 10:20 ` Raffaele BELARDI
2007-11-22 9:36 ` [gentoo-amd64] Re: not amd64 specific - disk failure - SUCCESS Raffaele BELARDI
2007-11-23 10:07 ` Duncan
2007-11-21 14:45 ` [gentoo-amd64] Re: not amd64 specific - disk failure Billy Holmes
2007-11-21 15:24 ` Raffaele BELARDI
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=4742B1BA.4060802@st.com \
--to=raffaele.belardi@st.com \
--cc=gentoo-amd64@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