From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q2199IpY095742 for ; Thu, 1 Mar 2012 03:09:18 -0600 Received: from busoni.debian.org (busoni.debian.org [140.211.15.34]) by cuda.sgi.com with ESMTP id q0TMtHGHa1QFwlu5 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 01 Mar 2012 01:09:17 -0800 (PST) Subject: Bug#661580: mkfs.xfs fails to detect correct sector size Resent-To: debian-bugs-dist@lists.debian.org Resent-Message-ID: From: Goswin von Brederlow References: <20120301081409.3103.43155.reportbug@frosties.localnet> <20120301083345.GA24409@infradead.org> Date: Thu, 01 Mar 2012 10:07:55 +0100 In-Reply-To: <20120301083345.GA24409@infradead.org> (Christoph Hellwig's message of "Thu, 1 Mar 2012 03:33:45 -0500") Message-ID: <87r4xcy9hw.fsf@frosties.localnet> MIME-Version: 1.0 Reply-To: Goswin von Brederlow , 661580@bugs.debian.org List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Christoph Hellwig Cc: 661580@bugs.debian.org, Goswin von Brederlow Christoph Hellwig writes: > On Thu, Mar 01, 2012 at 09:14:09AM +0100, Goswin von Brederlow wrote: >> And I can confirm that the sector size detection is still broken in >> 3.1.7. > > That's a known bug that Carlos wanted to look into. If you really can't > accept smaller I/O without major pain make sure to use a larger logical > blocksize, which should be handled fine by everything. Tried that too. Setting a locigal block size of 4096 makes all access aligned to 4096 byte and makes mkfs.xfs detect a sector size of 4096 too. But that breaks partitioning support for example. Linux simply won't read the partition table on /dev/nbd0 anymore. Not sure why. Plus that doesn't solve the problem for real harddisks. MfG Goswin _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs