From owner-freebsd-geom@FreeBSD.ORG Wed Jan 10 08:58:52 2007 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F11016A47C for ; Wed, 10 Jan 2007 08:58:52 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30312.mail.mud.yahoo.com (web30312.mail.mud.yahoo.com [209.191.69.74]) by mx1.freebsd.org (Postfix) with SMTP id BF32113C458 for ; Wed, 10 Jan 2007 08:58:51 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 90823 invoked by uid 60001); 10 Jan 2007 08:58:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=d35stNRehJ16u46grE5kDBvLgOnhk2KhaJ5VVUzrxCtf2gh95+NLFGQPBZkbcaWSENe3DxarrBvcq4Iatdl2ML3CCM3kO2QV7uFWT/4mlBb6Zw/XMelsVGes+tOgVL0NkZ7lS0B7OJgp/bZbkY0/O8XVPklAesS/7e9EQgE/ouc=; X-YMail-OSG: i9VPCQEVM1lw3oZJK0rBSsEAiE0Lo9aoczoureVtMYpXKCF.ESD4M6KMkD4H1PleRg-- Received: from [85.212.20.209] by web30312.mail.mud.yahoo.com via HTTP; Wed, 10 Jan 2007 00:58:51 PST Date: Wed, 10 Jan 2007 00:58:51 -0800 (PST) From: "R. B. Riddick" To: vd@FreeBSD.org In-Reply-To: <20070110070817.GA33206@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <67643.90686.qm@web30312.mail.mud.yahoo.com> Cc: freebsd-geom@FreeBSD.org Subject: Re: graid3 device gives "Invalid argument" when requested to read>=128kb X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2007 08:58:52 -0000 --- Vasil Dimov wrote: > On Sat, Dec 30, 2006 at 04:39:39AM -0800, R. B. Riddick wrote: > > neo# gnop create -S 16384 md0 > > neo# dd if=/dev/md0.nop of=/dev/null > > dd: /dev/md0.nop: Invalid argument > > 0+0 records in > > 0+0 records out > > 0 bytes transferred in 0.000155 secs (0 bytes/sec) > > This is because default dd's read block size is 512b > Yup... Its the default... > > Just UFS seems to have a problem: > > > > neo# newfs /dev/md0.nop > > /dev/md0.nop: 16.0MB (32768 sectors) block size 16384, fragment size 16384 > > using 4 cylinder groups of 4.02MB, 257 blks, 128 inodes. > > newfs: can't read old UFS1 superblock: read error from block device: > > Invalid argument > > Look at newfs's -S switch, this is the same issue as with dd above. > I tried, but no success... newfs should be able to find out the sector size... But -S does not help, too... Tried it urself? -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com