| To: | Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: mkfs.xfs cannot make sector size 64 KiB? |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Sun, 29 Apr 2007 12:22:37 -0500 |
| Cc: | xfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| In-reply-to: | <Pine.LNX.4.64.0704291225070.10607@p34.internal.lan> |
| References: | <Pine.LNX.4.64.0704291218190.10418@p34.internal.lan> <Pine.LNX.4.64.0704291225070.10607@p34.internal.lan> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 1.5.0.10 (Macintosh/20070221) |
Justin Piszcz wrote:
Adding LKML to cc list.
I am running x86_64. then you are limited to blocks (and therefore sectors) <= page size, so <= 4096. You can -mkfs- something bigger, but you won't be able to mount it. $ uname -m x86_64 This is mkfs.xfs trying to be smart about making larger "sectors" (== blocksize) on an md device, so that it does not switch the size of the IO requests between data & metadata, slowing things down significantly. however, -s Sector size options. This option specifies the fundamental sector size of the filesystem. The valid suboptions are: log=value and size=value; only one can be supplied. The sector size is specified either as a base two logarithm value with log=, or in bytes with size=. The default value 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 filesys- tem block size. looks like a buglet where it is trying to make a block == sector == 64k, but sectors are limited to 32. But this is not what you want anyway, assuming you want to actually *mount* your new filesystem on x86_64. Just make take default blocksize (4k) and be happy. Usage: mkfs.xfs
-Eric Justin. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: mkfs.xfs cannot make sector size 64 KiB?, Justin Piszcz |
|---|---|
| Next by Date: | Re: mkfs.xfs cannot make sector size 64 KiB?, David Chinner |
| Previous by Thread: | Re: mkfs.xfs cannot make sector size 64 KiB?, Justin Piszcz |
| Next by Thread: | Re: mkfs.xfs cannot make sector size 64 KiB?, David Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |