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 n2CFH5ve084951 for ; Thu, 12 Mar 2009 10:17:25 -0500 Received: from mx2.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 9F4491C396B0 for ; Thu, 12 Mar 2009 08:16:42 -0700 (PDT) Received: from mx2.redhat.com (mx2.redhat.com [66.187.237.31]) by cuda.sgi.com with ESMTP id 2emaVGH7OqxUrXE5 for ; Thu, 12 Mar 2009 08:16:42 -0700 (PDT) Message-ID: <49B92449.90805@sandeen.net> Date: Thu, 12 Mar 2009 10:03:37 -0500 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: LWN article: 4K disk sectors References: <200903121258.51497@zmi.at> <49B909CC.7080402@sandeen.net> <200903121452.16419@zmi.at> (sfid-20090312_151032_516649_56909F94) <200903121517.48426.Martin@lichtvoll.de> In-Reply-To: <200903121517.48426.Martin@lichtvoll.de> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Martin Steigerwald Cc: xfs@oss.sgi.com Martin Steigerwald wrote: > Am Donnerstag 12 M=E4rz 2009 schrieb Michael Monnerie: >> On Donnerstag 12 M=E4rz 2009 Eric Sandeen wrote: >>> Take a look at the mkfs.xfs man page: >>> >>> -s sector_size >>> This option specifies the fundamental sector size of >>> the filesystem. The sector_size is specified either as >>> a value in bytes with size=3Dvalue or as a base two loga- >>> rithm value with log=3Dvalue. The default sector_size is >>> 512 bytes. The minimum value for sector size is 512; >>> the maximum is 32768 (32 KiB). The sector_size must be >>> a power of 2 size and cannot be made larger than the >>> filesystem block size. >> Ugh, I felt so good this morning, until you responded ... ;-) >> >> I thought that it's a limitation of the Linux kernel in more parts than >> just the filesystem (like block cache), that sector sizes must be 512B. >> If I had a 4K drive, would that be usable with XFS already? > = > I have an USB stick with 2KB hardware sector size. It worked nicely when = > using fdisk instead of cfdisk which only supports 512 byte sectors. Dunno = > remember exactly which filesystems I tried back then. really? what kind of usb stick? I've never seen such a thing. -Eric _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs