From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IuQ0h-00081D-7r for garchives@archives.gentoo.org; Tue, 20 Nov 2007 10:07:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lAKA5JxG028239; Tue, 20 Nov 2007 10:05:19 GMT Received: from s200aog16.obsmtp.com (s200aog16.obsmtp.com [207.126.144.130]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lAKA5Isj028229 for ; Tue, 20 Nov 2007 10:05:19 GMT Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob016.postini.com ([207.126.147.11]) with SMTP; Tue, 20 Nov 2007 10:05:18 UTC Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 53ED4DAC4 for ; Tue, 20 Nov 2007 10:05:18 +0000 (GMT) Received: from mail1.agr.st.com (mail1.agr.st.com [164.130.4.71]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7A16E4BEE3 for ; Tue, 20 Nov 2007 10:05:17 +0000 (GMT) Received: from [164.130.17.81] (ws2912.agr.st.com [164.130.17.81]) by mail1.agr.st.com (MOS 3.7.5a-GA) with ESMTP id COG68139 (AUTH "raffaele belardi"); Tue, 20 Nov 2007 11:04:59 +0100 (CET) Message-ID: <4742B1BA.4060802@st.com> Date: Tue, 20 Nov 2007 11:06:50 +0100 From: Raffaele BELARDI User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.9) Gecko/20071113 SeaMonkey/1.1.6 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Re: not amd64 specific - disk failure References: <47415FCD.300@st.com> <47418F30.6050607@st.com> <47429114.5030102@st.com> In-Reply-To: X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 607ebcbe-8067-45f9-bc82-68ec937f42e1 X-Archives-Hash: 7bf6aa69f05d13dd6eaa2924a78a767e 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