From owner-freebsd-fs@FreeBSD.ORG Tue Nov 9 13:29:16 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16E84106566C for ; Tue, 9 Nov 2010 13:29:16 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id C2CBA8FC15 for ; Tue, 9 Nov 2010 13:29:15 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PFoFm-0007jp-CW for freebsd-fs@freebsd.org; Tue, 09 Nov 2010 14:28:50 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Nov 2010 14:28:50 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Nov 2010 14:28:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Tue, 09 Nov 2010 14:28:10 +0100 Lines: 18 Message-ID: References: <20101109065842.R2343@besplex.bde.org> <201011091313.oA9DDUoc077095@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101102 Thunderbird/3.1.6 In-Reply-To: <201011091313.oA9DDUoc077095@lurza.secnetix.de> X-Enigmail-Version: 1.1.2 Subject: Re: problem mounting from flash [Invalid sectorsize] [g_vfs_done() ?error=22] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 13:29:16 -0000 On 11/09/10 14:13, Oliver Fromme wrote: > I don't know what sector sizes are supported today, but > I wouldn't be surprised if only 512 to 2048 works out > of the box. I'm not aware of any widely used media > that has sectors smaller than 512 or larger than 2048. > (Those new 4k drives translate accesses to/from 512 byte > sectors, so it looks like a 512-byte sector drive.) Can't say much about the Olden Times, but now it's trivial to show that UFS, in fact, works ok with various sector sizes using gnop. I've tested it with at least 4 KiB sectors recently, and I think I remember trying (successfully) 8 KiB sectors a few years ago in a project, also successfully. What might or might not work well, I think, is having fragment/block ratio other then "8".